diff --git a/Parchment/Classes/PagingBorderLayoutAttributes.swift b/Parchment/Classes/PagingBorderLayoutAttributes.swift index 57f5aad..982d956 100644 --- a/Parchment/Classes/PagingBorderLayoutAttributes.swift +++ b/Parchment/Classes/PagingBorderLayoutAttributes.swift @@ -1,8 +1,8 @@ import UIKit open class PagingBorderLayoutAttributes: UICollectionViewLayoutAttributes { - open var backgroundColor: UIColor? - open var insets: UIEdgeInsets = UIEdgeInsets() + nonisolated(unsafe) open var backgroundColor: UIColor? + nonisolated(unsafe) open var insets: UIEdgeInsets = UIEdgeInsets() open override func copy(with zone: NSZone? = nil) -> Any { let copy = super.copy(with: zone) as! PagingBorderLayoutAttributes diff --git a/Parchment/Classes/PagingCellLayoutAttributes.swift b/Parchment/Classes/PagingCellLayoutAttributes.swift index 4db5703..05a4b01 100644 --- a/Parchment/Classes/PagingCellLayoutAttributes.swift +++ b/Parchment/Classes/PagingCellLayoutAttributes.swift @@ -3,7 +3,7 @@ import UIKit /// A custom `UICollectionViewLayoutAttributes` subclass that adds a /// `progress` property indicating how far the user has scrolled. open class PagingCellLayoutAttributes: UICollectionViewLayoutAttributes { - open var progress: CGFloat = 0.0 + nonisolated(unsafe) open var progress: CGFloat = 0.0 open override func copy(with zone: NSZone? = nil) -> Any { let copy = super.copy(with: zone) as! PagingCellLayoutAttributes diff --git a/Parchment/Classes/PagingIndicatorLayoutAttributes.swift b/Parchment/Classes/PagingIndicatorLayoutAttributes.swift index 253a09f..df76c72 100644 --- a/Parchment/Classes/PagingIndicatorLayoutAttributes.swift +++ b/Parchment/Classes/PagingIndicatorLayoutAttributes.swift @@ -1,7 +1,7 @@ import UIKit open class PagingIndicatorLayoutAttributes: UICollectionViewLayoutAttributes { - open var backgroundColor: UIColor? + nonisolated(unsafe) open var backgroundColor: UIColor? open override func copy(with zone: NSZone? = nil) -> Any { let copy = super.copy(with: zone) as! PagingIndicatorLayoutAttributes