Good point. I guess if the document URL is nil, you should think twice about
this.
On Feb 13, 2014, at 8:38 PM, Kyle Sluder wrote:
> On Thu, Feb 13, 2014, at 05:21 PM, Dave Fernandes wrote:
>> Try returning nil for the document in [NSDocumentController
>> reopenDocumentForURL]’s completion
On Thu, Feb 13, 2014, at 05:21 PM, Dave Fernandes wrote:
> Try returning nil for the document in [NSDocumentController
> reopenDocumentForURL]’s completion handler, and also return the
> following error in the completion handler:
>
> [NSError errorWithDomain:NSCocoaErrorDomain code:NSUserCance
Try returning nil for the document in [NSDocumentController
reopenDocumentForURL]’s completion handler, and also return the following
error in the completion handler:
[NSError errorWithDomain:NSCocoaErrorDomain code:NSUserCancelledError
userInfo:nil]
On Feb 13, 2014, at 6:57 PM, Mike Abdul
On 13 Feb 2014, at 23:39, Eric Gorr wrote:
>
>
>> On Feb 13, 2014, at 6:22 PM, Mike Abdullah wrote:
>>
>>
>>> On 13 Feb 2014, at 21:12, Eric Gorr wrote:
>>>
>>> What I want to do seems like it should be fairly straightforward, but
>>> doesn't seem to be. All I want to do is with a standa
> On Feb 13, 2014, at 6:22 PM, Mike Abdullah wrote:
>
>
>> On 13 Feb 2014, at 21:12, Eric Gorr wrote:
>>
>> What I want to do seems like it should be fairly straightforward, but
>> doesn't seem to be. All I want to do is with a standard NSDocument Based
>> (with Core Data) is prevent the l
On 13 Feb 2014, at 21:12, Eric Gorr wrote:
> What I want to do seems like it should be fairly straightforward, but doesn't
> seem to be. All I want to do is with a standard NSDocument Based (with Core
> Data) is prevent the last document opened from opening automatically the next
> time the a
What I want to do seems like it should be fairly straightforward, but doesn't
seem to be. All I want to do is with a standard NSDocument Based (with Core
Data) is prevent the last document opened from opening automatically the next
time the application is launched.
What is the best way to accom