Dynamically creating a class
Dynamically creating a class
- Subject: Dynamically creating a class
- From: Dirk Theisen <email@hidden>
- Date: Thu, 22 Nov 2001 16:52:32 +0100 (Europe/Berlin)
Hi!
I want to dynamically creat a subclass of a given objc class, add
methods to it and so forth.
Therefore, I already fiddled with the runtime and was able to add
methods to existing classes and to create subclass-structs. The classes
created do work partly. Esp. adding method to those classes makes the
runtime freak out.
Is there any info on what to do in order to create a subclass at runime?
Has anybody written code to accomplish that?
Regards,
Dirk
--
Dirk Theisen <email@hidden>
Diplominformatiker
Rvmerstr. 164, D-53117 Bonn (Germany)
Tel. +4922873-4504 (Fax: -4382)