• 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: Coredata Applications and accessing Managed Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Coredata Applications and accessing Managed Objects
      • From: James Andrews <email@hidden>
References: 
 >Coredata Applications and accessing Managed Objects (From: James Andrews <email@hidden>)

  • Prev by Date: addobserver forkeypath breaks NSMetadataQuery live updates?
  • Next by Date: Re: Coredata Applications and accessing Managed Objects
  • Previous by thread: Coredata Applications and accessing Managed Objects
  • Next by thread: Re: Coredata Applications and accessing Managed Objects
  • Index(es):
    • Date
    • Thread