Re: Problem accessing category method with bindings
Re: Problem accessing category method with bindings
- Subject: Re: Problem accessing category method with bindings
- From: Yann Bizeul <email@hidden>
- Date: Sun, 6 May 2007 22:21:01 +0200
Just adding my brick :
Indeed this is very strange and may be a bug in AB.framework ?
I tried several things without success :
Setup bindings to use an intermediate NSObjectController whose
content is "Controller"
Moved awakeFromNib's code to init
Added [self willChangeValueForKey: @"me"] and [self
didChangeValueForKey: @"me"]; around [self setValue:[[ABAddressBook
sharedAddressBook] me] forKey:@"me"]
None of this works :-/
Yann Bizeul - yann at tynsoe.org
Cocoa Developer
Tynsoe Projects
BuddyPop - GeekTool - SSH Tunnel Manager - ...
http://projects.tynsoe.org/
Le 6 mai 07 à 18:47, Nicolas Seriot a écrit :
Hello,
I have two categories: one on NSString, and one on ABPerson.
In IB, I want to use bindings to access my categories methods.
I can successfully access the new methods on NSString, but I can't
manage to access the ones on ABPerson.
I made a minimal project demonstrating my problem :
http://seriot.ch/temp/BindingCategoryProblem.png
http://seriot.ch/temp/BindingCategory.zip
Can anyone help me ?
Thank you in advance.
--
Nicolas Seriot
_______________________________________________
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
_______________________________________________
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