Fa.*_*uri 0 iphone xcode warnings objective-c ios
我用这段代码来比较两个字符串:
NSComparisonResult result = [cellTitle compare:searchText options:(NSCaseInsensitiveSearch && NSLiteralSearch)];
Run Code Online (Sandbox Code Playgroud)
但是xcode显示有关使用逻辑&&的警告,并且提供按位使用,按位和比较不会返回正确的结果.
我该如何解决?
| 归档时间: |
|
| 查看次数: |
474 次 |
| 最近记录: |