Skip to content

Commit

Permalink
Improve Objective-C interoperability with @objMembers attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabusi committed Jul 2, 2021
1 parent 355bb7c commit c122663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PulleyLib/PulleyViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public typealias PulleyAnimationCompletionBlock = ((_ finished: Bool) -> Void)
- open: When the drawer is fully open.
- 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
*/
@objc public class PulleyPosition: NSObject {
@objc @objcMembers public class PulleyPosition: NSObject {

public static let collapsed = PulleyPosition(rawValue: 0)
public static let partiallyRevealed = PulleyPosition(rawValue: 1)
Expand Down Expand Up @@ -209,7 +209,7 @@ public enum PulleySnapMode {
private let kPulleyDefaultCollapsedHeight: CGFloat = 68.0
private let kPulleyDefaultPartialRevealHeight: CGFloat = 264.0

open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {
@objcMembers open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDelegate {

// Interface Builder

Expand Down

0 comments on commit c122663

Please sign in to comment.