Skip to content

Instantly share code, notes, and snippets.

@LeeKahSeng
Created August 23, 2020 13:40
Show Gist options
  • Save LeeKahSeng/08c1a15f51b872e8df5a6e91984b914d to your computer and use it in GitHub Desktop.
Save LeeKahSeng/08c1a15f51b872e8df5a6e91984b914d to your computer and use it in GitHub Desktop.
struct SFSymbolNameContentConfiguration: UIContentConfiguration, Hashable {
var name: String?
func makeContentView() -> UIView & UIContentView {
// Initialize an instance of SFSymbolNameContentView
return SFSymbolNameContentView(configuration: self)
}
func updated(for state: UIConfigurationState) -> Self {
return self
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment