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

class members? info


  • Subject: class members? info
  • From: Jeff Childers <email@hidden>
  • Date: Mon, 19 Sep 2005 18:38:24 -0500

lets say I have implemented this

@interface SomeClass : NSObject <NSCoding> {
	 int one;
	 int two;
	 int three;
	 NSString* four;
}

is there a way to ask 'SomeClass' about its ivars?( or whatever they are call).
Asking their names and data types.


If they are objects I can use
- (BOOL) isKindOfClass: (Class) aClass
it would be a convoluted way at best and I still have no way to get the c data types
is there a better way without having to create a method that returns this information? _______________________________________________
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: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: JOB: Boulder, CO - need Mac Developer with Cocoa experience!
  • Next by Date: Re: class members? info
  • Previous by thread: Trouble with NSKeyValueChangeInsertion
  • Next by thread: Re: class members? info
  • Index(es):
    • Date
    • Thread