• 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: NSDocument: Read-only types and autosavesInPlace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument: Read-only types and autosavesInPlace


  • Subject: Re: NSDocument: Read-only types and autosavesInPlace
  • From: Daniel Vollmer <email@hidden>
  • Date: Sun, 24 Jul 2011 11:20:18 +0200

Hello again,

On 23 Jul 2011, at 13:00, Daniel Vollmer wrote:

> Oddly enough, the TextEdit example *should* end up with the same problem when I create a .rtf-document, drag an attachment into it (so it becomes .rtfd), and then close the document. Unfortunately, it works fine for TextEdit but I cannot see anything between my example and TextEdit that could cause it to behave differently, even after having put breakpoints onto every imaginable message.
>
> Can anyone see what I'm doing wrong or differently from TextEdit?

It turns out that this machinery (i.e. the auto-renaming when changing file-types) only kicks in when you use UTI type declarations. Or at least that seems to be the case.

Anyhow, one riddle solved...

	Daniel.


_______________________________________________

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: 
 >NSDocument: Read-only types and autosavesInPlace (From: Daniel Vollmer <email@hidden>)
 >Re: NSDocument: Read-only types and autosavesInPlace (From: Kevin Perry <email@hidden>)
 >Re: NSDocument: Read-only types and autosavesInPlace (From: Daniel Vollmer <email@hidden>)
 >Re: NSDocument: Read-only types and autosavesInPlace (From: Daniel Vollmer <email@hidden>)

  • Prev by Date: does core data always call through the setPrimative methods?
  • Next by Date: Re: does core data always call through the setPrimative methods?
  • Previous by thread: Re: NSDocument: Read-only types and autosavesInPlace
  • Next by thread: Lion doesn't like tricky.key.paths in bindings?
  • Index(es):
    • Date
    • Thread