views:

13

answers:

1

Hi guys.

I have a weird problem.

I am trying to setup User Defined Runtime Attribute in the IB. As shown below I setup a NSString statID attribute in my viewController and wanted to give it a test value 00000 in IB

User Defined Runtime Attributes

When I compile that I get this error when building: "User defined runtime attributes on Mac OS X versions prior to 10.6"

I know I can set up user defined attributes in iOS from the iOS docs found here go down to section: "Configuring Runtime Attributes for Custom Objects"

Any idea why it is giving me the error?

A: 

OK, I got an answer.

So here it goes.

I am using the beta version of XCode 4. As it is a beta versions it has errors, one of them is displaying "User Defined Runtime Attributes" window in an IB. The error "User defined runtime attributes on Mac OS X versions prior to 10.6" informs you that "User Defined Runtime Attributes" option is only availabe for OS X apps and not for iOS.

It dissapoints me but at least I don't have to wonder why is it not working.

Cyprian