diff --git a/PinterestLayout/PinterestLayout.swift b/PinterestLayout/PinterestLayout.swift index 8554de7..32b453b 100644 --- a/PinterestLayout/PinterestLayout.swift +++ b/PinterestLayout/PinterestLayout.swift @@ -17,7 +17,7 @@ public class PinterestLayout: UICollectionViewLayout { /** Delegate. */ - public var delegate: PinterestLayoutDelegate! + public weak var delegate: PinterestLayoutDelegate! /** Number of columns. */