├── .gitignore ├── Carousel.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── Carousel ├── Application │ ├── AppDelegate.swift │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Base.lproj │ └── MainViewController.storyboard ├── Library │ ├── CollectionViewDataSource.swift │ ├── Extensions │ │ └── UIKit │ │ │ ├── UICollectionView.swift │ │ │ ├── UICollectionViewCell.swift │ │ │ └── UIStoryboard.swift │ ├── InfiniteCollectionViewDataSource.swift │ └── Reusable │ │ ├── Cells │ │ ├── ActionCell │ │ │ ├── ActionCell.swift │ │ │ └── ActionCell.xib │ │ └── DiscountCell │ │ │ ├── DiscountCell.swift │ │ │ └── DiscountCell.xib │ │ └── FlowLayouts │ │ ├── CenteredFlowLayout.swift │ │ └── LeftedFlowLayout.swift ├── MainViewController.swift ├── Models │ ├── Action.swift │ └── Discount.swift └── Resources │ └── Images │ └── Assets.xcassets │ ├── AppIcon.appiconset │ └── Contents.json │ ├── Contents.json │ ├── action-icons │ ├── Contents.json │ ├── credit-card.imageset │ │ ├── Contents.json │ │ └── credit-card.png │ ├── dollar.imageset │ │ ├── Contents.json │ │ └── dollar.png │ ├── shopping-cart.imageset │ │ ├── Contents.json │ │ └── shopping-cart.png │ └── ticket.imageset │ │ ├── Contents.json │ │ └── ticket.png │ ├── discounts │ ├── Contents.json │ ├── air.imageset │ │ ├── Contents.json │ │ └── air.jpeg │ ├── cinema.imageset │ │ ├── Contents.json │ │ └── cinema.jpeg │ ├── europe.imageset │ │ ├── Contents.json │ │ └── europe.jpeg │ ├── kfc.imageset │ │ ├── Contents.json │ │ └── kfc.jpeg │ └── wear.imageset │ │ ├── Contents.json │ │ └── wear.jpeg │ └── right-arrow.imageset │ ├── Contents.json │ └── right-arrow.png ├── Demo └── Screenshot.gif └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/.gitignore -------------------------------------------------------------------------------- /Carousel.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Carousel.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Carousel.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Carousel/Application/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Application/AppDelegate.swift -------------------------------------------------------------------------------- /Carousel/Application/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Application/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Carousel/Application/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Application/Info.plist -------------------------------------------------------------------------------- /Carousel/Base.lproj/MainViewController.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Base.lproj/MainViewController.storyboard -------------------------------------------------------------------------------- /Carousel/Library/CollectionViewDataSource.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/CollectionViewDataSource.swift -------------------------------------------------------------------------------- /Carousel/Library/Extensions/UIKit/UICollectionView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Extensions/UIKit/UICollectionView.swift -------------------------------------------------------------------------------- /Carousel/Library/Extensions/UIKit/UICollectionViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Extensions/UIKit/UICollectionViewCell.swift -------------------------------------------------------------------------------- /Carousel/Library/Extensions/UIKit/UIStoryboard.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Extensions/UIKit/UIStoryboard.swift -------------------------------------------------------------------------------- /Carousel/Library/InfiniteCollectionViewDataSource.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/InfiniteCollectionViewDataSource.swift -------------------------------------------------------------------------------- /Carousel/Library/Reusable/Cells/ActionCell/ActionCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Reusable/Cells/ActionCell/ActionCell.swift -------------------------------------------------------------------------------- /Carousel/Library/Reusable/Cells/ActionCell/ActionCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Reusable/Cells/ActionCell/ActionCell.xib -------------------------------------------------------------------------------- /Carousel/Library/Reusable/Cells/DiscountCell/DiscountCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Reusable/Cells/DiscountCell/DiscountCell.swift -------------------------------------------------------------------------------- /Carousel/Library/Reusable/Cells/DiscountCell/DiscountCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Reusable/Cells/DiscountCell/DiscountCell.xib -------------------------------------------------------------------------------- /Carousel/Library/Reusable/FlowLayouts/CenteredFlowLayout.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Reusable/FlowLayouts/CenteredFlowLayout.swift -------------------------------------------------------------------------------- /Carousel/Library/Reusable/FlowLayouts/LeftedFlowLayout.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Library/Reusable/FlowLayouts/LeftedFlowLayout.swift -------------------------------------------------------------------------------- /Carousel/MainViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/MainViewController.swift -------------------------------------------------------------------------------- /Carousel/Models/Action.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Models/Action.swift -------------------------------------------------------------------------------- /Carousel/Models/Discount.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Models/Discount.swift -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/credit-card.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/credit-card.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/credit-card.imageset/credit-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/credit-card.imageset/credit-card.png -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/dollar.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/dollar.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/dollar.imageset/dollar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/dollar.imageset/dollar.png -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/shopping-cart.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/shopping-cart.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/shopping-cart.imageset/shopping-cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/shopping-cart.imageset/shopping-cart.png -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/ticket.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/ticket.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/action-icons/ticket.imageset/ticket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/action-icons/ticket.imageset/ticket.png -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/air.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/air.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/air.imageset/air.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/air.imageset/air.jpeg -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/cinema.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/cinema.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/cinema.imageset/cinema.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/cinema.imageset/cinema.jpeg -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/europe.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/europe.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/europe.imageset/europe.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/europe.imageset/europe.jpeg -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/kfc.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/kfc.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/kfc.imageset/kfc.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/kfc.imageset/kfc.jpeg -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/wear.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/wear.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/discounts/wear.imageset/wear.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/discounts/wear.imageset/wear.jpeg -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/right-arrow.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/right-arrow.imageset/Contents.json -------------------------------------------------------------------------------- /Carousel/Resources/Images/Assets.xcassets/right-arrow.imageset/right-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Carousel/Resources/Images/Assets.xcassets/right-arrow.imageset/right-arrow.png -------------------------------------------------------------------------------- /Demo/Screenshot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/Demo/Screenshot.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alxyzhv/carousel/HEAD/README.md --------------------------------------------------------------------------------