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

Newbie Q : communication problem with NSTableView


  • Subject: Newbie Q : communication problem with NSTableView
  • From: email@hidden
  • Date: Sat, 20 May 2006 19:02:35 +0200 (CEST)
  • Importance: Normal

    Hello all,

 in a document-based project I have a NSTableView which it seems does
not receive the messages it should receive. Its data source is an
object called TableController containing an NSMutableArray called
arrayForTable, and the
table view should reflect the contents of arrayForTable.

 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...

 Most probably I made a beginner's mistake. I checked the following :

-connections (in both directions between the table view and the instance
of TableController)
-definitions of the tableView and numberOfRowsInTableView functions in
TableController.m

 (NB : I use the separate controller ``TableController" instead of putting
everything into the MyDocument class, because there are several
tableviews on the same window,so MyDocument cannot be a dataSource for
all of them at the same time)

                                                                                    Ewan



 _______________________________________________
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

  • Follow-Ups:
    • Re: Newbie Q : communication problem with NSTableView
      • From: Keary Suska <email@hidden>
    • Re: Newbie Q : communication problem with NSTableView
      • From: Wain <email@hidden>
  • Prev by Date: setDoubleAction - Don't want it triggered when double clicking a column header.
  • Next by Date: Re: Newbie Q : communication problem with NSTableView
  • Previous by thread: Re: setDoubleAction - Don't want it triggered when double clicking a column header.
  • Next by thread: Re: Newbie Q : communication problem with NSTableView
  • Index(es):
    • Date
    • Thread