Answers for "objective c for loop"

2

loop in objective c

#import <Foundation/Foundation.h>

int main(int argc, char * argv[]) {
  @autoreleasepool {
    for (int i = 0; i < 5; i++) {
      // Will print 5 times.
      NSLog (@"Iteration #: %i", i);
    }
  }
}
Posted by: Guest on September-09-2021

Code answers related to "Objective-C"

Browse Popular Code Answers by Language