• 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/Bindings : adding/updating records with 2 entities at the same time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData/Bindings : adding/updating records with 2 entities at the same time


  • Subject: Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • From: Luc Vandal <email@hidden>
  • Date: Mon, 27 Aug 2007 20:49:23 -0400


On 27-Aug-07, at 7:37 PM, mmalc crawford wrote:


On Aug 27, 2007, at 4:29 PM, Luc Vandal wrote:
What I want to be able to do is to create a new Email record and add a related Attachment record at the same time, in the same window.

How are you creating the new Email record? Create an Attachment and set the relationship at the same time.


I'll be adding the new Email record by calling the add: method from NSObjectController within a window that contains text fields. However, I realize that it seems that I can't use NSTextField to add a new object. If I call add:, nothing happens. Do I absolutely need a NSTableView to add objects?



If you're using bindings to create the record, review <http:// developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ Classes/NSObjectController_Class/Reference/Reference.html>.

mmalc




Software & Web Apps Luc Vandal Edovia Inc. Montreal 514.377.8111 email@hidden www.edovia.com


_______________________________________________

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


  • Follow-Ups:
    • Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
      • From: mmalc crawford <email@hidden>
    • Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
      • From: Luc Vandal <email@hidden>
References: 
 >CoreData/Bindings : adding/updating records with 2 entities at the same time (From: Luc Vandal <email@hidden>)
 >Re: CoreData/Bindings : adding/updating records with 2 entities at the same time (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: Referencing specific window in NIB file
  • Next by Date: Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • Previous by thread: Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • Next by thread: Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • Index(es):
    • Date
    • Thread