• 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: How to find what kind of Objects are contained in NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find what kind of Objects are contained in NSArray


  • Subject: Re: How to find what kind of Objects are contained in NSArray
  • From: Moray Taylor <email@hidden>
  • Date: Sat, 10 Apr 2004 12:00:28 +0100

Hi,

Since they are all based on NSObject, could you use NSObject's class and superclass methods?

Moray

Hi,

I have an NSArray. It contains objects of type NSDictionary, NSString,
NSTextField etc in any order. For a given index how do I know whether
it is a NSDictionary or NSString or something else type object?



Thanks & Regards

Ramakrishna
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >How to find what kind of Objects are contained in NSArray (From: "Ramakrishna Kondapalli" <email@hidden>)

  • Prev by Date: Re: [OT] WWDC accommodation
  • Next by Date: Re: [ANN] AppKiDo 0.902
  • Previous by thread: How to find what kind of Objects are contained in NSArray
  • Next by thread: Re: How to find what kind of Objects are contained in NSArray
  • Index(es):
    • Date
    • Thread