I have an app that has a NSTableView populated with and array of Tapes  from 
CoreData. Tapes is declared as:
@interface Tapes :  NSManagedObject
{
    NSString * TapeName;
    NSDate   * TapeDate;
    NSString * Notes;
    NSSet    * VideoClip;
}
The TableView is bound to an NSArrayController (tapesController). If I select a 
row in the table and execute

    NSArray * tapeSelection = [tapesController selectedObjects];



    Tapes *  theTape = [tapeSelection objectAtIndex:0];

the local variable
theTape = (Tapes*) 0x00000000

How do I get a valid selection


Joseph Ayers, Professor
Department of Biology and
Marine Science Center
Northeastern University
East Point, Nahant, MA 01908
Phone (781) 581-7370 x309(office), x335(lab)
Boston: 444 Richards Hall (617) 373-4044
Cellular (617) 755-7523, FAX: (781) 581-6076
Google Voice: (781) 346-9589
eMail: [email protected]<mailto:[email protected]>
iPhone: [email protected]<mailto:[email protected]>
http://www.neurotechnology.neu.edu/
http://robobees.seas.harvard.edu/
http://cyberplasm.net/











_______________________________________________

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