nil 对比任意字符串 都等于NSOrderedSame
NSString *astring01 = @"testString";
id temp = nil;
NSComparisonResult tempResult;
tempResult = [temp caseInsensitiveCompare:astring01];
NSLog(@"%ld",(long)tempResult);//0
(lldb) po tempResult
NSOrderedSame
(lldb) po temp
nil
(lldb) po astring01
testString