• 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: class members? info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: class members? info


  • Subject: Re: class members? info
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 19 Sep 2005 16:50:29 -0700


On Sep 19, 2005, at 4:38 PM, Jeff Childers wrote:

is there a way to ask 'SomeClass' about its ivars?( or whatever they are call).

You can look them up in the Obj-C runtime. Check the docs for the objc_class, objc_ivar_list, and objc_ivar data structures. Keep in mind that if you do this, you're breaking encapsulation, etc, etc.


-jcr

John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.



_______________________________________________
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


  • Follow-Ups:
    • Re: class members? info
      • From: Jeff Childers <email@hidden>
References: 
 >class members? info (From: Jeff Childers <email@hidden>)

  • Prev by Date: class members? info
  • Next by Date: Re: NSKeyedArchiver exception
  • Previous by thread: class members? info
  • Next by thread: Re: class members? info
  • Index(es):
    • Date
    • Thread