This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct AMAlbumDetailsView: View { | |
| let albumArt: Image | |
| let title: String | |
| let artist: String | |
| let genre: String | |
| let releaseYear: String | |
| let quality: String | |
| let tracks: [String] | |
| @State private var playingTrack: String? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| import Transmission // https://github.com/nathantannar4/Transmission | |
| struct HeroMoveExample: View { | |
| let colors: [Color] = [.blue, .red, .green, .orange] | |
| var body: some View { | |
| NavigationStack { | |
| ScrollView(.vertical) { | |
| ForEach(colors, id: \.hashValue) { color in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ScrollIntoSheet.swift | |
| // (c) Théo Arrouye 2024 | |
| // | |
| // | |
| import SwiftUI | |
| struct ScrollIntoSheetView: View { | |
| let backgroundColor: Color = .black |
OlderNewer