๐ ๊ฐ๋ฐ/iOS
[iOS] Objective-C NSString์ ๊ฐ์ null ์ฒดํฌํ๋ ๋ฐฉ๋ฒ
devshin.kr
2021. 10. 13. 14:01
728x90
NSString *nsStr = @"Hello World";
if ([nsStr isEqual: [NSNull null]])
printf("null");
else
printf("not null");
https://stackoverflow.com/questions/19546920/how-to-check-nsstring-is-null-or-not
how to Check NSString is null or not
I want to check weather a NSString is null or not. Im assigning from an JSON array. After assigning that string value is . Now I want to check this string is null or not. So I put like ...
stackoverflow.com