Objective-C, constants

Posted by SpecialK on Stack Overflow See other posts from Stack Overflow or by SpecialK
Published on 2010-05-31T09:44:37Z Indexed on 2010/05/31 10:12 UTC
Read the original article Hit count: 188

Filed under:
|
|

How do you initialise a constant in a header file?

For example:

@interface MyClass : NSObject {

const int foo;

}

@implementation MyClass

-(id)init:{?????;}

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about header