A little doubt about NSTableView.
A little doubt about NSTableView.
- Subject: A little doubt about NSTableView.
- From: Roberto <email@hidden>
- Date: Mon, 15 Dec 2003 09:37:04 +0100
I've got an NStableView with one only column (simplify), and I would
insert a predefined value at button pressed.
I've got this function:
If I insert the value into the NSMutableArray (comicsArray) in this
part of code, NSTableView shows the values:
- (comicDataSource *) init
{
[super init];
comicsArray = [[NSMutableArray alloc] init];
[comicsArray addObject:@"gdfsgfdsgsdfgdf"]; //If I insert here the
code, NSTableView shows values!
return self;
}
But if I just insert the code in the right function, it doesn't insert
values into NSTableView, like:
- (void) addComic: (id) sender
{
[comicsArray addObject:@"fdsafdf"]; //If I insert here the code,
NSTableView doesn't show values!
}
Why??
I know that NSTableView is the most complicated Object of Cocoa, that
for understand it I should read all the topics and Tutorials of Cocoa
Programming, but I've done all the possible to understand NSTableView,
but I can't.
_______________________________________________
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.