Skip to content

Commit c122663

Browse files
committed
Improve Objective-C interoperability with @objMembers attribute
1 parent 355bb7c commit c122663

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)
@@ -209,7 +209,7 @@ public enum PulleySnapMode {
209209
private let kPulleyDefaultCollapsedHeight: CGFloat = 68.0
210210
private let kPulleyDefaultPartialRevealHeight: CGFloat = 264.0
211211

212-
open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {
212+
@objcMembers open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {
213213

214214
// Interface Builder
215215

0 commit comments

Comments
 (0)