NSThread - plz help!!!
NSThread - plz help!!!
- Subject: NSThread - plz help!!!
- From: Lukasz Kuczborski <email@hidden>
- Date: Thu, 07 Mar 2002 00:11:59 +0100
i have such a while loop:
while(pname = [direnum nextObject])
{
if([[[direnum fileAttributes] fileType]
isEqualToString:NSFileTypeRegular])
{
Table *nowy = [[Table alloc] init];
[nowy setIconCell:[[NSWorkspace sharedWorkspace]
iconForFile:[fullPath stringByAppendingPathComponent:pname]]];
[nowy setPathToFile:[fullPath
stringByAppendingPathComponent:pname]];
[nowy setFileExtension:[pname pathExtension]];
[nowy setFileName:[pname lastPathComponent]];
[fileSpecs addObject:nowy];
[nowy release];
[table reloadData]; =====>>>>> *****i want this operation
(reloading TableView) to be threaded (NSThread class), so i could view files
in my table one by one till next file is found during the
searching....PLEASE HELP...this is really important!!!*****
}
}
TIA
Lukasz
_______________________________________________
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.