SwiftUI Quick Tip: Apply Text Transformations

English colored physical letters made of textile thrown around randomly, with the title text transformation in SwiftUI overlapping at the bottom left side
Text("Hello World!!!")
.font(.largeTitle)
Text("Hello World!!!")
.font(Font.largeTitle)
Text("Hello World!!!")
.font(Font.largeTitle.smallCaps())
Text("Hello World!!!")
.font(Font.system(size: 40, weight: .bold).lowercaseSmallCaps())
Text("Hello World!!!")
.font(Font.custom("AvenirNext-Bold", size: 40).uppercaseSmallCaps())

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store