iOS-UI-用for循环铺各色小方块
for (CGFloat i = 0; i < 375; i+= 75) {
for (CGFloat j = 0; j < 667; j+=83.375) {
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(i, j, 375 / 5, 83.375)];
view.backgroundColor = [UIColor colorWithRed:arc4random() % 256 / 255.0 green:arc4random() % 256 / 255.0 blue:arc4random() % 256 / 255.0 alpha:1];
[self.view addSubview:view];
}
}