skip to Main Content

loading images from API in collectionview ios – Ios swift

This is my API: http://swaminarayanwales.org.uk/DailyDarshan/ExportJsonV2.php?sMandir=Nairobi-Temple&Target=real&sm=sm I AM trying to get images from API in collection view import UIKit struct Images: Decodable { let images = [imageUrl]() } struct imageUrl: Decodable { let imageloc: String } class ViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource…

VIEW QUESTION
Back To Top
Search