objective c - Invalid color System, labelColor (warning given only once) -


i getting following warning on os x 10.9 console @ time of nib load(nswindowcontroller).

invalid color system, labelcolor (warning given once) 

i using xcode 6 , os x 10.10 compile code. warning coming because of nscolor exposes new system colors in 10.10 static text , related elements: labelcolor, secondarylabelcolor, tertiarylabelcolor, , quaternarylabelcolor.

how fix warning?

change textfield's color in xib file from:

<color key="textcolor" name="labelcolor" catalog="system" colorspace="catalog"/> 

to:

<color key="textcolor" name="textcolor" catalog="system" colorspace="catalog"/> 

since "labelcolor" not formal color name in osx 10.9.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -