Re: How to tell linker to bind init at runtime
Re: How to tell linker to bind init at runtime
- Subject: Re: How to tell linker to bind init at runtime
- From: Erik Buck <email@hidden>
- Date: Wed, 5 Apr 2006 05:38:52 -0700 (PDT)
- init and its variations are seldom class methods.
Class methods and instance methods are identical from a linker's point of view.
Class names are only known in linker contexts that contain the class.
I suggest you use [[NSClassFromString(@"SomeClassNotInPlugin") alloc] init];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden