• 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: Loading saved file into NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading saved file into NSArrayController


  • Subject: Re: Loading saved file into NSArrayController
  • From: mmalc crawford <email@hidden>
  • Date: Mon, 18 Feb 2008 12:28:45 -0800


On Feb 18, 2008, at 2:35 AM, Mike Abdullah wrote:
[self willChangeValueForKey:@"theArray"];
// changes to the contents of the array
[self didChangeValueForKey:@"theArray"];

There is nothing technically wrong with doing this,

Yes there is -- you're sending a KVO notification for something that didn't happen.

mmalc


_______________________________________________

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


References: 
 >Loading saved file into NSArrayController (From: Davide Scheriani <email@hidden>)
 >Re: Loading saved file into NSArrayController (From: Mike Abdullah <email@hidden>)
 >Re: Loading saved file into NSArrayController (From: Davide Scheriani <email@hidden>)
 >Re: Loading saved file into NSArrayController (From: Mike Abdullah <email@hidden>)
 >Re: Loading saved file into NSArrayController (From: Hans van der Meer <email@hidden>)
 >Re: Loading saved file into NSArrayController (From: mmalc crawford <email@hidden>)
 >Re: Loading saved file into NSArrayController (From: Hans van der Meer <email@hidden>)
 >Re: Loading saved file into NSArrayController (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Loading saved file into NSArrayController
  • Next by Date: Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
  • Previous by thread: Re: Loading saved file into NSArrayController
  • Next by thread: Re: Loading saved file into NSArrayController
  • Index(es):
    • Date
    • Thread