Post

Replies

Boosts

Views

Activity

SwiftUI Picker Label
I have set up a "Picker" which works well, EXCEPT that the Label won't appear, I have struggled around this and I am sure the solution is very simple, here's what I have. import SwiftUI import SwiftData struct iPadReadingsEntry: View { @State private var whatOccasion: String = "" let occassions = ["Misc", "Breakfast", "Mid Day Meal", "Evening Meal", "Bed Time"] var body: some View { . . . HStack{ Picker("Before What Occasion :", selection: $whatOccasion ){ ForEach(occassions, id: \.self) { Text($0) } }.pickerStyle(MenuPickerStyle()) .background(Color(red: 255, green: 253, blue: 208)) Spacer() }.padding(.leading, 80) .padding(.bottom, 30) . . .
1
0
1.4k
May ’24
XCode Cross Platform Linux
Is it possible to use XCode as an IDE to develop C++ apps on my Ubuntu server (cross platform)? I have tried many IDEs and none of the ones I tried came close to the functionality of XCode (and none of the ones I have tried work well cross platform).
0
0
371
Jul ’24