NSWorkspace getFileSystemInfoForPath:...
NSWorkspace getFileSystemInfoForPath:...
- Subject: NSWorkspace getFileSystemInfoForPath:...
- From: spike <email@hidden>
- Date: Tue, 11 Mar 2003 14:22:56 -0500
I'm having some trouble with NSWorkspace's getFileSystemInfoForPath:...
method.
I get "*** -[NSCFArray _getVRefNumForPath:]: selector not recognized"
as the error.
anyway know why?
I call it like this:
NSWorkspace *ws = [NSWorkspace sharedWorkspace];
NSMutableArray *dvdMediaListPath = [NSMutableArray arrayWithObjects:
[ws mountedRemovableMedia]];
int i = 0;
BOOL isRemovable;
BOOL isWritable;
BOOL isUnmountable;
for (i = 0; i < [dvdMediaListPath count]; i++) {
[ws getFileSystemInfoForPath: [dvdMediaListPath objectAtIndex: i]
isRemovable: &isRemovable
isWritable: &isWritable
isUnmountable: &isUnmountable
description: nil
type: nil];
}
}
and I get that error. I can print the objectAtIndex: i without problem,
so I know the problem doesn't lie there.
any help?
...spike
_______________________________________________
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.