BouncyLayout
  • October 16, 2023

 

 

Features


  • Pure Swift 5.
  •  Works with every UICollectionView.
  •  Horizontal and vertical scrolling support.
  •  Configurable bounce effect.
  •  Supports cell size changes

Setup


The only you thing you need to do is import BouncyLayout, create an instance and add it to your UICollectionView.

import BouncyLayout

let layout = BouncyLayout()

UICollectionView(frame: .zero, collectionViewLayout: layout)

Find the above displayed examples in the example folder.

Installation


CocoaPods

BouncyLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod “BouncyLayout”

Carthage

BouncyLayout is available through Carthage. To install it, simply add the following line to your Cartfile:

github “roberthein/BouncyLayout”

Swift Package Manager

BouncyLayout is available through Swift Package Manager. To install it, in Xcode 11.0 or later select File > Swift Packages > Add Package Dependency... and add BouncyLayout repository URL:

https://github.com/roberthein/BouncyLayout.git

Suggestions or feedback?


Feel free to create a pull request, open an issue or find me on Twitter.

GitHub


View Github

#autolayout #bounce #bouncy #cocoa #cocoapod #cocoapods #cocoatouch #collection #collectionkit #collectionview #collectionviewcell #collectionviewlayout #dynamic #expandabletableview #flow #flowlayout #hashtag #hashtags #ibinspectable #instagram #instagramanimation #ios #iosanimation #iosdevelopment #iossdk #iosswift #iosthirdparty #layout #libraries #library #objectivec #spring #springy #swift #swift3 #swift4 #swiftanimation #swiftcollection #swiftimage #swiftlibrary #swiftpackagemanager #swiftui #swiftuicomponents #table #tableview #tableviewcell #taglistview #tags #tagsview #uicollectionview #uicollectionviewanimation #uicollectionviewcell #uicollectionviewflowlayout #uicollectionviewlayout #uikitdynamics #uitableview #uitableviewcell #uitableviewcontroller #view #xcode
YOU MIGHT ALSO LIKE...
TvOSTextViewer

Light and scrollable view controller for tvOS to present blocks of text Description TvOSTextViewer is a view controller to present ...

TvOSSlider

TvOSSlider is an implementation of UISlider for tvOS. Description and usage TvOSSlider palliates missing an implementation of UISlider for tvOS as part ...

TvOSScribble

TvOSScribble, based on CoreML, mitigates the lack of a physical numpad area in Siri Remote implementing a handwriting gesture recognizer. ...

TvOSPinKeyboard

PIN keyboard for tvOS Description TvOSPinKeyboard is a view controller that allows easily asking for PIN codes in tvOs Requirements ...

TvOSMoreButton

📺 A tvOS button which truncates long text with '... More'. The TvOSMoreButton is a simple view which aims to ...