Skip to content

Fancy slider for before&after images

License

Notifications You must be signed in to change notification settings

quver/SlidableImage

Repository files navigation

SlidableImage

iOS CI GitHub license Swift Package Manager compatible

Easy to use library for before & after images. One-line initialization and SwiftUI.

Requirements

  • iOS 15
  • Swift 5

Instalation

This library support

  • Swift Package Manager

Using

Code example

Constructor

init(@ViewBuilder arrows: @escaping () -> ArrowsIcon,
     @ViewBuilder leftView: @escaping () -> LeftView,
     @ViewBuilder rightView: @escaping () -> RightView)

Arrows

init(arrowColor: Color = .white, backgroundColor: Color = .gray)

Author

Paweł Bednorz, Quver

License

SlidableImage Lib and Slider graphic are available under the MIT license. Check the LICENSE file for more information.