Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torinkwok/230d25ca0412c6e2a074 to your computer and use it in GitHub Desktop.
Save torinkwok/230d25ca0412c6e2a074 to your computer and use it in GitHub Desktop.
Print attributes of Internet passphrase_0
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