Created
March 2, 2015 01:17
-
-
Save torinkwok/230d25ca0412c6e2a074 to your computer and use it in GitHub Desktop.
Print attributes of Internet passphrase_0
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
if ( IMDbLoginPassphrase ) | |
{ | |
NSLog( @"==============================" ); | |
// Use the `account` property | |
NSLog( @"IMDb User Name: %@", IMDbLoginPassphrase.account ); | |
// Use the `passphrase` property | |
NSLog( @"Passphrase: %@", [ [ [ NSString alloc ] initWithData: IMDbLoginPassphrase.passphrase encoding: NSUTF8StringEncoding ] autorelease ] ); | |
// Use the `comment` property | |
NSLog( @"Comment: %@", IMDbLoginPassphrase.comment ); | |
NSLog( @"==============================" ); | |
// -setComment: | |
IMDbLoginPassphrase.comment = @"👿👿👿👿👿👿"; | |
} | |
else | |
NSLog( @"I'm so sorry!" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment