On 26/06/2009, at 11:33 AM, Peter Zegelin wrote:
I always thought awakeFromNib would get called first. But in this case not so. So can anyone suggest why, and a workaround?
This sounds a bit odd, and I can't say why. But I can offer a workaround:
-(int)numberOfRowsInTableView:(NSTableView *)tableView{ if( numColumns == 0 ) return myDataSize / 8; else return myDataSize/numColumns; } ;-) --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com