Re: Object Scope
Re: Object Scope
- Subject: Re: Object Scope
- From: Andy Lee <email@hidden>
- Date: Wed, 9 May 2007 17:10:09 -0400
On May 9, 2007, at 5:01 PM, I. Savant wrote:
On 5/9/07, Aaron Wallis <email@hidden> wrote:
I've got a class which is loaded when the Principal Class is
initiated, however the class also has a NSView and several out
IBoutlets/actions bound to it and I always seem to get an issue where
the instance that was created through initiator is in a different
scope to the *mystery* one that is created for the interface...
Okay, first suggestion: Go back over the documentation and review
the terminology. Your description is incredibly confusing and
apparently incomplete.
I was confused too, mainly by what you mean by "scope." "Scope" has
a specific meaning when you're talking about programming languages.
What exactly is your "issue" -- how does it manifest itself? Can you
tell us what your two classes are, and what you're trying to do with
them?
What do you mean by "initiator"? Do you mean an initializer method?
Show us some code.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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