Re: Typo in notification name

2010-01-18 Thread Graham Cox

On 18/01/2010, at 6:29 PM, Eimantas Vaičiūnas wrote:

 This typo seems to be dating since 2006 (according to this thread:
 http://www.osxentwicklerforum.de/thread.php?postid=39885). Was apple
 notified about this?


Problem is that even if they have they can't fix it without breaking binary 
compatibility. That's often the way with typos - another thing you need to take 
care over.

--Graham


___

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Typo in notification name

2010-01-18 Thread Mark Munz
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.

Mark

On Mon, Jan 18, 2010 at 1:07 AM, Graham Cox graham@bigpond.com wrote:

 On 18/01/2010, at 6:29 PM, Eimantas Vaičiūnas wrote:

 This typo seems to be dating since 2006 (according to this thread:
 http://www.osxentwicklerforum.de/thread.php?postid=39885). Was apple
 notified about this?


 Problem is that even if they have they can't fix it without breaking binary 
 compatibility. That's often the way with typos - another thing you need to 
 take care over.

 --Graham


 ___

 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:
 http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com

 This email sent to unmar...@gmail.com




-- 
Mark Munz
unmarked software
http://www.unmarked.com/
___

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Typo in notification name

2010-01-18 Thread Jim Correia
On Mon, Jan 18, 2010 at 4:20 AM, Mark Munz unmar...@gmail.com 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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Typo in notification name

2010-01-17 Thread Eimantas Vaičiūnas
Hi all!

I've been implementing a preferences for my app to be added to login
item list and wanted to observe notification for changes in loginItems
list. I used notification watcher app and noticed that apple has a
typo in notification name:
- com.apple.loginItemsListDidChnage  instead of
- com.apple.loginItemsListDidChange

This typo seems to be dating since 2006 (according to this thread:
http://www.osxentwicklerforum.de/thread.php?postid=39885). Was apple
notified about this?

-- 
Sweet bits of Cocoa programming
http://cocoakids.net/
___

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com