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)         }     } }
Mar ’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.
Jan ’23