FROM : Scott Anguish
DATE : Fri Jun 23 20:15:28 2006
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
Articles/chapter_4_section_4.html#//apple_ref/doc/uid/TP30001163-CH7-
BAJCDADF>
specifically, the Class Types section
On Jun 23, 2006, at 2:13 PM, Jerrod Fowkes wrote:
> Hi,
>
> This is probably another api question. I am wondering if there is
> something that can determine the datatype of an object (aka address).
>
> For example, I have
>
> id object; //actual object that has been alloc'ed
>
> I need to know if object is an NSArray or a NSDictionary.
>
> something like:
>
> if (getType(NSArray) == getType(object))
>
> would be really nice. -Jerrod Fowkes
DATE : Fri Jun 23 20:15:28 2006
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
Articles/chapter_4_section_4.html#//apple_ref/doc/uid/TP30001163-CH7-
BAJCDADF>
specifically, the Class Types section
On Jun 23, 2006, at 2:13 PM, Jerrod Fowkes wrote:
> Hi,
>
> This is probably another api question. I am wondering if there is
> something that can determine the datatype of an object (aka address).
>
> For example, I have
>
> id object; //actual object that has been alloc'ed
>
> I need to know if object is an NSArray or a NSDictionary.
>
> something like:
>
> if (getType(NSArray) == getType(object))
>
> would be really nice. -Jerrod Fowkes
| Related mails | Author | Date |
|---|---|---|
| Jerrod Fowkes | Jun 23, 20:13 | |
| stephen joseph but… | Jun 23, 20:14 | |
| Scott Anguish | Jun 23, 20:15 |






Cocoa mail archive

