Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Commit 632eada

Browse files
committed
Add missing optional to CocoaAction.execute param
1 parent f24d018 commit 632eada

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ReactiveCocoa/Swift/Action.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public final class CocoaAction: NSObject {
236236

237237
/// Attempts to execute the underlying action with the given input, subject
238238
/// to the behavior described by the initializer that was used.
239-
@IBAction public func execute(input: AnyObject) {
239+
@IBAction public func execute(input: AnyObject?) {
240240
_execute(input)
241241
}
242242

0 commit comments

Comments
 (0)