Skip to content

Instantly share code, notes, and snippets.

@msanders
Created April 27, 2016 18:27
Show Gist options
  • Save msanders/aa7fff5df9e34f08469053479c795c50 to your computer and use it in GitHub Desktop.
Save msanders/aa7fff5df9e34f08469053479c795c50 to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
int main() {
NSNumber *a = @1;
NSNumber *b = @2;
NSNumber *c = @200;
NSLog(@"%d", a < b); // Prints 1 (true)
NSLog(@"%d", a < c); // Prints 1 (true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment