FROM : Julien Jalon
DATE : Tue Nov 06 11:02:30 2007
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_removed>> 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_removed>
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
DATE : Tue Nov 06 11:02:30 2007
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_removed>> 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_removed>
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Thomas Schlömer | Nov 1, 11:58 | |
| Sean McBride | Nov 1, 17:20 | |
| Julien Jalon | Nov 6, 11:02 | |
| Thomas Schlömer | Nov 6, 12:59 | |
| Julien Jalon | Nov 6, 15:37 | |
| Thomas Schlömer | Nov 6, 17:22 | |
| Julien Jalon | Nov 6, 18:19 | |
| Shawn Erickson | Nov 6, 18:48 | |
| Thomas Schlömer | Nov 9, 11:20 |






Cocoa mail archive

