• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem accessing category method with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Problem accessing category method with bindings (From: Nicolas Seriot <email@hidden>)

  • Prev by Date: Problem accessing category method with bindings
  • Next by Date: Re: Problem accessing category method with bindings
  • Previous by thread: Problem accessing category method with bindings
  • Next by thread: Re: Problem accessing category method with bindings
  • Index(es):
    • Date
    • Thread