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

Re: NSArrayController and threading


  • Subject: Re: NSArrayController and threading
  • From: Scott Stevenson <email@hidden>
  • Date: Wed, 22 Dec 2004 13:40:55 -0800


On Dec 22, 2004, at 1:27 PM, Joe Chan wrote:

/* This doesn't work
[self willChange: NSKeyValueChangeReplacement valuesAtIndexes:indexes forKey:@"thumbnail"];
[self didChange: NSKeyValueChangeReplacement valuesAtIndexes:indexes forKey:@"thumbnail"];
*/
}


Which seems very strange to me. Is this a bug in the binding stuff, or am I not understanding willChange:valuesAtIndexes:forKey: right?

Does Document implement -thumbnail or have an ivar named "thumbnail"?

If not, it looks like this won't do anything. The key here has to represent an array or some sort of to-many relationship.


- Scott

--
http://treehouseideas.com/
http://theocacao.com/ [blog]

_______________________________________________
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: 
 >NSArrayController and threading (From: Joe Chan <email@hidden>)
 >Re: NSArrayController and threading (From: "John C. Randolph" <email@hidden>)
 >Re: NSArrayController and threading (From: Joe Chan <email@hidden>)
 >Re: NSArrayController and threading (From: "John C. Randolph" <email@hidden>)
 >Re: NSArrayController and threading (From: Joe Chan <email@hidden>)

  • Prev by Date: Re: NSArrayController and threading
  • Next by Date: Finder vs. Quartz performance.
  • Previous by thread: Re: NSArrayController and threading
  • Next by thread: Re: NSArrayController and threading
  • Index(es):
    • Date
    • Thread