Re: Two text fields, one outlet?
Re: Two text fields, one outlet?
- Subject: Re: Two text fields, one outlet?
- From: Klaus Backert <email@hidden>
- Date: Mon, 5 Apr 2010 10:56:33 +0200
On 5 Apr 2010, at 04:09, Jenny M wrote:
This is the method I ended up going with. I had tried to use bindings
before by doing exactly that - setting up a property, synthesizing it,
and binding the value to the property - but I noticed I was setting
the value wrong. I was calling
property = [NSNumber...]
rather than
[self setProperty:[]]. <-- Finally, that worked!!
Setting of properties can and should be done this way (except when
using the modern runtime and synthesizing the instance variable):
self.property = ...
which is equivalent to [self setProperty: ...]
Klaus
_______________________________________________
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