• 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: Automatic file numbering ideas...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic file numbering ideas...


  • Subject: Re: Automatic file numbering ideas...
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Sun, 23 Nov 2008 14:12:42 -0800


On Nov 23, 2008, at 2:02 PM, Nathan Kinsinger wrote:

It didn't find the file because you forgot to update the content array after creating the new file.

Right, I rearranged things a bit and forgot that. However, that only matters if you create "Test file" (which doesn't change the case of the name listed in Terminal, so it's doubly odd that it changes NSFileManager's result).


Comment out the second call to createFileAtPath:contents:attributes: and the result of contentsOfDirectoryAtPath: and fileExistsAtPath: still differ. That was the main thing I wanted to point out, anyway.

--
Adam



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Automatic file numbering ideas...
      • From: Nathan Kinsinger <email@hidden>
References: 
 >Automatic file numbering ideas... (From: Jean-Nicolas Jolivet <email@hidden>)
 >Re: Automatic file numbering ideas... (From: Jean-Nicolas Jolivet <email@hidden>)
 >Re: Automatic file numbering ideas... (From: Andrew Merenbach <email@hidden>)
 >Re: Automatic file numbering ideas... (From: Jean-Nicolas Jolivet <email@hidden>)
 >Re: Automatic file numbering ideas... (From: Kevin Gessner <email@hidden>)
 >Re: Automatic file numbering ideas... (From: "Adam R. Maxwell" <email@hidden>)
 >Re: Automatic file numbering ideas... (From: Nathan Kinsinger <email@hidden>)

  • Prev by Date: Re: Automatic file numbering ideas...
  • Next by Date: Re: Crash when "loading" window second time
  • Previous by thread: Re: Automatic file numbering ideas...
  • Next by thread: Re: Automatic file numbering ideas...
  • Index(es):
    • Date
    • Thread