Creating A Template Chooser

Discussion in 'Mac Programming' started by Blakeasd, Sep 25, 2011.

  1. Blakeasd macrumors 6502a

    Dec 29, 2009
    I am trying to create a template chooser similar to the one in Pages. I need help with the view where you choose the template. I created an NSView and I set the the color to black, but I'm not sure how to continue from there. How did they create the template's icons and add it to the view and how did they add the ability to select the templates. I'm not sure where to start....I have the black view , but where do I go from there?
  2. misee macrumors member

    Jul 4, 2010
    Have you tried using NSCollectionView?

    There are preview icons in the template bundles.

    You'd have to see their code to know that. My guess is NSCollectionView - this is pretty much what it's for.

    Maybe it would be best to read some tutorials and get acquainted with the views (and other classes) Cocoa provides.

Share This Page