Skip to content

Commit 734d5b3

Browse files
committed
Improve Objective-C interoperability with @objMembers attribute
1 parent 9951d86 commit 734d5b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PulleyLib/PulleyViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public typealias PulleyAnimationCompletionBlock = ((_ finished: Bool) -> Void)
7676
- open: When the drawer is fully open.
7777
- closed: When the drawer is off-screen at the bottom of the view. Note: Users cannot close or reopen the drawer on their own. You must set this programatically
7878
*/
79-
@objc public class PulleyPosition: NSObject {
79+
@objc @objcMembers public class PulleyPosition: NSObject {
8080

8181
public static let collapsed = PulleyPosition(rawValue: 0)
8282
public static let partiallyRevealed = PulleyPosition(rawValue: 1)
@@ -193,7 +193,7 @@ public enum PulleySnapMode {
193193
private let kPulleyDefaultCollapsedHeight: CGFloat = 68.0
194194
private let kPulleyDefaultPartialRevealHeight: CGFloat = 264.0
195195

196-
open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {
196+
@objcMembers open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {
197197

198198
// Interface Builder
199199

0 commit comments

Comments
 (0)