On 12 Sep 2013, at 18:45, Kyle Sluder <[email protected]> wrote:

>> 
>> No, just at the receiver, the sender need do nothing, in fact its
>> unchanged.
> 
> How? You need to update the sender to send to the correct notification
> center.

Sorry, I mis-read this, I see what you mean  now, I might have had to change 
the sender, but I didn't because I have one method in the whole app that 
returns the default notification center, which is why I subclass it. I just 
changed this method to return the subclass instead and the whole App now uses 
the subclass, sorry, I should have explained that. I never call things like:

[NSNotificationCenter defaultCenter]  directly in an application if I can help 
it. It's much better to retrieve it from one place - the case in hand shows 
this because it made it sp easy to implement the subclass.

All the Best
Dave


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to