You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
725 B
27 lines
725 B
//
|
|
// Stub.swift
|
|
// MyFirstProject
|
|
//
|
|
// Created by etudiant on 09/05/2023.
|
|
//
|
|
|
|
import Foundation
|
|
public struct Stub {
|
|
|
|
func load()->Album{
|
|
|
|
return Album(nom: "LE MOINE", type: "France Culture", image: "Moine", ranking: 12)
|
|
}
|
|
|
|
func loadAll()->[Album]{
|
|
|
|
return [Album(nom: "LE MOINE", type: "France Culture", image: "Moine", ranking: 12),
|
|
Album(nom: "MONDIO", type: "Monde Culture", image: "Image", ranking: 12),
|
|
Album(nom: "CHA", type: "Monde Culture ", image: "Image", ranking: 122),
|
|
Album(nom: "Indian d'Amerique du nord", type: "From India ", image: "Indien", ranking: 122)
|
|
]
|
|
}
|
|
|
|
}
|
|
// environnement(.\
|