ios - Error: Expected a type (NSColor) -


its giving me error of "expected type" on first line, says problem nscolor*. developing ios 7. latest version of xcode , osx.

- (nsstring*)colornamefromcolor:(nscolor*)chosencolor {     // ... } 

you developing ios. nscolor not valid type ios, osx. instead use uicolor.

- (nsstring*)colornamefromcolor:(uicolor*)chosencolor {     // ... } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -