What exactly does @dynamic do? Specifically, in the context of a Core
Data managed-object? Here's what I do understand:
1) You create an 'entity' in the .xcdatamodel file
2) You ask Xcode to create the class files for you
3) The .m file contains @dynamic instead of @synthesize for each of
the entity's 'attributes' (which now correspond to instance variables
in a class derived from NSManagedObject)
Here's what I don't understand:
Why doesn't it just @synthesize the accessors? What would happen if I
replaced the @dynamic with @synthesize? Would it blow up, or just
have weird performance issues?
_______________________________________________
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]