osx - How do you create a Keynote-like interface in Cocoa and IB? -


The app I want to create is the main type of interface, in which the list of pages on the left and one page These types of interfaces on the right are quite common, but I do not know how to do them in the interface builder.

Is there a prepared component? Does Apple do not offer any afaik, or does every developer rebuild it from scratch?

I just need a general idea or tutorial, no ending code

Thank you in advance!

If you are talking about a scroll list of similar-sized thumbnails, NSCollectionView / NSCollectionViewItem's Use the. It should be very simple: the item will only display a thumbnail image based on the current state of your document editor view. In 10.6, it got some drag and drop support, if I miss the exact from WWDC09, then you can drag your pages in such a way that way.

For editor side, collection view only works if all your pages are of the same size, because it does not allow for variable-size items. If all your "pages" are the same size, however, the collection view should actually work for it as well.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -