Swift -Array -Karte zu einem anderen Array
self.imageViews = photoURLs.map()
{
guard let data = NSData(contentsOf: $0), let image = UIImage(data: data)
{
return UIImageView(image: nil)
}
return UIImageView(image: image)
}
Valeriya Pekar