• 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: Modifying Core Data fields Programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying Core Data fields Programatically


  • Subject: Re: Modifying Core Data fields Programatically
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 5 Apr 2006 01:21:27 -0700


On Apr 5, 2006, at 12:57 AM, Mathieu Tozer wrote:

Thanks for a post I found in the archives I have used NSTimeInterval and NSDate to calculate the times, no problem, but how can I programmatically add the new time spent to the currently selected Activity in the interface? (I'm just working from a modified version of a core data auto-protoype). I know how to create a managedObjectContext and add a new Activity to the list and populate the fields programatically, and I expect the answer to my problem might be similar

As with many others' recent posts, this doesn't appear to be a Core Data isse -- if I understand your problem correctly you simply need to be able to access the current selection in a table view? This is a Cocoa bindings issue, although it is illustrated here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/05_CopyAndPaste/chapter_6_section_3.html>


mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Modifying Core Data fields Programatically (From: Mathieu Tozer <email@hidden>)

  • Prev by Date: infinite loop in another thread destroy g4 CPU
  • Next by Date: Re: infinite loop in another thread destroy g4 CPU
  • Previous by thread: Modifying Core Data fields Programatically
  • Next by thread: Re: Modifying Core Data fields Programatically
  • Index(es):
    • Date
    • Thread