I am working on an app in which plugin subclasses are loaded from
bundles at launch time (didFinishLaunching in app delegate).  The base
plugin class is specified in a framework against which the main app is
linked.

I can create instances of these dynamically loaded subclasses, and
assign them as 'transformable' attributes belonging to Core Data
entities.  During a session the object behaves as expected, and I am
able to save the core data store to disk (the plugin base class and
dynamicaly loaded subclasses conform to the  NSCoding protocol).

This is an NSKeyedArchiver issue, not a Core Data issue. All transformable attributes are doing by default is using keyed archiving. You'll probably want to more closely examine the NSKeyedArchiver API and the NSCoding programming guide.

You could also write your own NSValueTransformer instead of using keyed archiving, or to supplement keyed archiving.

- Ben

_______________________________________________

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