Skip to content

Commit

Permalink
🚨 Fix new warning in Xcode 12.5
Browse files Browse the repository at this point in the history
    - WARN  | xcodebuild:  /Users/phatblat/dev/swift/OAuthSwift/Sources/Handler/OAuthWebViewController.swift:23:49: warning: using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
  • Loading branch information
phatblat authored and phimage committed Apr 29, 2021
1 parent 2384f60 commit 3436c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Handler/OAuthWebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Foundation
#endif

/// Delegate for OAuthWebViewController
public protocol OAuthWebViewControllerDelegate: class {
public protocol OAuthWebViewControllerDelegate: AnyObject {

#if os(iOS) || os(tvOS)
/// Did web view presented (work only without navigation controller)
Expand Down

0 comments on commit 3436c73

Please sign in to comment.