Re: Typo in notification name
Re: Typo in notification name
- Subject: Re: Typo in notification name
- From: Jim Correia <email@hidden>
- Date: Mon, 18 Jan 2010 10:32:52 -0500
On Mon, Jan 18, 2010 at 4:20 AM, Mark Munz <email@hidden> wrote:
> Apple usually addresses binary compatibility by changing behavior if
> you link against a newer major SDK. So a behavior changes if you link
> against 10.6 vs. 10.5. Apple has done this numerous times.
>
> With notifications, they could also send out both notifications. I'm
> thinking com.apple.loginItemsListDidChange doesn't happen often enough
> to cause a performance hit if you sent out both each time.
The other thing to consider is that if you are observing a public
notification, you should use the symbolic constant for that
notification when it is available. In that case, the underlying value
doesn't matter.
The public API for interacting with, and observing, the login items
list is LSSharedFileList.
- Jim
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden