Loading a class with a specific superclass from a bundle

2008-08-05 Thread Elan Feingold
Hi, I can load the principal class of a bundle with: NSBundle* bundleToLoad = [NSBundle bundleWithPath:@...]; Class exampleClass = [bundleToLoad principalClass]); However, I have a situation where I have a bundle that has a class *without* a principal class, but it has a class that is a

Re: Loading a class with a specific superclass from a bundle

2008-08-05 Thread Bill Bumgarner
On Aug 5, 2008, at 11:19 AM, Elan Feingold wrote: I can load the principal class of a bundle with: NSBundle* bundleToLoad = [NSBundle bundleWithPath:@...]; Class exampleClass = [bundleToLoad principalClass]); However, I have a situation where I have a bundle that has a class *without* a

Re: Loading a class with a specific superclass from a bundle

2008-08-05 Thread Negm-Awad Amin
Am Di,05.08.2008 um 20:41 schrieb Bill Bumgarner: On Aug 5, 2008, at 11:19 AM, Elan Feingold wrote: I can load the principal class of a bundle with: NSBundle* bundleToLoad = [NSBundle bundleWithPath:@...]; Class exampleClass = [bundleToLoad principalClass]); However, I have a situation

Re: Loading a class with a specific superclass from a bundle

2008-08-05 Thread Michael Ash
On Tue, Aug 5, 2008 at 2:19 PM, Elan Feingold [EMAIL PROTECTED] wrote: Hi, I can load the principal class of a bundle with: NSBundle* bundleToLoad = [NSBundle bundleWithPath:@...]; Class exampleClass = [bundleToLoad principalClass]); However, I have a situation where I have a bundle that

Re: Loading a class with a specific superclass from a bundle

2008-08-05 Thread Chris Hanson
On Aug 5, 2008, at 11:19 AM, Elan Feingold wrote: I can load the principal class of a bundle with: NSBundle* bundleToLoad = [NSBundle bundleWithPath:@...]; Class exampleClass = [bundleToLoad principalClass]); Actually, this loads the bundle and then gets its principal class. Loading a

Re: Loading a class with a specific superclass from a bundle

2008-08-05 Thread Jean-Daniel Dupas
Le 5 août 08 à 21:59, Chris Hanson a écrit : On Aug 5, 2008, at 11:19 AM, Elan Feingold wrote: I can load the principal class of a bundle with: NSBundle* bundleToLoad = [NSBundle bundleWithPath:@...]; Class exampleClass = [bundleToLoad principalClass]); Actually, this loads the bundle and