• 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: Help with canConcurrentlyReadDocumentsOfType:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Help with canConcurrentlyReadDocumentsOfType: (From: Clarence Locke <email@hidden>)

  • Prev by Date: Re: NSTableView & Multiple Columns
  • Next by Date: Re: NSTableView & Multiple Columns
  • Previous by thread: Help with canConcurrentlyReadDocumentsOfType:
  • Next by thread: Resizing of NSTokenField
  • Index(es):
    • Date
    • Thread