Applications
These functions are used for various application level tasks, such as loading and running an application, and managing the Services menu for an application.
-
NSApplicationLoad BOOLNSApplicationLoad(void)-
NSApplicationMain intNSApplicationMain(intargc,constchar*argv[ ])-
NSPerformService BOOLNSPerformService(NSString*itemName,NSPasteboard*pboard)-
NSRegisterServicesProvider voidNSRegisterServicesProvider(idprovider,NSString*name)-
NSShowsServicesMenuItem BOOLNSShowsServicesMenuItem(NSString*itemName)-
NSSetShowsServicesMenuItem intNSSetShowsServicesMenuItem(NSString*itemName,BOOLenabled)-
NSUnRegisterServicesProvider voidNSUnRegisterServicesProvider(NSString*name)-
NSUpdateDynamicServices voidNSUpdateDynamicServices(void)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access