Safely access Apple's SF Symbols using static typing
Full Changelog: https://github.com/SFSafeSymbols/SFSafeSymbols/compare/4.1.1...5.2.0
Label
initializer to take an optional SFSymbol
(By Steven Sorial)README.md
(By David Furman)With this release, SFSafeSymbols
now supports the latest 4.0 SF Symbols! 🎉
Here's the full changelog:
UIImage.init(systemSymbol:variableValue:configuration:)
, NSImage.init(systemSymbol:variableValue:accessibilityDescription:)
and SwiftUI.Image.init(systemSymbol:variableValue:)
interfaces. (By Steven Magdy)UIImage.init(systemSymbol:compatibleWith:)
interface. (By Steven Magdy)SFSymbol
. (By Steven Magdy)UIButton.systemButton(with:target:selector:
and button.setImage(:for:)
interfaces. (By Steven Magdy)NSImage.init(systemSymbol:accessibilityDescription:)
interface. (By Steven Magdy)The 3.3 release is finally out, adding support for SF Symbols 3. 🚀 It also includes many other notable changes, including some changes that will speed up the release process for upcoming releases (see full changelog below; for some niche features there are also breaking changes).
A big thank you to everyone who made this release possible – with valuable contributions to the codebase or fruitful participation in discussions. 💙
allCases: [SFSymbol]
in favor of new allSymbols: Set<SFSymbol>
. (By Steven Magdy)SFSymbol
from enum
to class
, using static let ...
instead of case
for individual symbols. This allows for specification of custom symbols as static let
s in extension
s to SFSymbol
and fixes an issue that prevented rawValue
initialization of symbols. (By Steven Magdy)SFSafeSymbols-Dynamic
product in the Package.swift
in favour of a new unified SFSafeSymbols
product with automatic selection between static / dynamic linking. (By Steven Magdy)swift build
. (By Frederick Pietschmann)Label.init(_:systemImage:)
type inference issue (By ddddxxx)