Re: Extend QuickLook to other standard files
Re: Extend QuickLook to other standard files
- Subject: Re: Extend QuickLook to other standard files
- From: "Julien Jalon" <email@hidden>
- Date: Tue, 6 Nov 2007 11:02:30 +0100
To have proper Quick Look support (as well as Spotlight support and likely
any good OS-wide support in the future), you need to first properly declare
your file UTI (see corresponding documentation in Xcode). Additionally, if
your UTI is declared to conform to "public.plain-text", Quick Look and
Spotlight will automatically supports them. Even better, make your UTI
conforms to public.source-code (which already conforms to public.plain-text
).
--
Julien
On 11/1/07, Sean McBride <email@hidden> wrote:
>
> On 11/1/07 11:58 AM, Thomas Schlömer said:
>
> >as the new QuickLook feature in Leopard handles many standard file
> >types I ask myself if I can simply extend this behaviour to other
> >standard file types without actually building a new generator. For
> >example, I'd like QuickLook not only to handle common source code
> >(like .c, .cpp and .m files) like plain text files but also another
> >file type, let's say .asm. Of course, in this case .asm files are as
> >plain text as are other source code files.
>
> Well, if your .asm files also have the 'TEXT' file type, then QuickLook
> will treat them as text! Yay for file system metadata!
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
> _______________________________________________
>
> 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
>
_______________________________________________
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