Re: Use Cocoa in QL Generator
Re: Use Cocoa in QL Generator
- Subject: Re: Use Cocoa in QL Generator
- From: Kiel Gillard <email@hidden>
- Date: Thu, 16 Jul 2009 08:57:39 +1000
Sorry, I thought I remember reading in the Quick Look documentation
the steps required to write code with and link it against the Cocoa
framework.
Starting with a Quick Look Plugin Template in Xcode,
- Choose from the menu bar Project > Add to Project... and add the
framework /System/Library/Frameworks/Cocoa.framework.
- Replace the .c extensions for every file using the Objective-C code
to .m.
- #import <Cocoa/Cocoa.h> in your .m files.
Hope this helps,
Kiel
On 16/07/2009, at 12:16 AM, David Blanton wrote:
I have already read that. Do I just need to include the Cocoa
Framework and include Cocoa.h ?
On Jul 14, 2009, at 6:48 PM, Kiel Gillard wrote:
Read the documentation:
http://devworld.apple.com/documentation/UserExperience/Conceptual/Quicklook_Programming_Guide/Introduction/Introduction.html
The samples there use Cocoa as well as CoreFoundation.
On 15/07/2009, at 10:34 AM, David Blanton wrote:
I want to use Cocoa calls in my GenerateThumbnailForURL
what do I ahve to do to use Cocoa ?
_______________________________________________
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