Skip to content

Instantly share code, notes, and snippets.

@sturdysturge
Created April 24, 2023 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturdysturge/79e44906ced2d6be2d3893249352c87a to your computer and use it in GitHub Desktop.
Save sturdysturge/79e44906ced2d6be2d3893249352c87a to your computer and use it in GitHub Desktop.
import SwiftUI
import SFSafeSymbols
@available(iOS 16.0, *)
struct ContentView: View {
var body: some View {
VStack {
Image(systemSymbol: SFSymbol.fishFill)
// Equivalent to
Image(systemName: SFSymbol.fishFill.rawValue)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment