Re: Outlet from Different Implementation?
Re: Outlet from Different Implementation?
- Subject: Re: Outlet from Different Implementation?
- From: Graham Cox <email@hidden>
- Date: Tue, 16 Sep 2008 20:16:44 +1000
On 16 Sep 2008, at 5:53 pm, Jeshua Lacock wrote:
However, I tried using the valueForKey method as suggested, and I
get a message "___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___".
Hrrrm. OK, that seems a bit odd. I dunno why that's happening, -
valueForKey: is supposed to be able to find ivars even without
accessor methods, though to be honest I've never, ever relied on that
fallback behaviour, so it might be better to steer clear of it.
Any suggestions would be appreciated, or if someone could someone
point me to a good "accessor method" example or documentation, I
would be grateful.
Well, the accessor method I had in mind, in its entirety, is:
- (id) myOutlet
{
return MyOutlet;
}
note: by naming things as to their function you'd probably end up with
a much more self-descriptive method.
hth,
Graham
_______________________________________________
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