Neophyte Question: Connecting to nib objects
Neophyte Question: Connecting to nib objects
- Subject: Neophyte Question: Connecting to nib objects
- From: Phil Hystad <email@hidden>
- Date: Mon, 19 Oct 2009 08:51:10 -0700
I am new to Cocoa and I am wondering how to do something that should
be simple and obvious. Given that I have an object defined in the nib
(aka xib), for example, an object that responds to a given view, what
is the correct way for my running application (if it is in some other
state, not responding to an action) to obtain a pointer to that object.
Maybe a second question is "Do I ever need to do this?".
This question came about because I was experimenting with a sample
program I am using to learn Cocoa and I wanted to change the state of
the class that is defined in the nib. I did not know how to get a
pointer to that object. It seems that it is serialized (un-archived?)
when the nib is loaded.
Thanks,
phil
email@hidden
_______________________________________________
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