UIView 하위 클래스를 컬렉션 뷰 바닥 글 (UICollectionReusableView)로 사용하려고합니다. 클래스가 이미 UIView의UIView 하위 클래스를 UICollectionView 바닥 글로 사용하는 방법
func collectionView(collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionReusableView {
guard let footerView = self.collectionView.dequeueReusableSupplementaryViewOfKind(UICollectionElementKindSectionFooter, withReuseIdentifier:"CustomUIView", forIndexPath: indexPath) as? UICollectionReusableView else { break }
return footerView
}