Re: Newbie Q : communication problem with NSTableView
Re: Newbie Q : communication problem with NSTableView
- Subject: Re: Newbie Q : communication problem with NSTableView
- From: Keary Suska <email@hidden>
- Date: Sat, 20 May 2006 11:34:30 -0600
on 5/20/06 11:02 AM, email@hidden purportedly said:
> Now thanks to the debugger I know that arrayForTable behaves correctly,
> but the table
> view does not display the changes.
>
> I tried to put a breakpoint on the crucial line
>
> [tableView reloadData];
>
> but unfortunately the debugger won't ``step into" that instruction, so I'm
> stuck...
I think that the debugger may not step into the call if your tableView is
nil. The way to know is use NSLog() to output assertions, e.g.:
if( tableView == nil ) NSLog( @"tableView is nil" );
It may also depend on where you are making the call.
Another test is to "trick" the tableview into reloading itself, by scrolling
up/down/left/right (if there are enough rows/columns) or resizing the
window.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden