Is there a standard, documented, development pattern to create UI layouts similar to iTunes, iCal, iPhoto, etc?

前端 未结 2 451
故里飘歌
故里飘歌 2021-01-16 00:34

I am new to Cocoa development and I am trying to create UI layouts using what I consider to be the \"standard\" layout that is shared by apps like iTunes, iCal, iPhoto, Bill

2条回答
  •  悲哀的现实
    2021-01-16 00:52

    The hierarchical view on the left is called a Source View and you would normally create this with the NSOutlineView class.

    Have a look at Apple's SourceView sample code. It implements a source view very similar to the one in the Finder and elsewhere and should give you a big head start.

提交回复
热议问题