Using undocumented classes such as NSPreferences in Mac App Store
There is an undocumented class called NSPref开发者_C百科erences
that appears to be used by Safari and Mail, and eases creation of multipage preference pages.
Has anyone had experience using NSPreferences
or similar undocumented, but useful and fun, features in an application submitted to Mac App Store?
Don't waste your time. From the Mac App Store Review Guidelines:
2.5 Apps that use non-public APIs will be rejected
Looks like Transmit and Coda might both use it by the look of their Preferences dialog. Both are available on the App store.
Alternatively, you should check the OmniGroup framework library.
https://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniAppKit/Preferences.subproj
It implements a very similar looking preferences dialog.
精彩评论