On Mar 24, 2008, at 11:56 PM, Jens Alfke wrote:


On 24 Mar '08, at 9:51 PM, Samvel wrote:

I run into troubles trying to register my object with NSNotificationCenter in class
        -(id) init;


That's a fine place to do it.

//... (at this point self has lost it's original value having some '<value')

I don't understand what that comment means. Nothing should have happened to 'self' at that point. Can you be more specific?

Before line where registration with NSNotificationCenter is performed self contains pointer to actual object in memory. I can see it with debugger. Right after registering with NSNotificationCenter self is highlighted with red color in debugger and showing <value as its Value.



—Jens

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to