Quick Response!
Published Wednesday, April 05, 2006 by Mathieu | E-mail this post
I made a quick post out to the cocoa-dev mailing list and pow got a reply right away! I'm going to have to use this resource more often :-)
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
0 Responses to “Quick Response!”
Leave a Reply