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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to