• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTableView and loadNibNamed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTableView and loadNibNamed
      • From: "Hamish Allan" <email@hidden>
    • Re: NSTableView and loadNibNamed
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: iPhone SDK Question
  • Next by Date: awakeFromUndo?
  • Previous by thread: Re: iPhone SDK Question
  • Next by thread: Re: NSTableView and loadNibNamed
  • Index(es):
    • Date
    • Thread