Does [myObject valueForString:@"param"] == [NSNull nul] ? @"X":@"Y" mean the same as [myObject valueForString:@"param"] ? @"X":@"Y"
Does [myObject valueForString:@"param"] == [NSNull nul] ? @"X":@"Y" mean the same as [myObject valueForString:@"param"] ? @"X":@"Y"
- Subject: Does [myObject valueForString:@"param"] == [NSNull nul] ? @"X":@"Y" mean the same as [myObject valueForString:@"param"] ? @"X":@"Y"
- From: Devraj Mukherjee <email@hidden>
- Date: Wed, 17 Nov 2010 20:24:32 +1100
Hi all,
Does these two things mean the same?
[myObject valueForString:@"param"] == [NSNull nul] ? @"X":@"Y"
[myObject valueForString:@"param"] ? @"X":@"Y"
Thanks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden