Dear list,
In an app I have a core data model which has a File entity which has a boolean
attribute isText. This attribute is declared in the corresponding
NSManagedObject subclass interface as
@property (assign) BOOL isText;
and in the implementation I do
@dynamic isText;
In Lion, accessing this with
[file isText]
works fine. But it doesn't work on Snow Leopard. There I have to do
[[file valueForKey:@"isText"] boolValue]
Is this expected behaviour? Was/is something broken on SL that was fixed on
Lion? Or is it now broken on Lion?
While the fix is easier, I'd like to understand what is wrong with [file
isText] on SL.
Any insights or upgrades to my understanding, gratefully received.
Martin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: [email protected]
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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]