Re: TextEdit Document Icon
Re: TextEdit Document Icon
- Subject: Re: TextEdit Document Icon
- From: Lee Ann Rucker <email@hidden>
- Date: Tue, 02 Dec 2014 21:28:08 +0000
- Thread-topic: TextEdit Document Icon
It's probably being done by this QuickLook plugin:
qlmanage -m plugins
public.plain-text -> /System/Library/QuickLook/Text.qlgenerator
There's no sample code for that, but there is QuickLookSketch for the Sketch sample app. QuickLook puts the turned-down corner on for you.
On Dec 2, 2014, at 11:28 AM, Richard Charles <email@hidden> wrote:
> A TextEdit plain text document has a file icon that shows a page with turned down upper right corner with a preview of the document and has the characters “TXT” on top.
>
> In looking through the TextEdit sample code provided by Apple, I am trying to find where the plain text document preview and “TXT” overlay is implemented. Does anyone know where this code is located?
>
> Thanks.
>
> Richard Charles
>
>
> _______________________________________________
>
> 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:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_cocoa-2Ddev_lrucker-2540vmware.com&d=AAIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=ie7S-J__EKnfyVOBV7-jV2rZ--p47O6vkyTklpDM3h4&m=vib7cbkeR8eaE0iiGbyJ1GVhNQBDHjm-Yo2mr1q6SgU&s=C2r2hp2G7AZfakmZqXKiiLRsCYajEEDHetTBejF0LF4&e=
>
> 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