We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, if I want to use circled numbers in a for-loop, I have to use this approach:
let matchedSymbol = SFSymbol(rawValue: "\(index + 1).circle") if SFSymbol.allSymbols.contains(matchedSymbol) {
What if SFSymbol(maybeRawValue: String) which returns a nullable SFSymbol? This can simplify the things above into:
if let matchedSymbol = SFSymbol(maybeRawValue: "\(index + 1).circle") {
FYI.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, if I want to use circled numbers in a for-loop, I have to use this approach:
What if SFSymbol(maybeRawValue: String) which returns a nullable SFSymbol?
This can simplify the things above into:
if let matchedSymbol = SFSymbol(maybeRawValue: "\(index + 1).circle") {
FYI.
The text was updated successfully, but these errors were encountered: