Closest cocoa equivalent of enum

Posted by G.P. Burdell on Stack Overflow See other posts from Stack Overflow or by G.P. Burdell
Published on 2010-06-17T21:52:25Z Indexed on 2010/06/17 22:13 UTC
Read the original article Hit count: 288

Filed under:
|
|
|
|

Is there a Cocoa class has similar functionality to enumerated values from C? I know that I can just use enums in Cocoa, but what if I want to put an enum in an NSArray (which only accepts objects)?

© Stack Overflow or respective owner

Related posts about c

    Related posts about objective-c