Using undocumented classes such as NSPreferences in Mac App Store
-
27-10-2019 - |
Question
There is an undocumented class called NSPreferences
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?
Solution
Don't waste your time. From the Mac App Store Review Guidelines:
2.5 Apps that use non-public APIs will be rejected
OTHER TIPS
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.