• 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:36:58 -0400

Sandro:

[_bServices addObject:aNetService];

What is _bServices? If it's anything but your controller, you're "changing the array behind the controller's back". You must either:


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

b) Call -addObject: against your array controller.

--
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: Chris Hanson <email@hidden>
    • 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>)

  • Prev by Date: Re: EXC_BAD_ACCESS in NSTableView adding object when visible
  • Next by Date: Re: EXC_BAD_ACCESS in NSTableView adding object when visible
  • Previous by thread: Re: Bindings
  • Next by thread: Re: Bindings
  • Index(es):
    • Date
    • Thread