Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #678 #680

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Pod/Classes/Initializable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

internal protocol InitializableClass: class {
internal protocol InitializableClass: AnyObject {
init()
}

Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/SideMenuAnimationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal protocol AnimationModel {
var usingSpringWithDamping: CGFloat { get }
}

internal protocol SideMenuAnimationControllerDelegate: class {
internal protocol SideMenuAnimationControllerDelegate: AnyObject {
func sideMenuAnimationController(_ animationController: SideMenuAnimationController, didDismiss viewController: UIViewController)
func sideMenuAnimationController(_ animationController: SideMenuAnimationController, didPresent viewController: UIViewController)
}
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/SideMenuNavigationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ internal protocol MenuModel {
@objc optional func sideMenuDidDisappear(menu: SideMenuNavigationController, animated: Bool)
}

internal protocol SideMenuNavigationControllerTransitionDelegate: class {
internal protocol SideMenuNavigationControllerTransitionDelegate: AnyObject {
func sideMenuTransitionDidDismiss(menu: Menu)
}

Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/SideMenuPresentationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal protocol PresentationModel {
var menuWidth: CGFloat { get }
}

internal protocol SideMenuPresentationControllerDelegate: class {
internal protocol SideMenuPresentationControllerDelegate: AnyObject {
func sideMenuPresentationControllerDidTap(_ presentationController: SideMenuPresentationController)
func sideMenuPresentationController(_ presentationController: SideMenuPresentationController, didPanWith gesture: UIPanGestureRecognizer)
}
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/SideMenuTransitionController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import UIKit

internal protocol SideMenuTransitionControllerDelegate: class {
internal protocol SideMenuTransitionControllerDelegate: AnyObject {
func sideMenuTransitionController(_ transitionController: SideMenuTransitionController, didDismiss viewController: UIViewController)
func sideMenuTransitionController(_ transitionController: SideMenuTransitionController, didPresent viewController: UIViewController)
}
Expand Down