摘要:        
Compare methodEither you implement a compare-method for your object:-(NSComparisonResult)compare:(Person*)otherObject {return[self.birthDate compare:otherObject.birthDate];}NSArray*sortedArray;sortedArray =[drinkDetails sortedArrayUsingSelector:@selector(compare:)];NSSortDescriptor (better)or usuall    阅读全文
posted @ 2013-04-02 20:12
阿新
阅读(318)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号