lock
From Font Awesome · font-awesome.lock
In Xcode, drag the template into an asset catalog, where it appears as font-awesome.lock.
Image("font-awesome.lock")
.font(.title)
.fontWeight(.semibold)
Label("Lock", image: "font-awesome.lock")let configuration = UIImage.SymbolConfiguration(
pointSize: 24, weight: .semibold, scale: .medium)
let image = UIImage(named: "font-awesome.lock", in: nil, with: configuration)let configuration = NSImage.SymbolConfiguration(
pointSize: 24, weight: .semibold, scale: .medium)
let image = NSImage(named: "font-awesome.lock")?
.withSymbolConfiguration(configuration)