Adding login items - who's right? The headers or the guide?
Hello All I would like to support the new way of adding login items by adopting the Services Management framework. As I I would like to support Snow Leopard I was quite pleased when I read that SMLoginItemSetEnabled function was available on OS X 10.6.6 and later. You can check it here: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSy stemStartup/Chapters/CreatingLoginItems.html However, when I check the header documentation, it states that the very same function is available on OS X 10.7 and later. You can check it here: http://developer.apple.com/library/mac/#documentation/ServiceManagement/Refe rence/SMLoginItem_header_reference/Reference/reference.html#//apple_ref/doc/ uid/TP40012446 So, who's right? The guide or the headers? Does anyone know? I will file a bug, anyway, but it would help to know. TIA J. Varela ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Adding login items - who's right? The headers or the guide?
On Sun, Jul 29, 2012 at 6:09 PM, João Varela joaocvar...@gmail.com wrote: I would like to support the new way of adding login items by adopting the Services Management framework. As I I would like to support Snow Leopard I was quite pleased when I read that SMLoginItemSetEnabled function was available on OS X 10.6.6 and later. You can check it here: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSy stemStartup/Chapters/CreatingLoginItems.html However, when I check the header documentation, it states that the very same function is available on OS X 10.7 and later. You can check it here: http://developer.apple.com/library/mac/#documentation/ServiceManagement/Refe rence/SMLoginItem_header_reference/Reference/reference.html#//apple_ref/doc/ uid/TP40012446 So, who's right? The guide or the headers? Does anyone know? I will file a bug, anyway, but it would help to know. It's in the headers for the framework on my 10.6.8 system. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com