Re: Another Icon Question
Re: Another Icon Question
- Subject: Re: Another Icon Question
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 24 Aug 2010 19:04:32 +0200
Le 24 août 2010 à 17:57, Mark Ritchie a écrit :
> Hey!
>
> On 24/Aug/2010, at 7:43 AM, email@hidden wrote:
>> I added CoreServices.framework to my project since it contains LaunchServices.framework.
> When I tried this, I had to explicitly include LaunchServices.framework
>
>> The referenced header is in LaunchServices.framework, but still not found. What do I need to do for the project to see this header?
> And, I used this directive to import the headers:
> #import <LaunchServices/LaunchServices.h>
Don't include it directly. This is a subumbrella framework and should always be referenced though its parent framework. Instead use:
#import <CoreServices/CoreServices.h>
> Then things seemed to compile ok and command clicking 'kToolbarDesktopFolderIcon' took me to the proper header file. ;-)
>
> HTH!
> M.
-- Jean-Daniel
_______________________________________________
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