Giter Site home page Giter Site logo

hfswipeview's Introduction

This repository won't updated anymore. Due to structural problem(not based on auto layout & unstable when orientation change), I'm not recommend this source to use for infinite cells. Maybe I'll create a new, better and cleaner solution for solving complex infinite cell problems but not here!

HFSwipeView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

If you wanna check how it works, click link below and press - "Tap to Play". https://www.cocoacontrols.com/controls/hfswipeview

A swipe view loops through multiple view items infinitely, with UIPageControl attached. It's very similar to ViewPager from android but it also supports circulation between multiple views. In circulating mode(infinite loop), it will automatically locates current view at the center of swipe view.

Any advice and suggestions will be greatly appreciated.

Features

  • supports circulating mode(inifinite loop)

  • supports auto-align selected cell on center of the view

  • supports auto-slide(in circulating mode only) based on given NSTimeInterval, you can use it like banner-style view.

  • supports magnifying mode(magnifies selected-center cell)

  • supports auto shrinking UIPageControl at the bottom area of the HFSwipeView

Requirements

Xcode8, Swift 3

Version

for Swift 2.#, refer to version 1.0.0

after Swift 3.#, refer to development/master branch or last released version.

Installation

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

pod "HFSwipeView"

Author

DragonCherry, [email protected]

License

HFSwipeView is available under the MIT license. See the LICENSE file for more info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.