FROM : Raymund Beyer
DATE : Mon Nov 25 23:32:34 2002
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_removed>
http://www.brainstorm-music.com
http://www.ezee.de
---------------------------------
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Mon Nov 25 23:32:34 2002
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_removed>
http://www.brainstorm-music.com
http://www.ezee.de
---------------------------------
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Bill Cheeseman | Apr 10, 20:55 | |
| Ondra Cada | Apr 10, 23:45 | |
| Bill Cheeseman | Apr 10, 23:56 | |
| Andy Lee | Apr 11, 00:01 | |
| Bill Cheeseman | Apr 17, 20:53 | |
| Raymund Beyer | Nov 25, 23:32 |






Cocoa mail archive

