• 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: Bindings don't populate dialog fields?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings don't populate dialog fields?


  • Subject: Re: Bindings don't populate dialog fields?
  • From: Guy Umbright <email@hidden>
  • Date: Wed, 18 Jan 2006 13:03:27 -0600

Todd,

I mean improper as I am setting an instance variable before calling the [super init]. Just bad practice.

I think I will have to handle passing the job in differently. Not that big a deal, just a change to a
pattern I have been using for a while.


Thanks,

Guy

On Jan 18, 2006, at 12:05 PM, Todd Ransom wrote:


On Jan 17, 2006, at 9:20 PM, Guy Umbright wrote:
When I move the

   j=[j retain]

 (improperly) to before the

   [super init]

everything works.

Why is this improper? It seems fine to me.

Another alternative would be to use a KVC-compliant accessor like setJob: which should send out KVO notifications to your NSArrayController.

TR



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Bindings don't populate dialog fields? (From: Guy Umbright <email@hidden>)
 >Re: Bindings don't populate dialog fields? (From: Jeff LaMarche <email@hidden>)
 >Re: Bindings don't populate dialog fields? (From: Guy Umbright <email@hidden>)
 >Re: Bindings don't populate dialog fields? (From: Todd Ransom <email@hidden>)

  • Prev by Date: Re: Translucent black window
  • Next by Date: Re: Stuck in basic bindings
  • Previous by thread: Re: Bindings don't populate dialog fields?
  • Next by thread: Translucent black window
  • Index(es):
    • Date
    • Thread