Hi Corbin + others,
I wrote up my full experience including the solution I came up with on my
blog here:
http://www.codeotaku.com/blog/2012-06/sandboxing-core-data-and-migrations
Please feel free to let me know if the code seems like a mistake. I filed a
bug report
Problem ID: 11544676:
I have an NSDocument based app that supports two file types, one as an Editor
(for the new app version's documents) role and one as a Viewer (for old app
version documents). Both are based on the same document class which reads both
but saves only the new version format.
When -saveDocument:
Keeping the list server busy while everyone else seem to have better things to
do...
Is there an magic trick to get the framework to actually call NSDocument's
- (BOOL)canAsynchronouslyWriteToURL:(NSURL *)url ofType:(NSString *)typeName
forSaveOperation:(NSSaveOperationType)saveOperation
DeprecatedOn 6/10/12 7:21 PM, Markus Spoettl wrote:
Keeping the list server busy while everyone else seem to have better things to
do...
Is there an magic trick to get the framework to actually call NSDocument's
- (BOOL)canAsynchronouslyWriteToURL:(NSURL *)url ofType:(NSString *)typeName
On 6/10/12 7:45 PM, Markus Spoettl wrote:
Well, it suddenly started working and the reason is that apparently you need to
have
-saveToURL:ofType:forSaveOperation:completionHandler:
overwritten. If you don't you just don't get to use background writing.
Overwriting this method does the trick.
On Jun 10, 2012, at 1:45 PM, Markus Spoettl wrote:
DeprecatedOn 6/10/12 7:21 PM, Markus Spoettl wrote:
Keeping the list server busy while everyone else seem to have better things
to
do...
Is there an magic trick to get the framework to actually call NSDocument's
-
On 6/10/12 9:21 PM, Alex Zavatone wrote:
This is one of the joys of Mac development I've seen. Class methods are
called that you never know about and you have to override stuff that you
never knew were parts of the class, let alone are even called.
To be fair it is documented, just not were I
On 10 Jun 2012, at 10:45, Markus Spoettl wrote:
DeprecatedOn 6/10/12 7:21 PM, Markus Spoettl wrote:
Keeping the list server busy while everyone else seem to have better things
to
do...
Is there an magic trick to get the framework to actually call NSDocument's
-
On 11/06/2012, at 3:14 AM, Markus Spoettl wrote:
I have an NSDocument based app that supports two file types, one as an Editor
(for the new app version's documents) role and one as a Viewer (for old app
version documents). Both are based on the same document class which reads
both but
Hi Todd.
FWIW, I have a LSBackgroundOnly application that uses QTKit. Instead of
NSApplicationMain(), I do [[NSApplication sharedApplication] run].
Perhaps that's not exactly what you want, but pretty close. It does suggest you
might be able to get away with, say, running the run loop
10 matches
Mail list logo