Skip to content

Commit

Permalink
Merge pull request #16 from RenGate/master
Browse files Browse the repository at this point in the history
Prevented a bug where supplementary views defined in storyboards would have uninitialized outlets.
  • Loading branch information
DenTelezhkin committed Jan 10, 2016
2 parents c788d5b + 2f5c372 commit bdcafa5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/CollectionViewFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit bdcafa5

Please sign in to comment.