I saw a lot of colored text questions answered by "check out NSAttributedString", but the constant NSForegroundColorAttributeNamedefined for Mac OS seems not to be defined for iOS 3.2 +
NSAttributedString
NSForegroundColorAttributeName
Use a constant instead kCTForegroundColorAttributeName.
kCTForegroundColorAttributeName
Source: https://habr.com/ru/post/1754042/More articles:Android configuration screen during installation - androidКак использовать пользовательскую Android ViewGroup в XML? - androidNinject how to access the kernel for instantiation? - asp.net-mvcGroup a collection of items in Colorbox - jqueryjQuery / Ajax call - it does not work on IE7 - jqueryProblem NSTimer - objective-cOrganizing Java Programs: How Can I Get Rid of This Mass Case Report? - javaSuicide: Objective-C objects by calling their own methods -dealloc - objective-cHow to use netstream.appendBytes () to dynamically stream HTTP? - flashjQuery - a function call at any time when the user changes the input of any form? - javascriptAll Articles