I am studying Objective-C, I know NSLog to print out, But I am lost with this %-20s %-32s.
What is this -20s and -32s doing here
-(void) list
{
NSLog (@"======== Contents of: %@ =========", bookName);
for ( AddressCard *theCard in book )
NSLog (@"%-20s %-32s", [theCard.name UTF8String],
[theCard.email UTF8String]);
Array Objects 339
NSLog (@"==================================================");
}
@
====================================
| |
| Tony Iannino |
| tony.iannino@techfitness.com |
| |
| |
| |
| O O |
====================================