ios-inshorts-view
ios-inshorts-view copied to clipboard
InshortsView, UICollectionView for implementing vertical swipe up-done for next/previous cards, like News Inshorts application.
InshortsView
Here, UICollectionView for implementing vertical swipe up-done for next/previous cards, like News Inshorts application.
Requirements
- Xcode 10+
How to use by Interface
Step 1
Add InshortsLayout
class into your project
Step 2
- Click on layout
![Screenshot 2019-09-04 at 10 08 46 PM](https://user-images.githubusercontent.com/15169802/74110035-f7ae2800-4bae-11ea-9bad-d4aebbcb7ecb.png)
Step 3
- Import
InshortsLayout
layout class
![Screenshot 2019-09-04 at 10 08 40 PM](https://user-images.githubusercontent.com/15169802/74110041-085e9e00-4baf-11ea-8008-7a2316d11b6d.png)
Step 4
- Click on CollectionView go to attributeinspector select
layout
typecustom
and then import the classInshortsLayout
and enable paging.
![Screenshot 2019-09-04 at 10 08 31 PM](https://user-images.githubusercontent.com/15169802/64274507-2588a400-cf61-11e9-9d9f-70da27741e01.png)
Result
FullView
![Screenshot 2019-09-04 at 10 08 31 PM](https://user-images.githubusercontent.com/15169802/74109741-0a732d80-4bac-11ea-81bd-1180ce7689db.png)
SwipDown
![Screenshot 2019-09-04 at 10 08 31 PM](https://user-images.githubusercontent.com/15169802/74109759-31c9fa80-4bac-11ea-8162-af53b7f285ca.png)
SwipUp
![Screenshot 2019-09-04 at 10 08 31 PM](https://user-images.githubusercontent.com/15169802/74109766-40181680-4bac-11ea-84b5-a2309e4211d7.png)
Communication
- If you found a bug, please open an issue. :bow:
- Also, if you have a feature request, please open an issue. :thumbsup:
- If you want to contribute, submit a pull request.:muscle:
Created by
Mohd Tahir, @Mohd_Tahir99