IBAction deselects currently selected Core Data record?
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