Post

Replies

Boosts

Views

Activity

NSImage SymbolConfiguration
In the WWCD 2020 video "SF Symbols 2" at 18:10 there is some AppKit code that shows NSImage having a SymbolConfiguration() method. However as of XCode 12 Beta 3 there is no such method for NSImage. (UIImage does have it). Will this be fixed soon? // Using SF Symbols in AppKit if let shuffleImage = NSImage( systemSymbolName: "shuffle", accessibilityDescription: "shuffle") { shuffleImageView.image = shuffleImage// Configure symbols let config = NSImage.SymbolConfiguration(textStyle: .body, scale: .small) let shuffleButtonImage = shuffleImage.withSymbolConfiguration(config) }
1
0
1k
Jul ’20