• 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
Re: Newbie Q : communication problem with NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Newbie Q : communication problem with NSTableView (From: email@hidden)

  • Prev by Date: Re: setDoubleAction - Don't want it triggered when double clicking a column header.
  • Next by Date: Re: setDoubleAction - Don't want it triggered when double clicking a column header.
  • Previous by thread: Re: Newbie Q : communication problem with NSTableView
  • Next by thread: Re: Newbie Q : communication problem with NSTableView
  • Index(es):
    • Date
    • Thread