Skip to content

Instantly share code, notes, and snippets.

@mattyoung
Created December 23, 2022 14:28
Show Gist options
  • Save mattyoung/f680b54a8087c9607ac831491f735198 to your computer and use it in GitHub Desktop.
Save mattyoung/f680b54a8087c9607ac831491f735198 to your computer and use it in GitHub Desktop.
import SwiftUI
import Algorithms
enum VariableSFSymbol {
static func columnsOfSymbols(columnCount: Int) -> [[String]] {
Self.allVariableSFSymbolNames.chunks(ofCount: columnCount).map({ Array($0) })
}
static let allVariableSFSymbolNames = [
"rectangle.and.pencil.and.ellipsis",
"externaldrive.badge.wifi",
"externaldrive.fill.badge.wifi",
"chart.bar.doc.horizontal",
"chart.bar.doc.horizontal.fill",
"shareplay",
"person.wave.2",
"person.wave.2.fill",
"person.2.wave.2",
"person.2.wave.2.fill",
"person.3.sequence",
"person.3.sequence.fill",
"rays",
"slowmo",
"timelapse",
"cursorarrow.click.2",
"aqi.low",
"aqi.medium",
"aqi.high",
"water.waves",
"water.waves.and.arrow.up",
"water.waves.and.arrow.down",
"speaker.wave.1",
"speaker.wave.1.fill",
"speaker.wave.2",
"speaker.wave.2.fill",
"speaker.wave.2.circle",
"speaker.wave.2.circle.fill",
"speaker.wave.3",
"speaker.wave.3.fill",
"badge.plus.radiowaves.right",
"badge.plus.radiowaves.forward",
"mic.and.signal.meter",
"mic.and.signal.meter.fill",
"target",
"bell.and.waveform",
"bell.and.waveform.fill",
"bell.and.waves.left.and.right",
"bell.and.waves.left.and.right.fill",
"message.and.waveform",
"message.and.waveform.fill",
"ellipsis.message",
"ellipsis.message.fill",
"ellipsis.bubble",
"ellipsis.bubble.fill",
"ellipsis.vertical.bubble",
"ellipsis.vertical.bubble.fill",
"speaker.wave.2.bubble.left",
"speaker.wave.2.bubble.left.fill",
"phone.and.waveform",
"phone.and.waveform.fill",
"phone.down.waves.left.and.right",
"video.and.waveform",
"video.and.waveform.fill",
"ellipsis",
"ellipsis.circle",
"ellipsis.circle.fill",
"ellipsis.rectangle",
"ellipsis.rectangle.fill",
"wand.and.rays",
"wand.and.rays.inverse",
"lines.measurement.horizontal",
"homekit",
"sprinkler.and.droplets",
"sprinkler.and.droplets.fill",
"shower.sidejet",
"shower.sidejet.fill",
"shower",
"shower.fill",
"shower.handheld",
"shower.handheld.fill",
"sensor",
"sensor.fill",
"wifi.router",
"wifi.router.fill",
"key.radiowaves.forward",
"key.radiowaves.forward.fill",
"wifi",
"wifi.circle",
"wifi.circle.fill",
"wifi.square",
"wifi.square.fill",
"mappin.and.ellipse",
"sensor.tag.radiowaves.forward",
"sensor.tag.radiowaves.forward.fill",
"airtag.radiowaves.forward",
"airtag.radiowaves.forward.fill",
"iphone.gen1.radiowaves.left.and.right",
"iphone.gen1.radiowaves.left.and.right.circle",
"iphone.gen1.radiowaves.left.and.right.circle.fill",
"iphone.gen2.radiowaves.left.and.right",
"iphone.gen2.radiowaves.left.and.right.circle",
"iphone.gen2.radiowaves.left.and.right.circle.fill",
"iphone.gen3.radiowaves.left.and.right",
"iphone.gen3.radiowaves.left.and.right.circle",
"iphone.gen3.radiowaves.left.and.right.circle.fill",
"iphone.radiowaves.left.and.right",
"iphone.radiowaves.left.and.right.circle",
"iphone.radiowaves.left.and.right.circle.fill",
"applewatch.radiowaves.left.and.right",
"airplayaudio",
"airplayaudio.circle",
"airplayaudio.circle.fill",
"airplayaudio.badge.exclamationmark",
"dot.radiowaves.left.and.right",
"dot.radiowaves.right",
"dot.radiowaves.forward",
"wave.3.left",
"wave.3.left.circle",
"wave.3.left.circle.fill",
"wave.3.backward",
"wave.3.backward.circle",
"wave.3.backward.circle.fill",
"wave.3.right",
"wave.3.right.circle",
"wave.3.right.circle.fill",
"wave.3.forward",
"wave.3.forward.circle",
"wave.3.forward.circle.fill",
"dot.radiowaves.up.forward",
"antenna.radiowaves.left.and.right",
"antenna.radiowaves.left.and.right.circle",
"antenna.radiowaves.left.and.right.circle.fill",
"car.front.waves.up",
"car.front.waves.up.fill",
"car.rear.waves.up",
"car.rear.waves.up.fill",
"car.top.radiowaves.rear.right",
"car.top.radiowaves.rear.right.fill",
"car.top.radiowaves.rear.left",
"car.top.radiowaves.rear.left.fill",
"car.top.radiowaves.front",
"car.top.radiowaves.front.fill",
"car.top.radiowaves.rear",
"car.top.radiowaves.rear.fill",
"car.top.radiowaves.rear.left.and.rear.right",
"car.top.radiowaves.rear.left.and.rear.right.fill",
"ear.and.waveform",
"hearingdevice.and.signal.meter",
"hearingdevice.and.signal.meter.fill",
"ellipsis.viewfinder",
"camera.metering.center.weighted",
"camera.metering.matrix",
"camera.metering.multispot",
"square.stack.3d.down.right",
"square.stack.3d.down.right.fill",
"square.stack.3d.down.forward",
"square.stack.3d.down.forward.fill",
"square.stack.3d.up",
"square.stack.3d.up.fill",
"square.stack.3d.forward.dottedline",
"square.stack.3d.forward.dottedline.fill",
"livephoto",
"alarm.waves.left.and.right",
"alarm.waves.left.and.right.fill",
"square.3.layers.3d.down.right",
"square.3.layers.3d.down.left",
"square.3.layers.3d.down.forward",
"square.3.layers.3d.down.backward",
"square.3.layers.3d",
"chart.bar",
"chart.bar.fill",
"cellularbars",
"chart.bar.xaxis",
"chart.dots.scatter",
"waveform",
"waveform.circle",
"waveform.circle.fill",
"waveform.badge.plus",
"waveform.badge.minus",
"waveform.badge.exclamationmark",
"waveform.and.magnifyingglass",
"waveform.and.mic",
"touchid",
"ellipsis.curlybraces",
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment