GitPedia

Ios inshorts view

InshortsView, UICollectionView for implementing vertical swipe up-done for next/previous cards, like News Inshorts application.

From SwiftCrew·Updated March 14, 2024·View on GitHub·

Here, UICollectionView for implementing vertical swipe up-done for next/previous cards, like News Inshorts application. The project is written primarily in Swift, first published in 2019. Key topics include: inshortcard, inshortcollection, inshorts, inshortui, inshortview.

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
<img width="268" alt="Screenshot 2019-09-04 at 10 08 46 PM" src="https://user-images.githubusercontent.com/15169802/74110035-f7ae2800-4bae-11ea-9bad-d4aebbcb7ecb.png">

Step 3

  • Import InshortsLayout layout class
<img width="256" alt="Screenshot 2019-09-04 at 10 08 40 PM" src="https://user-images.githubusercontent.com/15169802/74110041-085e9e00-4baf-11ea-8008-7a2316d11b6d.png">

Step 4

  • Click on CollectionView go to attributeinspector select layout type custom and then import the class InshortsLayout and enable paging.
<img width="255" alt="Screenshot 2019-09-04 at 10 08 31 PM" src="https://user-images.githubusercontent.com/15169802/64274507-2588a400-cf61-11e9-9d9f-70da27741e01.png">

Result

FullView

<img width="414" alt="Screenshot 2019-09-04 at 10 08 31 PM" src="https://user-images.githubusercontent.com/15169802/74109741-0a732d80-4bac-11ea-81bd-1180ce7689db.png">

SwipDown

<img width="414" alt="Screenshot 2019-09-04 at 10 08 31 PM" src="https://user-images.githubusercontent.com/15169802/74109759-31c9fa80-4bac-11ea-8162-af53b7f285ca.png">

SwipUp

<img width="414" alt="Screenshot 2019-09-04 at 10 08 31 PM" src="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

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from SwiftCrew/ios-inshorts-view via the GitHub API.Last fetched: 6/27/2026