Swift入门的东东

a.. a...b a到b的闭区间

图片数组

let imageName = ["1", "2", "3", "4", "5"]
let images = imageName.map{(UIImage(named:$0))}
images

let image = images[0];
let imageView = UIImageView(frame: CGRectMake(0, 0, 750, 1334))
imageView.image = image

你可能感兴趣的:(Swift入门的东东)