• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple question


  • Subject: Re: Simple question
  • From: banane <email@hidden>
  • Date: Thu, 22 Apr 2010 10:40:23 -0700

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 (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

References: 
 >Simple question (From: Arnold Nefkens <email@hidden>)
 >Re: Simple question (From: Reinhard Segeler <email@hidden>)
 >Re: Simple question (From: Arnold Nefkens <email@hidden>)

  • Prev by Date: Re: Simple question
  • Next by Date: Re: Simple question
  • Previous by thread: Re: Simple question
  • Next by thread: Re: Simple question
  • Index(es):
    • Date
    • Thread