diff --git a/Sources/CollectionViewFactory.swift b/Sources/CollectionViewFactory.swift index 69a1ed0..7c34cb5 100644 --- a/Sources/CollectionViewFactory.swift +++ b/Sources/CollectionViewFactory.swift @@ -113,7 +113,6 @@ extension CollectionViewFactory mappings.addMappingForViewType(.SupplementaryView(kind: kind), viewClass: T.self, xibName: reuseIdentifier) } else { - collectionView.registerClass(supplementaryClass, forSupplementaryViewOfKind: kind, withReuseIdentifier: reuseIdentifier) mappings.addMappingForViewType(.SupplementaryView(kind: kind), viewClass: T.self) } }