• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is it possible to dynamically create a class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to dynamically create a class?


  • Subject: Re: Is it possible to dynamically create a class?
  • From: Todd Blanchard <email@hidden>
  • Date: Fri, 17 Aug 2007 15:05:50 -0700

Take a look at FSClass for FScript.
http://pages.cs.wisc.edu/~weinrich/projects/FSClass/
http://www.fscript.org/


On Aug 17, 2007, at 3:00 PM, Bob Ueland wrote:

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

_______________________________________________

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


References: 
 >Is it possible to dynamically create a class? (From: Bob Ueland <email@hidden>)

  • Prev by Date: Is it possible to dynamically create a class?
  • Next by Date: Re: Is it possible to dynamically create a class?
  • Previous by thread: Is it possible to dynamically create a class?
  • Next by thread: Re: Is it possible to dynamically create a class?
  • Index(es):
    • Date
    • Thread