Is it possible to dynamically create a class?
Is it possible to dynamically create a class?
- Subject: Is it possible to dynamically create a class?
- From: Bob Ueland <email@hidden>
- Date: Fri, 17 Aug 2007 15:00:39 -0700 (PDT)
Is it possible to dynamically create a class?
Suppose for instance that I have an object called SimpleClassCreator that has a method called
createClass which accepts parameters giving the name of the class and the name and type of instance variables. The createclass would then dynamically (during runtime) create a class-object with the given name and the given instance variables, and would create one setter method and one getter method for each given instance variable. Is that possible?
Thanks Bob
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden