Re: NSAttributedString - determine document type without loading?
Re: NSAttributedString - determine document type without loading?
- Subject: Re: NSAttributedString - determine document type without loading?
- From: Douglas Davidson <email@hidden>
- Date: Thu, 19 Jan 2006 09:33:25 -0800
On Jan 18, 2006, at 8:50 AM, Jim Correia wrote:
Is it possible to determine what document type NSAttributedString
will interpret a path/NSData object as without doing the full
interpretation? (i.e. just sniff enough of it to determine
NSDocumentTypeDocumentAttribute, then bail?)
We don't currently expose that functionality. I can tell you how to
sniff the types that NSAttributedString currently understands, but I
don't have a neat solution that will evolve with future changes.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden