开发者

NSPredicate strings greater comparision

I am trying to compare if one NSString is "greater" than other NSString and I am stuck. Actually, my NSString contains a date and want to get all these objects that are greater than it. I know I should 开发者_C百科convert it to date, but I want to keep it as NSString. Thank You!


Something like

[string1 compare:otherString] == NSOrderedDescending
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜