Geri Borbás
Geri Borbás

Reputation: 16598

What does xCode color scheme item "Attributes" stand for?

Working on an xCode color scheme, but I just can't make Attributes work. It actually does not tint __attribute__ statements.

enter image description here

// Not this.
NSString a* __attribute__((visibility("default")));
// Nor this.
__strong NSString *b;
// So what?

Upvotes: 2

Views: 273

Answers (2)

zgosalvez
zgosalvez

Reputation: 384

It's used with XML markup. You can see the applied attribute color by opening a storyboard as source code instead of interface builder.

Upvotes: 2

oiledCode
oiledCode

Reputation: 8649

Well,

// Declare the availability of a particular API
void f(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.6)));

something good to read about it attribute

Upvotes: 0

Related Questions