經安全檢測,此網站為安全網站,請放心前往原始網址!

Objective-C Tutorial: NSArray | iPhone Programming Tutorials

You can plug in any of the string compare functions there to compare the strings. If you are sorting an NSArray of custom objects (like users), you can overwrite the compare method for that object and pass compare in for the selector. Just make sure you .

www.icodeblog.com

網址安全性掃描由 google 提供