         //        log("\(#function): real -> \(indexPath.row)")
     }
 }
+
 
 // MARK: - UICollectionViewDataSource
 extension HFSwipeView: UICollectionViewDataSource {

    }
}

public class HFSwipeView: UIView {
    
    private var kSwipeViewCellContentTag: Int!
    private let kSwipeViewCellIdentifier = NSUUID().UUIDString
    private let kPageControlHeight: CGFloat = 20
    private let kPageControlHorizontalPadding: CGFloat = 10
    
    private var pageControl: UIPageControl!
    private var currentRealPage: Int = -1
    public var currentPage: Int = -1
    public var centerView: UIView? {
        let center = centerOffset()
        guard let indexPath = collectionView!.indexPathForItemAtPoint(center) else {

        }
        return nil
    }
    
    
    public var collectionBackgroundColor: UIColor? {
        set {
            collectionView!.backgroundView?.backgroundColor = newValue
