|
|
|
iOS - How to check null value? I will check but not working in iphone |
|
|
|
|
|
|
|
Code (Objective-C)
if (strBudname != [NSNull null] || strBudname.text.length != 0){
|
|
|
|
|
Date :
2013-12-05 15:47:10 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
not working coming error:
property text not found on object of type id
|
|
|
|
|
Date :
2013-12-05 16:58:06 |
By :
vishwa |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hope to help you
http://stackoverflow.com/questions/5684157/how-to-detect-if-nsstring-is-null
|
|
|
|
|
Date :
2013-12-06 15:47:38 |
By :
winterlovesong |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks
I use this one working
Code (Objective-C)
if (![strBudname isEqualToString:@"(null)"])
|
|
|
|
|
Date :
2013-12-06 18:05:04 |
By :
vishwa |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Date :
2013-12-07 07:33:44 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 01
|