SwiperView for iOS by Ruslan Alikhamov

Download Source
by 0 people

(Click the stars to add your rating)

Swiper View is a class that provides simple and easy-to-use swipable view.

Swiper View is a UIDynamics-based UIView subclass that provides multiple layers of UIViews with different visual effects.

Swiper View consists of:

  • The view itself
  • Content view to which UIVisualEffects are applied
  • Topmost view (which is a content view) to which readable UI elements should be added
  • UIDynamicsAnimator that handles:
    • UICollisionBehavior that restricts movement of the content view
    • UIDynamicItemBehavior that restricts rotation of the content view
    • UISnapBehavior that attaches center of the content view with base view
  • UIPanGestureRecognizer that reacts on user interaction
  • UILabels for:
    • Left item
    • Right item
    • Text on topmost item
Sponsored with ❤️ by Instabug
Receive Detailed Feedback and Debug your iOS App 10x Faster
Instabug helps you collect feedback and bug/crash reports from your users and testers. Comprehensive reports are forwarded to Instabug’s dashboard including device details, network requests and most importantly, the reproduction steps. learn more.