• 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
Programmatic removal of an object..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatic removal of an object..


  • Subject: Programmatic removal of an object..
  • From: R T <email@hidden>
  • Date: Tue, 12 Aug 2008 22:40:07 -0700 (PDT)

Using Core Data, my xcdatamodel has 1 entity (NSManagedObject) with 10 attributes. I need to add and remove the objects programmatically (not by buttons). I have...

IBOutlet NSArrayController *ParamsNResults;
IBOutlet NSTableView *ParamsNResultsTableView;

                  ...and have created an object in the tableview with...

[ParamsNResults newObject];

                  ...but I can not remove it.

my questions:
1.   Have I created the object correctly/completely?
2.   How do I remove the object?
3.   Can I remove all the objects at once?

Thanks
Rick Tschudin
email@hidden


been able to put objects into
Removing all the objects at once is the first thing I need to do



_______________________________________________

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: Programmatic removal of an object..
      • From: Ron Lue-Sang <email@hidden>
  • Prev by Date: how to implement the auto-complement function like Xcode 3.x?
  • Next by Date: Allowing menu item selection in a modal session
  • Previous by thread: Re: how to implement the auto-complement function like Xcode 3.x?
  • Next by thread: Re: Programmatic removal of an object..
  • Index(es):
    • Date
    • Thread