Core Data Migration String to Int32
Core Data Migration String to Int32
- Subject: Core Data Migration String to Int32
- From: Tobias Jordan <email@hidden>
- Date: Fri, 6 Nov 2009 20:49:21 +0100
Hi Developers,
I am currently having problems creating the data model for my
application since I want to convert a String to an Int32.
The value expression should be sth. like this (pseudo-code):
if ($source.name == "First name") return 1;
else if ($source.name == "Second name") return 2, and so on…
Is there a documentation for the value expressions? Thanks in advance.
Best regards,
Tobias Jordan._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden