Skip to content

Commit

Permalink
Added version 6 SF Symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ActuallyTaylor committed Oct 11, 2024
1 parent edc849b commit cbc14ba
Show file tree
Hide file tree
Showing 15 changed files with 25,185 additions and 682 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let package = Package(
.iOS(.v13),
.macOS(.v11),
.watchOS(.v4),
.tvOS(.v17)
.tvOS(.v15)
],
products: [
.library(
Expand Down
5 changes: 4 additions & 1 deletion Sources/SFSymbols/SFSymbol/SFSymbol+CaseIterable.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
extension SFSymbol: CaseIterable {
public static var allCases: [SFSymbol] {
if #available(iOS 17, macOS 15, watchOS 15, tvOS 17, *) {
if #available(iOS 17, macOS 14, watchOS 10, tvOS 17, *) {
return sfSymbolsV4 + sfSymbolsV5
}
if #available(iOS 18, macOS 15, watchOS 11, tvOS 18, *) {
return sfSymbolsV4 + sfSymbolsV5 + sfSymbolsV6
}

return sfSymbolsV4
}
Expand Down
Loading

0 comments on commit cbc14ba

Please sign in to comment.