Skip to content

Commit

Permalink
Merge pull request #89 from lightsprint09/remove-use-of-class
Browse files Browse the repository at this point in the history
Remove usage of keyword class as protocol constraint
  • Loading branch information
lightsprint09 authored Dec 6, 2021
2 parents e8533f3 + dd86055 commit 247e6fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/DataProvider/Changes/DataProviderObservable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import Foundation

/// A observable which notifies about data provider changes.
public protocol DataProviderObservable: class {
public protocol DataProviderObservable: AnyObject {

/// Observe the changes of a data provider.
///
Expand Down
2 changes: 1 addition & 1 deletion Source/DataProvider/DataProvider/DataProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import Foundation
/// It is generic over Object, which is the kind of data it provides.
///
/// - SeeAlso: `AnyDataProvider`
public protocol DataProvider: class {
public protocol DataProvider: AnyObject {

/// Element is the kind of data `DataProvider` provides.
associatedtype Element
Expand Down

0 comments on commit 247e6fc

Please sign in to comment.