BSD

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
Home » Development Group »» BSD
  • Newbie Q : communication problem with NSTableView

    1 answers - 1453 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

    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 RowsInTableView 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 (Cocoa-dev (AT) lists (DOT) apple.com)
    Help/Unsubscribe/Update your Subscription:
    %40developershed.com
    This email sent to bsdarchive (AT) developershed (DOT) com

Re: Newbie Q : communication problem with NSTableView


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 6 =
SPONSORED
QUESTION

SPONSORED
EMSDN