• 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
Is it possible to dynamically create a class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Is it possible to dynamically create a class?
      • From: Chris Hanson <email@hidden>
    • Re: Is it possible to dynamically create a class?
      • From: mmalc crawford <email@hidden>
    • Re: Is it possible to dynamically create a class?
      • From: Oleg Kibirev <email@hidden>
    • Re: Is it possible to dynamically create a class?
      • From: Scott Thompson <email@hidden>
    • Re: Is it possible to dynamically create a class?
      • From: Todd Blanchard <email@hidden>
  • Prev by Date: Re: Tracking rectangles with Cocoa views in Carbon windows
  • Next by Date: Re: Is it possible to dynamically create a class?
  • Previous by thread: Re: How to use Automator workflows in a Cocoa application?
  • Next by thread: Re: Is it possible to dynamically create a class?
  • Index(es):
    • Date
    • Thread