• 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
Re: NSFileManager createDirectory… confusing docs.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager createDirectory… confusing docs.


  • Subject: Re: NSFileManager createDirectory… confusing docs.
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 23 Feb 2013 10:45:16 -0800

On Feb 23, 2013, at 07:57 , John Joyce <email@hidden> wrote:

> The docs do not seem clear on this. (not to me anyway).

Yes, they're not clear on this.

> If the directory you are creating is also considered an "intermediate parent" directory, that is just confusing.

Presumably, it seemed like a good idea to someone at some time to treat the leaf directory consistently with the intermediate directories, when 'withIntermediateDirectories:' is YES.

Or perhaps this was originally just a bug that was overlooked.

> Can anybody explain to me how this makes any sense?

It makes sense as a historical behavioral artifact, but changing the behavior of the existing API might break existing code in hard-to-debug ways.

I'd suggest you submit documentation feedback reporting the confusing description. It's likely not a high-priority issue, but OTOH it wouldn't be hard to improve the documentation.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSFileManager createDirectory… confusing docs.
      • From: John Joyce <email@hidden>
References: 
 >NSFileManager createDirectory… confusing docs. (From: John Joyce <email@hidden>)

  • Prev by Date: NSFileManager createDirectory… confusing docs.
  • Next by Date: Re: Problem with NSDatePicker in popover
  • Previous by thread: NSFileManager createDirectory… confusing docs.
  • Next by thread: Re: NSFileManager createDirectory… confusing docs.
  • Index(es):
    • Date
    • Thread