Re: Screen savers on Snow Leopard

2009-08-03 Thread Kyle Sluder
Snow Leopard is under NDA. You can't talk about it here, but you can at http://devforums.apple.com. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Screen savers on Snow Leopard

2009-08-03 Thread I. Savant
On Aug 3, 2009, at 4:09 PM, Jim O'Connor wrote: Are there new requirements for Snow Leopard and screen savers which must be met? Snow Leopard is still under non-disclosure agreement and cannot be discussed on this list. Use the developer forums at the Apple Developer Connection site.

Re: Screen Savers

2009-04-10 Thread Michael Ash
On Fri, Apr 10, 2009 at 5:49 PM, Nicko van Someren wrote: > On 10 Apr 2009, at 12:46, Dave Keck wrote: > >> To get the path to a bundle that's loaded inside an arbitrary process, >> I create a stub subclass of NSObject (let's call it MyStubClass) and >> simply call [NSBundle bundleForClass: [MyStu

Re: Screen Savers

2009-04-10 Thread Nicko van Someren
On 10 Apr 2009, at 12:46, Dave Keck wrote: To get the path to a bundle that's loaded inside an arbitrary process, I create a stub subclass of NSObject (let's call it MyStubClass) and simply call [NSBundle bundleForClass: [MyStubClass class]]; This technique is the most straightforward way I kno

Re: Screen Savers

2009-04-10 Thread Development
Ty for the information :) On Apr 10, 2009, at 11:37 AM, Development wrote: I'm writing a screen saver that needs to load a resource from it's own bundle path. However [[NSBundle mainBundle] resourcePath] of course loads only from the system preferences bundle. So, how can I load a resource

Re: Screen Savers

2009-04-10 Thread Dave Keck
> +bundleWithIdentifier: is also available if there's no obviously suitable > class to use with +bundleForClass:. ... and according to the docs: +bundleWithIdentifier: This method is typically used by frameworks and plug-ins to locate their own bundle at runtime. This method may be somewhat more

Re: Screen Savers

2009-04-10 Thread Douglas Davidson
On Apr 10, 2009, at 11:46 AM, Dave Keck wrote: To get the path to a bundle that's loaded inside an arbitrary process, I create a stub subclass of NSObject (let's call it MyStubClass) and simply call [NSBundle bundleForClass: [MyStubClass class]]; +bundleWithIdentifier: is also available if th

Re: Screen Savers

2009-04-10 Thread Dave Keck
To get the path to a bundle that's loaded inside an arbitrary process, I create a stub subclass of NSObject (let's call it MyStubClass) and simply call [NSBundle bundleForClass: [MyStubClass class]]; This technique is the most straightforward way I know of to accomplish what you're looking for - i