• 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: Programmatic Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatic Binding


  • Subject: Re: Programmatic Binding
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 18 May 2010 09:04:59 -0700

On May 18, 2010, at 07:17, Richard Somers wrote:

> I have an issue that has me absolutely stumped. I have a custom view using a custom layer. When 'bind:toObject:withKeyPath:options:' is called after 'setView' the binding works. When it is called before 'setView' the binding does not work.

...

> - (void)bindFoo
> {
>     [self bind:@"foo"
>       toObject:[NSUserDefaultsController sharedUserDefaultsController]
>    withKeyPath:@"values.foo"
>        options:nil];
> }

What is foo?

What does "not work" mean?


_______________________________________________

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

  • Follow-Ups:
    • Re: Programmatic Binding
      • From: Richard Somers <email@hidden>
References: 
 >Programmatic Binding (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Why I can't see my localized nib?
  • Next by Date: Re: My program causes MacBook Pro to use NVidia graphics
  • Previous by thread: Re: Programmatic Binding
  • Next by thread: Re: Programmatic Binding
  • Index(es):
    • Date
    • Thread