How to check if variable is a CFString?
Posted
by Sheehan Alam
on Stack Overflow
See other posts from Stack Overflow
or by Sheehan Alam
Published on 2010-04-01T00:14:37Z
Indexed on
2010/04/01
0:23 UTC
Read the original article
Hit count: 675
I am trying to set some text on a label
descriptionLabel.text = [NSString stringWithFormat:mySTUser.bio];
The bio property of mySTUser is an NSString. Sometimes it is not an NSString when I set it. How can I check if mySTUser.bio is an NSString so I can prevent it from being assigned to my label text?
© Stack Overflow or respective owner