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

Re: Bindings


  • Subject: Re: Bindings
  • From: "I. Savant" <email@hidden>
  • Date: Sat, 26 May 2007 22:46:05 -0400

_bServices is a NSMutableArray Object.
i'm adding the NSNet Services to it.

Okay, then ...

you're "changing the array behind the controller's back".

So ...

a) Call -willChangeValueForKey: and -didChangeValueForKey: before/ after changing the array, or,

b) Call -addObject: against your array controller.

:-)

If you're changing things behind your controller's back (which handles KVO notifications for you), then it's up to you to properly notify (-will/didChangeValueForKey:).

--
I.S.



_______________________________________________

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


  • Follow-Ups:
    • Re: Bindings
      • From: Sandro Noel <email@hidden>
References: 
 >Bindings (From: Sandro Noel <email@hidden>)
 >Re: Bindings (From: Chris Hanson <email@hidden>)
 >Re: Bindings (From: Sandro Noel <email@hidden>)
 >Re: Bindings (From: "I. Savant" <email@hidden>)
 >Re: Bindings (From: Sandro Noel <email@hidden>)

  • Prev by Date: Re: Bindings
  • Next by Date: Re: Bindings
  • Previous by thread: Re: Bindings
  • Next by thread: Re: Bindings
  • Index(es):
    • Date
    • Thread