Skip to content

Commit

Permalink
Merge pull request #24 from pouriaalmassi/task/resolve-xcode-12.5-cla…
Browse files Browse the repository at this point in the history
…ss-protocol-inheritance-warning

Resolve Xcode 12.5 warning
  • Loading branch information
gonzalonunez authored May 9, 2021
2 parents 526fd26 + 1ccc13d commit 000efd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Skeleton/GradientsOwner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit

/// A protocol that allows grouping `CAGradientLayer`s together. Useful to have built-in sliding
/// behavior for all `CAGradientLayer`s in `gradientLayers`.
public protocol GradientsOwner: class {
public protocol GradientsOwner: AnyObject {
/// The `CAGradientLayer`s that will be sliding when `slide(to dir: Direction)` is called.
var gradientLayers: [CAGradientLayer] { get }
}
Expand Down

0 comments on commit 000efd6

Please sign in to comment.