This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +youens is my blockchain ID. https://onename.com/youens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (BOOL)parseBooleanValueFromString:(NSString *)value defaultValue:(BOOL)defaultValue { | |
if (!value) return defaultValue; | |
if ([@[@"1", @"yes", @"on", @"true"] containsObject:[value lowercaseString]]) { | |
return YES; | |
} | |
else if ([@[@"0", @"no", @"off", @"false"] containsObject:[value lowercaseString]]) { | |
return NO; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)application:(UIApplication *)application | |
openURL:(NSURL *)url | |
sourceApplication:(NSString *)sourceApplication | |
annotation:(id)annotation { | |
NSLog(@"url recieved: %@", url); | |
NSLog(@"scheme: %@", [url scheme]); | |
NSLog(@"query string: %@", [url query]); | |
NSLog(@"host: %@", [url host]); |