• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Use Cocoa in QL Generator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use Cocoa in QL Generator


  • Subject: Re: Use Cocoa in QL Generator
  • From: David Blanton <email@hidden>
  • Date: Wed, 15 Jul 2009 17:08:31 -0600

Yep, that's it ... and since I am using c++ as well my files are .mm


On Jul 15, 2009, at 4:57 PM, Kiel Gillard wrote:

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


References: 
 >Use Cocoa in QL Generator (From: David Blanton <email@hidden>)
 >Re: Use Cocoa in QL Generator (From: Kiel Gillard <email@hidden>)
 >Re: Use Cocoa in QL Generator (From: Kiel Gillard <email@hidden>)

  • Prev by Date: Re: NSSocketPort initRemoteWithTCPPort is never valid
  • Next by Date: Re: Core Data debugging
  • Previous by thread: Re: Use Cocoa in QL Generator
  • Next by thread: Why this program does not run without nib file?
  • Index(es):
    • Date
    • Thread