• 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: Steve Mills <email@hidden>
  • Date: Mon, 29 Apr 2013 23:50:12 -0500

On Apr 29, 2013, at 20:35:00, Jerry Krinock <email@hidden> wrote:

> 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.

Thanks, y'all. I don't know why Apple isn't supplying at least the document's displayName for this.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157




_______________________________________________

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

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>)
 >Re: Multiple untitled docs are saving to same file (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Multiple untitled docs are saving to same file
  • Next by Date: Overlapping sibling views
  • Previous by thread: Re: Multiple untitled docs are saving to same file
  • Next by thread: Form sheet not returning to center after dismissal
  • Index(es):
    • Date
    • Thread