Dear Scott,

Thank you so much!
mainBundle() works well.

Best Regards
Jeff Chen

-----Original Message-----
From: Scott Ribe [mailto:scott_r...@elevated-dev.com]
Sent: Friday, July 01, 2011 2:46 PM
To: Chen, Jeff (SDCC)
Cc: 'cocoa-dev@lists.apple.com'
Subject: Re: How to get the applicaiton name that loads bundle

On Jul 1, 2011, at 12:25 AM, Chen, Jeff (SDCC) wrote:

> Is there anyone who knows this?

Haven't done it from a PDE specifically, but in general [NSBundle mainBundle] 
will give you the bundle of the executing application, and you can go from 
there.

--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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

Reply via email to