• 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
NSDocument Ignoring Advisory Locks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument Ignoring Advisory Locks?


  • Subject: NSDocument Ignoring Advisory Locks?
  • From: KJ Walker <email@hidden>
  • Date: Wed, 11 Jan 2006 15:07:13 -0800

Situation: The application I'm working on supports multiple documents and when a document is opened the source file has an advisory lock set.

While the Finder respects this advisory lock, I've noticed the NSDocuments writeToURL:ofType:error: passes a path to a tmp directory (documention warned this may happen). However, then the framework appears replace the file that has the advisory lock with the contents of the temporary file, disregarding the advisory lock.

Anyone seen this and have some pointers on getting around this?

Thanks,

Kevin Walker
SmartSound Software, Inc.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >(hopefully!) simple newbie question (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Run application from code
  • Next by Date: Re: Yet another NSAffineTransform problem
  • Previous by thread: Re: (hopefully!) simple newbie question
  • Next by thread: Opening a document in the same window
  • Index(es):
    • Date
    • Thread