I am a bit confused about the use of @dynamic. Your Movie example above seems to imply that if I create an NSManagedObject, which has an attribute title, and then use the property declaration prescribed, that I will be able to then then this
movie = [Movie new];
[movie setTitle:@"The Hudsucker Proxy"];
and everything will work out. Well, I tried it to make sure, and it compiles fine, but the method setTitle: does not exist at run time, and an exception is the result.
by Drew McCormack — Nov 04
I am a bit confused about the use of @dynamic. Your Movie example above seems to imply that if I create an NSManagedObject, which has an attribute title, and then use the property declaration prescribed, that I will be able to then then this
and everything will work out. Well, I tried it to make sure, and it compiles fine, but the method setTitle: does not exist at run time, and an exception is the result.
Am I missing something?
Drew