开发者

Using undocumented classes such as NSPreferences in Mac App Store

开发者 https://www.devze.com 2023-02-17 16:23 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号