DALIPhoto
public class DALIPhoto
Photo class for getting a list of all photos from the API
-
Gets list of photo urls
Declaration
Swift
public static func get(callback: @escaping (_ photos: [String], _ error: DALIError.General?) -> Void)Parameters
callbackFunction called when the data arrives
photosThe photos that were retrieved
errorThe error, if any, encountered
View on GitHub
DALIPhoto Class Reference