• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Initializing NSFileWrapper with harddisk crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Initializing NSFileWrapper with harddisk crashes
      • From: "Louis C. Sacha" <email@hidden>
  • Prev by Date: Re: Threads again: NSData leaking (using dataWithContentsOfURL)
  • Next by Date: Re: Create an image Browser.
  • Previous by thread: Re: Create an image Browser.
  • Next by thread: Re: Initializing NSFileWrapper with harddisk crashes
  • Index(es):
    • Date
    • Thread