iPhone/iPadアプリ開発・objective-c・Xcode・iOSなどに関するメモ
NSArray *array = @[@"January", @"February", @"March", @"April", @"May", @"June", @"July", @"August", @"September", @"October", @"November", @"December" ]; // 逆順にループ for (NSString *month in [array reverseObjectEnumerator]) { NSLog(@"%@", month); }
0 件のコメント:
コメントを投稿