Re: get ref to instance from IB
Re: get ref to instance from IB
- Subject: Re: get ref to instance from IB
- From: Kyle Sluder <email@hidden>
- Date: Wed, 17 Jun 2009 09:33:14 -0700
On Wed, Jun 17, 2009 at 5:44 AM, Paul M<email@hidden> wrote:
> The UIController class is my own class which connects to all my UI elements.
> I added 2 IBOutlets to this class, then wired these to the 2 instances of my
> DataSource class, so now I have references to these instances, which is just
> what I wanted. Just what Graham suggested at the beginning, except I'm using
> my own class instead of 'File's Owner'. After more testing it's working
> fine.
Just a note: File's Owner isn't a class; it's a stand-in for an object
that isn't stored in the nib but provided to it at run-time. Though I
guess you knew that/figured that out because the one you were looking
at was declared to be an instance of UIApplication.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden