How to make a share Link in swiftui?
ShareLink(item: URL(string: "https://learn-it-free.com)!)
Youtuber @CodeWithWilliamJiamin's Website
// // ContentView.swift // Links // // Created by WilliamJiamin on 2024/6/20. // import SwiftUI struct ContentView: View { var body: some View { VStack { Link("My Patreon Page", destination:…
// // ContentView.swift // Buttons // // Created by WilliamJiamin on 2024/6/20. // // //You can check more on Button at //https://developer.apple.com/documentation/swiftui/button import SwiftUI struct ContentView: View { @State private…
// // ContentView.swift // Buttons // // Created by WilliamJiamin on 2024/6/20. // // //You can check more on Button at //https://developer.apple.com/documentation/swiftui/button import SwiftUI struct ContentView: View { @State private…
This is a Default Button // // ContentView.swift // Buttons // // Created by WilliamJiamin on 2024/6/20. // import SwiftUI struct ContentView: View { var body: some View { VStack…
// // ColourGeneratorAppApp.swift // ColourGeneratorApp // // Created by WilliamJiamin on 2024/6/19. // import SwiftUI @main struct ColourGeneratorAppApp: App { var body: some Scene { WindowGroup { ContentView() } }…
// // ContentView.swift // Mini-SwiftUI-Project-Alert // // Created by WilliamJiamin on 2024/6/18. // import SwiftUI struct ContentView: View { @State private var isShowingAlert = false var body: some View {…
// // ContentView.swift // Mini-SwiftUI-Project-Alert // // Created by WilliamJiamin on 2024/6/18. // import SwiftUI struct ContentView: View { @State private var isShowingAlert = false var body: some View {…
// // DataListView.swift // ScrollableCardView // // Created by WilliamJiamin on 2024/7/2. // import SwiftUI struct DataListView: View { // let dateFormatter: DateFormatter = { // let formatter = DateFormatter()…