Posts

Post not yet marked as solved
1 Replies
859 Views
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) }
Posted
by rdodson.
Last updated
.