This is an interesting exercise! I would extract the values of the fields, manipulate them, then assign the contents of Field4 with the answer: int val1 = [managedObject valueForKey:@"key1"] // etc. for each user entry field1-3
int val4 = val1 + etc. // equation with final assignment to value4 (not actual managed object) [managedObject valueForKey:@"key4" setValue:[NSNumber numberWithInt:val4] // final assigning of val4 to managed Object field4 _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com