Re: Help with canConcurrentlyReadDocumentsOfType:
Re: Help with canConcurrentlyReadDocumentsOfType:
- Subject: Re: Help with canConcurrentlyReadDocumentsOfType:
- From: Quincey Morris <email@hidden>
- Date: Tue, 20 Jul 2010 02:15:12 -0700
On Jul 19, 2010, at 11:04, Clarence Locke wrote:
> I just can't seem to see what I am doing incorrectly. In my NSDocument-derived class I have implemented:
>
>
> + (BOOL) canConcurrentlyReadDocumentsOfType:(NSString*)typeName_i
> {
> NSLog(@"canConcurrentlyReadDocumentsOfType:");
> return YES;
> }
>
>
> When I run my code and open a collection of documents via the Finder, the method never fires. I've even set a breakpoint. No console output, no hit breakpoint. Nothing.
>
> This has got to be one of the simplest functionalities to opt-in on, so what could I possibly be doing wrong?
>
> I've compiled the Sketch example app and it always fires canConcurrentlyReadDocumentsOfType:.
>
>
> My Project Settings
> ---------------------------
> Base SDK 10.5 (but I've even tried 10.6)
> Deployment Target 10.5 (but I've even tried 10.6)
> LLVM compiler 1.5
According to the documentation, that method is 10.6 or later, so you're not going to get anywhere without setting the base SDK to 10.6 *and* deploying it on 10.6.
_______________________________________________
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