NSImageCell continued...
NSImageCell continued...
- Subject: NSImageCell continued...
- From: Lukasz Kuczborski <email@hidden>
- Date: Tue, 26 Feb 2002 15:51:15 +0100
and that's how i'm setting the values of my Table...Maybe something is wrong
here...?
while (pname = [direnum nextObject])
{
if([[[direnum fileAttributes] fileType]
isEqualToString:NSFileTypeRegular])
{
Table *nowy = [[Table alloc] init];
[nowy setIconCell:[[NSWorkspace sharedWorkspace]
iconForFile:[[NSFileManager defaultManager] currentDirectoryPath]]];
[nowy setPathToFile:pname];
[nowy setFileExtension:[pname pathExtension]];
[nowy setFileName:[pname lastPathComponent]];
[fileSpecs addObject:nowy];
[nowy release];
[table reloadData];
}
}
All fields besides "iconCell" works perfectly..
_______________________________________________
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.