On Fri, Oct 30, 2009 at 1:26 PM, Sean McBride <[email protected]> wrote:
> Instead of a value transformer, in your NSManagedObject subclass add a
> new method called 'timelessDate' which returns a modified version of
> your 'date' attribute.  Then bind your table to 'timelessDate' instead
> of 'date'.  Also use keyPathsForValuesAffectingValueForKey to indicate
> that 'timelessDate' depends on 'date'.

You could also model this as a transient property.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to