Re: Coredata Applications and accessing Managed Objects
Re: Coredata Applications and accessing Managed Objects
- Subject: Re: Coredata Applications and accessing Managed Objects
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 8 Jul 2005 20:54:07 -0700
On Jul 8, 2005, at 8:37 PM, James Andrews wrote:
Let's say I have a text field that I want to use to insert a new
group.
I assume what you mean is that you want to create a new instance of
the Grouping entity, and set its groupingName to the content of the
text field?
This document describes how to create new managed objects:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CoreData/Articles/cdCreateMOs.html>
You would create a new instance as described there, and set the new
object's groupingName by retrieving the text field's stringValue and
modifying the groupingName as described here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CoreData/Articles/cdUsingMOs.html>
You should probably also read <http://developer.apple.com/
documentation/Cocoa/Conceptual/CoreData/Articles/cdBasics.html>,
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdLifecycleManagement.html>, and the tutorial at <http://
developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/index.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