• 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: keyPathsForValuesAffectingValueFor<key>: not updating immediately
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately


  • Subject: Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
  • From: Brad Gibbs <email@hidden>
  • Date: Mon, 26 Oct 2009 19:03:07 -0700

I did read the documentation, which is why I used +keyPathsForValuesAffectingFullAddress. I also tried +keyPathsForValuesAffectingValueForFullAddress:

Both methods work, but only after changing the view and then coming back to it.

On Oct 26, 2009, at 6:27 PM, I. Savant wrote:

On Oct 26, 2009, at 9:07 PM, Brad Gibbs wrote:

I have a Core Data app with a category on a model object, Address. The category has a method to return a fullAddress property, which is composed of the streetAddress, city, state and zipCode.

Did you read the documentation for this method?

"Note: You must not override this method when you add a computed property to an existing class using a category, overriding methods in categories is unsupported. In that case, implement a matching +keyPathsForValuesAffecting<Key> to take advantage of this mechanism."

--
I.S.



_______________________________________________

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


  • Follow-Ups:
    • Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
      • From: "I. Savant" <email@hidden>
    • Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
      • From: Jim Correia <email@hidden>
References: 
 >keyPathsForValuesAffectingValueFor<key>: not updating immediately (From: Brad Gibbs <email@hidden>)
 >Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Getting a handle on inf
  • Next by Date: Re: NSURLDownload and file quarantine
  • Previous by thread: Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
  • Next by thread: Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
  • Index(es):
    • Date
    • Thread