How would I go about implementing a Cocoa app that can open up .pdf files and show them in my main app window?
I'm currently attempting to develop an app for Mac. This is my first attempt ever.
Here's a pic of the app in progress (i've blocked out parts of the app, i know...): http://i56.tinypic.com/28s7rqp.png
Basically, I want to have app users to be able to search a database of stored files in the app and have the selected one show up in my main window. I realize this is a big question, but any help would be most welcomed.
I'm currently attempting to develop an app for Mac. This is my first attempt ever.
Here's a pic of the app in progress (i've blocked out parts of the app, i know...): http://i56.tinypic.com/28s7rqp.png
Basically, I want to have app users to be able to search a database of stored files in the app and have the selected one show up in my main window. I realize this is a big question, but any help would be most welcomed.
Anonymous
What you’re looking for is PDFKit. This includes everything you need to display a PDF document in a window, including support for Interface Builder. This means that you can easily drop a PDFView into your user interface and hook it up just like any other Cocoa view.
The link above contains a nice overview of using the technology and how to use it from the ground up.