• 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: is nullify causing an exception --> SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is nullify causing an exception --> SOLVED


  • Subject: Re: is nullify causing an exception --> SOLVED
  • From: Steve Cronin <email@hidden>
  • Date: Wed, 8 Mar 2006 18:52:18 -0600

Miguel;

THANK-YOU

I configured the toolbarItem to call thru to the controllers 'remove' and set the 'delete on remove' in the bindings -- works great.

I owe you a cold one!
Steve

On Mar 8, 2006, at 6:33 PM, Miguel Sanchez wrote:



As for your 'in code' question, how would I get a toobarItem to call the 'remove' in the arrayController?


toolbar items can set set up with targets and actions


A further clarification: the 'remove' method in the arrayController does NOT perform a 'deleteObject'!


I need to actually delete the object from the store, not simply remove it from the array!

the array content binding has a checkbox for "Deletes Objects On Remove"



as for your backtrace error, are you removing the elements from the relationships before removing them from the context?


- Miguel



_______________________________________________ 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
References: 
 >is nullify causing an exception (From: Steve Cronin <email@hidden>)
 >Re: is nullify causing an exception (From: Miguel Sanchez <email@hidden>)
 >Re: is nullify causing an exception (From: Steve Cronin <email@hidden>)
 >Re: is nullify causing an exception (From: Miguel Sanchez <email@hidden>)

  • Prev by Date: Re: is nullify causing an exception
  • Next by Date: Re: Do I need a document-based application ?
  • Previous by thread: Re: is nullify causing an exception
  • Next by thread: controlling focus of embedded text fields
  • Index(es):
    • Date
    • Thread