How to load a text-resource from a bundle (Plugin)
∞
me at infinite-labs.net
Sat Dec 29 13:51:01 PST 2007
Il giorno 29/dic/07, alle ore 16:28, Aya Koshigaya ha scritto:
> And what should I use as ClassName? I don't have any ObjC Classes..
> only normal C-Classes.. can I use these too?
This confuses me greatly, as C does not have classes. Maybe you're
referring to C++?
Anyway, if your bundle has an identifier set correctly in Info.plist,
you can use [NSBundle bundleWithIdentifier:@"identifier"] to retrieve
a NSBundle object for it. You should see <http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/BPRuntimeConfig.html
>, which explains most of it (the relevant key is CFBundleIdentifier).
- ∞
More information about the MacOSX-dev
mailing list