• 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: Advice on document handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice on document handling


  • Subject: Re: Advice on document handling
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 20 Jun 2014 12:06:06 -0700

On 2014 Jun 20, at 10:53, Kyle Sluder <email@hidden> wrote:

> As per the documentation, the first thing that -[NSDocument autosaveWithImplicitCancellability:…] does is send
> -hasUnautosavedChanges to itself and bail if that method returns NO.

I don’t know, Kyle.  Indeed, I’ve done more than my share of pushing into the envelope of NSDocument black magic.  Maybe this is patching for something else I did, or maybe -isDocumentEdited is more strict than -hasUnautosavedChanges.

But it works, and I’m not going to touch it again until Apple breaks it :)


_______________________________________________

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: 
 >Advice on document handling (From: John Brownie <email@hidden>)
 >Re: Advice on document handling (From: Graham Cox <email@hidden>)
 >Re: Advice on document handling (From: John Brownie <email@hidden>)
 >Re: Advice on document handling (From: John Brownie <email@hidden>)
 >Re: Advice on document handling (From: Graham Cox <email@hidden>)
 >Re: Advice on document handling (From: John Brownie <email@hidden>)
 >Re: Advice on document handling (From: Jerry Krinock <email@hidden>)
 >Re: Advice on document handling (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: supportedInterfaceOrientations in Swift
  • Next by Date: Re: Advice on document handling
  • Previous by thread: Re: Advice on document handling
  • Next by thread: Re: Advice on document handling
  • Index(es):
    • Date
    • Thread