@@ -21,7 +21,7 @@ extension Action.Identifier {
21
21
}
22
22
23
23
/// A menu element that performs its action in a closure.
24
- public class Action : MenuElement {
24
+ open class Action : MenuElement {
25
25
// MARK - Creating an Action
26
26
27
27
/// Creates an action.
@@ -45,29 +45,29 @@ public class Action: MenuElement {
45
45
// MARK - Getting Information About the Action
46
46
47
47
/// The action's title.
48
- public override var title : String {
48
+ open override var title : String {
49
49
get { super. title }
50
50
set { super. title = newValue }
51
51
}
52
52
53
53
/// The action's image.
54
- public override var image : Image ? {
54
+ open override var image : Image ? {
55
55
get { super. image }
56
56
set { super. image = newValue }
57
57
}
58
58
59
59
/// The unique identifier for the action.
60
- public private( set) var identifier : Action . Identifier
60
+ open private( set) var identifier : Action . Identifier
61
61
62
62
/// An elaborated title that explains the purpose of the action.
63
- public var discoverabilityTitle : String ?
63
+ open var discoverabilityTitle : String ?
64
64
65
65
/// The attributes indicating the style of the action.
66
- public var attributes : MenuElement . Attributes
66
+ open var attributes : MenuElement . Attributes
67
67
68
68
/// The state of the action.
69
- public var state : MenuElement . State
69
+ open var state : MenuElement . State
70
70
71
71
/// The object responsible for the action handler.
72
- public var sender : Any ?
72
+ open internal ( set ) var sender : Any ?
73
73
}
0 commit comments