• 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: Deletes Objects On Remove
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deletes Objects On Remove


  • Subject: Re: Deletes Objects On Remove
  • From: mmalc crawford <email@hidden>
  • Date: Tue, 19 Sep 2006 16:57:25 -0700


On Sep 19, 2006, at 3:08 PM, Tore Halset wrote:

I want to use the parameter "Deletes Objects On Remove" of the contentArray of an NSArrayController outside of Core Data (no NSManagedObjectContext). If the flagged are checked, I want some code to run if the user issues a remove:
Current error are "Cannot perform operation without a managed object context". Is this hackable?


Implement a subclass of NSArrayController to provide the functionality you want.
(See also <http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSArrayController_Class/Reference/Reference.html#//apple_ref/occ/instm/NSArrayController/removeObject: >.)


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: Deletes Objects On Remove
      • From: Tore Halset <email@hidden>
References: 
 >Deletes Objects On Remove (From: Tore Halset <email@hidden>)

  • Prev by Date: Re: Displaying HTML in an NSTextField
  • Next by Date: Re: Displaying HTML in an NSTextField
  • Previous by thread: Deletes Objects On Remove
  • Next by thread: Re: Deletes Objects On Remove
  • Index(es):
    • Date
    • Thread