For the record.

I have to use, of course,

   NSBundle * bundle = [NSBundle bundleForClass:[self class]];

because a screen saver is a bundle that is loaded by other applications, such as System Preferences.
Hence, the mainBundle is not the bundle of the screen saver ...


Best regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to