Skip to content

Commit c803914

Browse files
committed
Improve Objective-C interoperability with @objMembers attribute
1 parent 67f259e commit c803914

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)
@@ -178,7 +178,7 @@ public enum PulleySnapMode {
178178
private let kPulleyDefaultCollapsedHeight: CGFloat = 68.0
179179
private let kPulleyDefaultPartialRevealHeight: CGFloat = 264.0
180180

181-
open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {
181+
@objcMembers open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {
182182

183183
// Interface Builder
184184

0 commit comments

Comments
 (0)