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
Code Block
// Configure symbols
let config = NSImage.SymbolConfiguration(textStyle: .body, scale: .small)
let shuffleButtonImage = shuffleImage.withSymbolConfiguration(config)
}


Replies

I am questioning this as well.
In addition: what is the line "shuffleImageView.image = shuffleImage" about? It generates an error.

5 lines of code, 2 errors.

Apple: I already know it is too much to ask to document anything, but does anybody check this stuff before spending a 10 second fragment on erroneous code? How in earth can this get passed any quality control?