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

    callback

    Function called when the data arrives

    photos

    The photos that were retrieved

    error

    The error, if any, encountered