NSTableView and loadNibNamed
NSTableView and loadNibNamed
- Subject: NSTableView and loadNibNamed
- From: Joseph Ayers <email@hidden>
- Date: Sun, 04 May 2008 11:14:45 -0400
- Organization: Northeastern University
I have a NSTableView as an instance of a NSWindowController declared as:
@interface TableController : NSWindowController {
IBOutlet NSWindow* tableWindow;
IBOutlet NSTableView* dataTable;
IBOutlet NSTableHeaderView* headers;
IBOutlet NSTableColumn* column;
}
I read in the NIB using:
[NSBundle loadNibNamed:@"tableWindow" owner:tableController]
Indeed the NIB tableWindow has file's Owner set to tableController and
there is a connection made to dataTable
from a TableController object.
I get a pointer to tableController, but the field dataTable is nil.
How do I get dataTable to point to the NSTableView in the nib?
Thanks,
Joseph Ayers
--
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)
Cellular (617) 755-7523, FAX: (781) 581-6076
Boston Office 444RI, (617) 373-4044
eMail: email@hidden
http://www.neurotechnology.neu.edu/
_______________________________________________
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