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.
37 lines
1.0 KiB
37 lines
1.0 KiB
//
|
|
// ContentView.swift
|
|
// MySwiftUi
|
|
//
|
|
// Created by etudiant on 11/05/2023.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct ContentView: View {
|
|
var body: some View {
|
|
TabView {
|
|
EcouteView().tabItem{
|
|
Label("Ecouter",systemImage: "play.circle")
|
|
}
|
|
.foregroundColor(.accentColor)
|
|
|
|
Explorer().tabItem{
|
|
Label("Explorer",systemImage: "square.grid.2x2")
|
|
}
|
|
.foregroundColor(.accentColor)
|
|
AffichageMenu().tabItem{
|
|
Label("Bibliotheque",systemImage: "square.stack.fill")
|
|
}.foregroundColor(.accentColor)
|
|
RechercheView().tabItem{
|
|
Label("Recherche",systemImage: "magnifyingglass")
|
|
}
|
|
}}
|
|
}
|
|
|
|
struct ContentView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
ContentView()
|
|
ContentView().environment(\.colorScheme,.dark)
|
|
}
|
|
}
|