How to create a settings window in Objective-C?

I would like to create a settings window, for example, in standard Mac OS X applications (Safari, etc.). I have found resources like DBPrefsWindowController since 2008 that corresponds to Apple HIG.

Just wondering if there is a new way to do this? I cannot find any standard windows in Interface Builder, so I assume that Apple does not provide them, and I cannot find the official sample Apple code to provide this standard user interface.

thanks

+6
objective-c cocoa macos
source share
1 answer

DBPrefsWindowController seems to be no longer available.

I currently recommend the updated RHPreferences framework.

Available on GitHub . BSD License.

This is a simple and easy multi-tabbed settings window controller for your next Mac app.

It also provides:

  • Automatic resizing between views of different sizes (with animation)
  • User support for NSToolbarItem.
  • Save last used tab
  • Support for NSToolbarItems placeholder elements (e.g. NSToolbarFlexibleSpaceItemIdentifier and NSToolbarShowFontsItemIdentifier)
+3
source share

All Articles