• 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
IBAction deselects currently selected Core Data record?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IBAction deselects currently selected Core Data record?


  • Subject: IBAction deselects currently selected Core Data record?
  • From: Michael LaMorte <email@hidden>
  • Date: Sun, 28 Sep 2008 19:21:55 -0400

I have a Core Data application with a subclass of NSManagedObject. The subclass has an IBAction that, when triggered, needs to get the value of several entity properties of the currently selected record.

I have the accessor methods declared properly in the declaration and implementation files, and they work fine from within other parts of the code, but when executing something like this:

- (IBAction)exportData:(id)sender {
	NSString *theData = [self projectName];
}

the running application errors out, and the value of projectName is nil.

What am I missing?

TIA,
- Mike

---
Michael A. LaMorte

          "In matters of style, swim with the current;
           In matters of principle, stand like a rock"
                         -Thomas Jefferson



_______________________________________________

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: IBAction deselects currently selected Core Data record?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Load launchd job immediately, without restart - how?
  • Next by Date: How to get Safari Bookmarks in the code
  • Previous by thread: re: NSManagedObject custom class & for loop
  • Next by thread: Re: IBAction deselects currently selected Core Data record?
  • Index(es):
    • Date
    • Thread