what is the equivalent of object in C# for objective C?

Posted by Wayne Lo on Stack Overflow See other posts from Stack Overflow or by Wayne Lo
Published on 2010-05-27T22:55:48Z Indexed on 2010/05/27 23:21 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

In c# I can declare object o; then I can assign o=(float)5.0; or o="a string." Is there an equivalent for Objective-C? I tried to use id but it does not take primitive type like float or integer. Thanks for helping.

© Stack Overflow or respective owner

Related posts about c#

Related posts about objective-c