You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selected has issues when you subclass an Objective-C NSView or UIView with an isSelected getter (example is NSTableRowView) and also conform it to View.
The synthesized swift name (isSelected) cannot coexist with the View conformance selected.
This seemed to work ok in Swift <3.2, but no longer works in Swift 3.2+.
We should move this to an emum of selectionStyle to match highlightStyle. This will also give us a bit more flexibility in types of selection state.
We should also give NSView and UIView classes that have a selected property easy free implementations of selectionState.
This is a breaking change.
The text was updated successfully, but these errors were encountered:
selected
has issues when you subclass an Objective-CNSView
orUIView
with anisSelected
getter (example isNSTableRowView
) and also conform it toView
.The synthesized swift name (
isSelected
) cannot coexist with the View conformanceselected
.This seemed to work ok in Swift <3.2, but no longer works in Swift 3.2+.
We should move this to an emum of
selectionStyle
to matchhighlightStyle
. This will also give us a bit more flexibility in types of selection state.We should also give
NSView
andUIView
classes that have a selected property easy free implementations ofselectionState
.This is a breaking change.
The text was updated successfully, but these errors were encountered: