Skip to content

Commit

Permalink
Fix protocol way.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Apr 29, 2021
1 parent 16cbce3 commit 0dfbeaf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SPPermissions.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SPPermissions"
s.version = "5.5"
s.version = "5.5.1"
s.summary = "Ask permissions on Swift. Available List, Dialog & Native interface. Can check state permission."
s.homepage = "https://github.com/ivanvorobei/SPPermissions"
s.source = { :git => "https://github.com/ivanvorobei/SPPermissions.git", :tag => s.version }
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import UIKit
/**
Implement it for customize permission name, description, icon and other.
*/
public protocol SPPermissionsDataSource: class {
public protocol SPPermissionsDataSource: AnyObject {

/**
Configure cell here. Soon add description for each property.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import UIKit
/**
List of events methods. All optional.
*/
@objc public protocol SPPermissionsDelegate: class {
@objc public protocol SPPermissionsDelegate: AnyObject {

/**
Call when permission allowed.
Expand Down

0 comments on commit 0dfbeaf

Please sign in to comment.