Tuesday, June 28, 2011

SBJson null

To test if a value parsed by SBJson in a NSDictionary is null  do this:

if ((CFNullRef)[participant valueForKey:kIndex] == kCFNull) {
   // do something
}

No comments:

Post a Comment