import UIKit

class VConnectStandbyWalk:VCollection<
    ArchConnect,
    VConnectStandbyWalkCell>
{
    
}

import UIKit

class VConnectStandbyWalk:VCollection<
    ArchConnect,
    VConnectStandbyWalkCell>
{
    private var cellSize:CGSize?
    
    required init(controller:CConnect)
    {
        super.init(controller:controller)
        collectionView.isPagingEnabled = true
        
        if let flow:VCollectionFlow = collectionView.collectionViewLayout as? VCollectionFlow
        {
            flow.scrollDirection = UICollectionViewScrollDirection.horizontal
        }
    }
    
    required init?(coder:NSCoder)
    {
        return nil
    }
    
    override func collectionView(
        _ collectionView:UICollectionView,
        layout collectionViewLayout:UICollectionViewLayout,
        sizeForItemAt indexPath:IndexPath) -> CGSize
    {
        guard
        
            let cellSize:CGSize = self.cellSize
        
        else
        {
            let width:CGFloat = collectionView.bounds.width
            let height:CGFloat = collectionView.bounds.height
            let cellSize:CGSize = CGSize(
                width:width,
                height:height)
            self.cellSize = cellSize
            
            return cellSize
        }
        
        return cellSize
    }
}

Add cell size to walk
Add cell size to walk
