How do I create a preferences window in Objective-C?

后端 未结 1 352
走了就别回头了
走了就别回头了 2021-01-13 00:23

I would like to create a preferences window like in the standard Mac OS X apps (Safari etc.). I have found resources like DBPrefsWindowController from back in 2008 that mat

1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-13 00:35

    It seems DBPrefsWindowController is no longer available.

    For now, i would recommend the up to date RHPreferences framework.

    Available on GitHub. BSD Licensed.

    Its a simple and easy Preferences window controller with multiple tabs for your next Mac application.

    It also provides:

    • Auto resizing between different sized tab views (With animation)
    • Custom NSToolbarItem support
    • Persistence of the last used tab
    • Support for placeholder NSToolbarItems (eg NSToolbarFlexibleSpaceItemIdentifier & NSToolbarShowFontsItemIdentifier)

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