Shane wrote:

Yeah, I've already done that. But I'm still seeing that self has two
different addresses when I print it out in either createDictionary, or
numberOfRowsInTableView. So the problem hasn't gone away.


There are two self's, I.e. two different instances. The name 'self' isn't a single variable. It represents the object that's responding to the message, and executing the method.

My guess is that one instance is created in the nib, and the other is created in code you wrote.

Use the debugger. Set a breakpoint on the init methods and look at how it reaches that point.

  -- GG
_______________________________________________

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

This email sent to [email protected]

Reply via email to