Skip to content

Commit fca8082

Browse files
committed
Add explicitly @objc because Swift 4 compiler does not infer this.
1 parent 6d67c9a commit fca8082

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/BubbleTransition.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ open class BubbleTransition: NSObject {
4242
The point that originates the bubble. The bubble starts from this point
4343
and shrinks to it on dismiss
4444
*/
45-
open var startingPoint = CGPoint.zero {
45+
@objc open var startingPoint = CGPoint.zero {
4646
didSet {
4747
bubble.center = startingPoint
4848
}
@@ -52,18 +52,18 @@ open class BubbleTransition: NSObject {
5252
The transition duration. The same value is used in both the Present or Dismiss actions
5353
Defaults to `0.5`
5454
*/
55-
open var duration = 0.5
55+
@objc open var duration = 0.5
5656

5757
/**
5858
The transition direction. Possible values `.present`, `.dismiss` or `.pop`
5959
Defaults to `.Present`
6060
*/
61-
open var transitionMode: BubbleTransitionMode = .present
61+
@objc open var transitionMode: BubbleTransitionMode = .present
6262

6363
/**
6464
The color of the bubble. Make sure that it matches the destination controller's background color.
6565
*/
66-
open var bubbleColor: UIColor = .white
66+
@objc open var bubbleColor: UIColor = .white
6767

6868
open fileprivate(set) var bubble = UIView()
6969

0 commit comments

Comments
 (0)