Le 24 août 2010 à 17:57, Mark Ritchie a écrit : > Hey! > > On 24/Aug/2010, at 7:43 AM, k...@highrolls.net 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 (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com