Generally in the xcode programming, we can set Font to Labels,TextFields and many more.
Well in the same way can we set font to a string(NSString)?
Generally in the xcode programming, we can set Font to Labels,TextFields and many more.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No – An
NSStringis just, well, a string. What you are looking at is the presentation of a string. And, this is separate from the actual string. In the same way that NSDate is just a date, but the way you present it is through anNSDateFormatter.What you are looking for is the NSAttributedString class.