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

Help with canConcurrentlyReadDocumentsOfType:


  • Subject: Help with canConcurrentlyReadDocumentsOfType:
  • From: Clarence Locke <email@hidden>
  • Date: Mon, 19 Jul 2010 14:04:46 -0400

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

need to know other settings?...

_______________________________________________

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

  • Follow-Ups:
    • Re: Help with canConcurrentlyReadDocumentsOfType:
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: HTTP Pipe lining communication in iPhone application
  • Next by Date: Resizing of NSTokenField
  • Previous by thread: Re: NSTableView & Multiple Columns
  • Next by thread: Re: Help with canConcurrentlyReadDocumentsOfType:
  • Index(es):
    • Date
    • Thread