What are NSComparisonResult and NSComparator ?
I saw one of the type definitions, something like this:
typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
Is it different from a function pointer?
Also, I canβt even guess what the ^ symbol means.
ios objective-c iphone function-pointers objective-c-blocks
wh1t3cat1k
source share