Quickly generate iOS and Mac app icons using SwiftUI.
FIRE:
struct Icon: View {
var icon : some View {
return Image(systemName: "flame.fill")
.foregroundColor(.white)
.font(
Font.system(size: 650)
.weight(.ultraLight)
)
.shadow(radius: 10)
}
var background : some View {
LinearGradient(gradient: Gradient(colors: [.red, .orange, .yellow]), startPoint: .bottom, endPoint: .top)
}
...
}
- Edit Icon.swift, create your icon using SwiftUI
- Run via Command Line:
swift run
. This will generate your icon for you and select it in Finder.
- Rasterizing code written by eneko: https://github.com/eneko/ConsoleUI