Hello,
following the code examples in my book i came across this:
NSArray *components = [self.stateZips allKeys];
NSArray *sorted = [components sortedArrayUsingSelector😡selector(compare🙂];
self.states = sorted;
I understand the above pretty well, except for this part
°°
following the code examples in my book i came across this:
NSArray *components = [self.stateZips allKeys];
NSArray *sorted = [components sortedArrayUsingSelector😡selector(compare🙂];
self.states = sorted;
I understand the above pretty well, except for this part
What exactly is that please?@selector(compare🙂
°°