• 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: problem with pure automatic KVO for array (no controllers...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with pure automatic KVO for array (no controllers...)


  • Subject: Re: problem with pure automatic KVO for array (no controllers...)
  • From: Michael Monscheuer <email@hidden>
  • Date: Sun, 22 May 2005 00:15:36 +0200

Yes I know, but... Reading the KVC doc it says:

//If the to-many related objects are mutable, and the -<key> method does not
//return an NSMutableArray, you must also implement -insertObject:in<Key>AtIndex:
//and -removeObjectFrom<Key>AtIndex:

My observed accessor -testArray *does* return a mutable array.
So my class implements -<key> and returns a mutable array.
So I should not need to implement more?!

michael
_______________________________________________
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


  • Follow-Ups:
    • Re: problem with pure automatic KVO for array (no controllers...)
      • From: mmalcolm crawford <email@hidden>
References: 
 >problem with pure automatic KVO for array (no controllers...) (From: Michael Monscheuer <email@hidden>)
 >Re: problem with pure automatic KVO for array (no controllers...) (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Plugin support for Apple's Mail application
  • Next by Date: Re: NSTextField and clickable link
  • Previous by thread: Re: problem with pure automatic KVO for array (no controllers...)
  • Next by thread: Re: problem with pure automatic KVO for array (no controllers...)
  • Index(es):
    • Date
    • Thread