Post

Replies

Boosts

Views

Activity

Reply to Hiding chevron from list, SwiftUI
ForEach (patients) { patient in NavigationLink (value: patient) { PatientRow(patient: patient) } } .onDelete(perform: deletePatient) .listRowSeparator(.hidden) } .listStyle(.plain) .buttonStyle(PlainButtonStyle()) .scrollIndicators(.hidden) .navigationDestination(for: Patient.self) { patient in PatientDetails(patient: patient) }
Topic: UI Frameworks SubTopic: SwiftUI
Jun ’24
Reply to Text Don't Show in swipeActions buttons !
Thanks, it's working now, one last question is it possible to use views such as in code below ? maybe for example I want to show to circle buttons ? I remember Apple Mail used this design before ? Kind Regards Button(role: .destructive) { withAnimation { deletePatient2() } } label: { View1() } Button { deletePatient2() } label: { View2() } .tint(.orange) }
Jul ’24
Reply to SwiftUI Updates
So developers who are experimenting now uses beta versions of Xcode and Ventura ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to placeholderText Color
No, you mean I should import UIKit or what ? Didn’t get you ? But the quaternaryLabel works without any extension?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to What's the # symbol in swift documentation
Thanks allot, but it’s not related to generics definition correct ? Didn’t see any generic definitions using this symbol ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to NavigationSplitView Collapse Button
Aha, thanks allot .
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Math Functions in Swift
Thanks allot
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to What's the # symbol in swift documentation
Ok. Thanks allot.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to NavigationSplitView Collapse Button
Hi, I tried the code it works, expect one thing, the default back button shows as well, how can we remove it ? Kindest Regards
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Access Control SwiftUI Structs
Thanks allot
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Adding multi view to NavigationPath in one go
Thanks allot
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Customizing Back Button in Column 2 "Content" in SplitView
Thanks allot
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Plain Segmented Control
Thanks allot, that doesn't work even when choosing white color the default gray background stays
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Details panel catching show/hide
Thanks allot
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Hiding chevron from list, SwiftUI
ForEach (patients) { patient in NavigationLink (value: patient) { PatientRow(patient: patient) } } .onDelete(perform: deletePatient) .listRowSeparator(.hidden) } .listStyle(.plain) .buttonStyle(PlainButtonStyle()) .scrollIndicators(.hidden) .navigationDestination(for: Patient.self) { patient in PatientDetails(patient: patient) }
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’24
Reply to Hiding chevron from list, SwiftUI
Above the foreach there's a line of code "List {" don't know why Apple editor cut it, the code formatting is very bad by the way.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’24
Reply to Text Don't Show in swipeActions buttons !
Thanks, it's working now, one last question is it possible to use views such as in code below ? maybe for example I want to show to circle buttons ? I remember Apple Mail used this design before ? Kind Regards Button(role: .destructive) { withAnimation { deletePatient2() } } label: { View1() } Button { deletePatient2() } label: { View2() } .tint(.orange) }
Replies
Boosts
Views
Activity
Jul ’24