Skip navigation.
 
mlNSTableView and loadNibNamed
FROM : Joseph Ayers
DATE : Sun May 04 17:14:45 2008

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_removed>
http://www.neurotechnology.neu.edu/

Related mailsAuthorDate
mlNSTableView and loadNibNamed Joseph Ayers May 4, 17:14
mlRe: NSTableView and loadNibNamed Keary Suska May 4, 18:11
mlRe: NSTableView and loadNibNamed Joseph Ayers May 4, 19:24
mlRe: NSTableView and loadNibNamed Hamish Allan May 4, 20:36
mlRe: NSTableView and loadNibNamed Joseph Ayers May 4, 21:21