From dfb01136ab6244a5b37bb6aecedd0526669ef4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=BCrsel=20T=C3=BCrk?= Date: Fri, 21 Sep 2018 12:58:33 +0200 Subject: [PATCH] Use Swift 4.2 --- Sources/ReusableKit/UICollectionView+ReusableKit.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/ReusableKit/UICollectionView+ReusableKit.swift b/Sources/ReusableKit/UICollectionView+ReusableKit.swift index 8d0b909..16a81a7 100644 --- a/Sources/ReusableKit/UICollectionView+ReusableKit.swift +++ b/Sources/ReusableKit/UICollectionView+ReusableKit.swift @@ -7,16 +7,16 @@ public enum SupplementaryViewKind: String { public init?(rawValue: String) { switch rawValue { - case UICollectionElementKindSectionHeader: self = .header - case UICollectionElementKindSectionFooter: self = .footer + case UICollectionView.elementKindSectionHeader: self = .header + case UICollectionView.elementKindSectionFooter: self = .footer default: return nil } } public var rawValue: String { switch self { - case .header: return UICollectionElementKindSectionHeader - case .footer: return UICollectionElementKindSectionFooter + case .header: return UICollectionView.elementKindSectionHeader + case .footer: return UICollectionView.elementKindSectionFooter } } }