Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
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