Core Data, Bindings, and Binary Data
Core Data, Bindings, and Binary Data
- Subject: Core Data, Bindings, and Binary Data
- From: August Trometer <email@hidden>
- Date: Wed, 15 Jun 2005 15:29:38 -0500
I'm trying to create a basic Core Data app and I want to be able to
store an NSColor as one of the Attributes. I have chosen "Binary
data" as the data Type.
In IB, I've supplied all the appropriate bindings for my form. I've
added an NSColorWell and bound it's value to the color Attribute with
an NSUnarchiveFromData as the transformer.
This all works fine getting data _out_ of the context. However,
changing the color of an existing object does nothing. I'm assuming
that, at some point, I need to take the value from the NSColorWell,
archive it, then update the value of the Entity.
Is there a way that I'm missing that allows this without subsclassing?
Thanks!
August
_______________________________________________
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