I've been getting an errors while building about undefined symbols when trying to use
Code Block primarySidebarTrackingSeparatorItemIdentifier |
or
Code Block supplementarySidebarTrackingSeparatorItemIdentifier |
on Xcode 12 beta1 & beta2. Am I doing something wrong, or are these not yet available in the betas?
Try this, for now:
Code Block extension NSToolbarItem.Identifier { |
static let primarySeparator = NSToolbarItem.Identifier(rawValue: "NSToolbarPrimarySidebarTrackingSeparatorItem") |
static let supplementarySeparator = NSToolbarItem.Identifier(rawValue: "NSToolbarSupplementarySidebarTrackingSeparatorItem") |
} |