Skip to content

Repository files navigation

PrivateSymbols

This is a simple package to allow usage of private SF Symbols, and the ability to access the set of SF Symbols arbitrarily.

Using private symbols should be fine, this package re-exposes Image(_internalSystemName:) which is exposed in the SwiftUI.swiftinterface. You may face other issues though.

struct MyEpicView: View {
  var body: some View {
    VStack {
      Image(systemName: "person.circle.fill")
        .resizable()
        .aspectRatio(contentMode: .fit)
      
      Image(privateSystemName: "bluetooth")
        .resizable()
        .aspectRatio(contentMode: .fit)
    }
  }
}

wanna read the sf symbols? sure just import SFSymbolsSet and use it for whatever you want. it doesnt use private apis but it does read from the sf symbols framework resources so it might get rejected too also the string paths aren't obfuscated.

good news the strings are now obfuscated a bit.

About

List all SF Symbols and use private symbols

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages