objective-c determine if parameter is an object
Posted
by Broch Pirate
on Stack Overflow
See other posts from Stack Overflow
or by Broch Pirate
Published on 2010-04-29T05:58:32Z
Indexed on
2010/04/29
9:57 UTC
Read the original article
Hit count: 468
in Objective-c I have this function prototype: -(NSString*)formatSQL:(NSString*) sql, ... I may pass to this function any type of parameters: NSString, NSNumber, integer, float How can I determine in the function if a parameter is an object (NSString..) or a primitive (integer...)? thanks BrochPirate
© Stack Overflow or respective owner