Post

Replies

Boosts

Views

Activity

Reply to how to make custom font to align in center of the frame
seems to be a font characteristic, I apply a padding to it: struct ContentView: View { @ScaledMetric(relativeTo: .largeTitle) var scaledPadding: CGFloat = 7     var body: some View {         VStack(spacing: 20){             Text("SEPTEMBER")                 .font(.largeTitle)                 .border(.blue)             Text("SEPTEMBER")                 .font(.custom("Founders Grotesk Light", size: 30))                 .border(.orange)             Text("SEPTEMBER")                 .font(.custom("Arial Hebrew", size: 20, relativeTo: .largeTitle))                 .padding(scaledPadding)                 .border(.red)         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’23
Reply to iOS 16.3 in Simulator
doesn't look like there is a new Xcode for that release - no new beta atm, I don't think Apple release updated Xcode every time there is a new iOS released my understanding is, 16.3 doesn't different that much from 16.2 in terms of running the app on the sim
Feb ’23
Reply to swift and ChatGPT
ChatGPT is trained already - knows all the information. If you would like to create something similar, you would have to provide data for training and create a new model. Apple has machine learning but it's different to ChatGPT. I hope I understood your question correctly. You can use ChatGPT API in your app.
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’23