Initializing NSFileWrapper with harddisk crashes
Initializing NSFileWrapper with harddisk crashes
- Subject: Initializing NSFileWrapper with harddisk crashes
- From: Robert Kuilman <email@hidden>
- Date: Tue, 10 Feb 2004 16:09:51 +0100
Hey all!
In my application, when i initialize a NSFileWrapper with a path to one
of my harddisks (not CD/remote volumes/folders et al)
The application crashes inevitably.
sample code:
NSFileWrapper *myFile = [NSFileWrapper alloc];
[myFile initWithPath:@"/Volumes/Source/"];
Does anyone have an idea how this happens, and what i can do to prevent
it from happening? Checking for "/Volumes" in the path is not really an
option, since i need to get mounted CDs as well.
With Kind Regards,
Robert K.
-----------------------------{ Official Cocoa Newbie!
}-----------------------------
web:
http://halfduplex.net/
email: email@hidden
_______________________________________________
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.