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

前端 未结 2 448
故里飘歌
故里飘歌 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.

    0 讨论(0)
  • 2021-01-16 01:09

    The range of applications you mentioned is so wide that it is impossible to give a direct answer.

    In general, the item you call a Library is usually an NSOutlineView (for hierarchies) or an NSTableView.

    The main panel really depends on the actions contained within, same for the utility panel.

    My suggestion is to read Apple's Human Interface Guidelines for OS X. This will give you the best overview of how to do things. Other than that, the actual implementations are too dependent on the individual program.

    0 讨论(0)
提交回复
热议问题