• 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: Multiple untitled docs are saving to same file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple untitled docs are saving to same file


  • Subject: Re: Multiple untitled docs are saving to same file
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 29 Apr 2013 18:35:00 -0700

On 2013 Apr 29, at 15:21, Quincey Morris <email@hidden> wrote:

> You should generate your own unique file name, then. There's no value in preserving the incoming file name anyway, is there, since you're returning a different URL, right?

Don't be afraid to do what Quincey says, Steve.  Off hand, I can think of at least two places in my NSDocument subclasses where I've had to work around stuff sent to me by Cocoa which makes no sense.

The document system in Cocoa is really complicated, and in Lion and Mountain Lion it became even more so.  I wonder if anyone at Apple has ever worked out all of the states in all of the corner cases, or if that is even humanly possible.  Maybe in their new building they'll have some really big conference rooms with really big whiteboards.


_______________________________________________

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: Multiple untitled docs are saving to same file
      • From: Steve Mills <email@hidden>
References: 
 >Multiple untitled docs are saving to same file (From: Steve Mills <email@hidden>)
 >Re: Multiple untitled docs are saving to same file (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: LSGetApplicationForURL() failed Error -10814
  • Next by Date: Re: Multiple untitled docs are saving to same file
  • Previous by thread: Re: Multiple untitled docs are saving to same file
  • Next by thread: Re: Multiple untitled docs are saving to same file
  • Index(es):
    • Date
    • Thread