NSTableView reloadData problem
NSTableView reloadData problem
- Subject: NSTableView reloadData problem
- From: "Raymund Beyer" <email@hidden>
- Date: Mon, 25 Nov 2002 23:32:34 +0100
I'm am newbie and having the problem with the Table Views reloadData
method, that just won't work.
I have created a subclass of NSObject in IB, which contains a
NSMutableArray that is used as dataSource for a NSTableView. I created
accessor methods to init and fill the array. The tableview is declared in
the @interface {} section, the variables (the array and array count) in
the top of the .m file.
I've also created an accessor method to call the realoadData method of
the table view from my controller object. But for some reason it doesn't
work. It only works if I click inside the table view.
Also the selected row method of NSTableView doesn't return the int value
for the selected row. So there seems to be something messed in the
connection from the object that hold the data (and sends the reloadData)
to the tableview.
Everything is connected as it should be in the IB (I think).
Any help appreciated, since this is already buggin me since 2 days.
Thanks
Ray
---------------------------------
Raymund Beyer
email@hidden
http://www.brainstorm-music.com
http://www.ezee.de
---------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.