Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
- Subject: Re: keyPathsForValuesAffectingValueFor<key>: not updating immediately
- From: "I. Savant" <email@hidden>
- Date: Mon, 26 Oct 2009 21:27:54 -0400
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