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.
38 lines
625 B
38 lines
625 B
//
|
|
// LibraryView.swift
|
|
// PodcastsClone
|
|
//
|
|
// Created by etudiant on 2023-05-16.
|
|
//
|
|
/*
|
|
import SwiftUI
|
|
|
|
|
|
|
|
|
|
struct LibraryView: View {
|
|
// some random stuff
|
|
var podcasts =
|
|
[
|
|
Podcast(id: 0),
|
|
Podcast(id: 1),
|
|
Podcast(id: 2)
|
|
];
|
|
|
|
var body: some View {
|
|
NavigationStack{
|
|
List(podcasts, id: \.id) { currentPodcast in
|
|
//PodcastDetailView(podcast: currentPodcast)
|
|
PodcastDetailView()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
struct LibraryView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
LibraryView()
|
|
}
|
|
}
|
|
*/
|