UICollectionView Custom Layout Tutorial: A Spinning Wheel을 Swift 5로 작성한 글입니다. 1. UICollectionViewCell class CollectionViewCell: UICollectionViewCell { override func apply(_ layoutAttributes: UICollectionViewLayoutAttributes) { super.apply(layoutAttributes) guard let layoutAttributes = layoutAttributes as? CollectionViewLayoutAttributes else { return } layer.anchorPoint = layoutAttributes.anchorP..