A view that takes a set of images, make transition from one to another by using flipping effects.

Related tags

Image CDFlipView
Overview

CDFlipView

A view that takes a set of images, make transition from one to another by using flipping effects.

Demo

Screencapture GIF

Live Demo: https://appetize.io/app/w0df4gf2wcaxavadr6zjxf2h1m

CI Status Version License Platform

Requirements

Swift 3.0 => v1.0.1

Swift 2.3 => v0.1.1

Installation

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

pod "CDFlipView"

or

Put the file CDFlipView/Classes/CDFlipView.swift into your project

Usage

var imageSet:[UIImageView] = [] // use any object of type UIView

for index in 1...5{
    let image = UIImageView(image: UIImage(named: "\(index)"))
    image.contentMode = .ScaleAspectFill
    imageSet.append(image)
}

flipView.layer.zPosition = 100
flipView.durationForOneTurnOver = 0.6
flipView.stillTime = 0.1
flipView.setUp(imageSet)
flipView.startAnimation()

Example project

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

Author

Jianbin LIN, [email protected]

License

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

You might also like...
Using remote images in an application is more or less a requirement these days.
Using remote images in an application is more or less a requirement these days.

Imaginary Table of Contents Description Usage Basic Advanced Configuration ImageFetcher Installation Description Using remote images in an application

High Quality Image ScrollView using cropped tiled images.
High Quality Image ScrollView using cropped tiled images.

THTiledImageView Feature 🖼 THTiledImageView fully support UIScrollView. You can subclass it and use it. 📡 Support Async Image Downloading & Caching.

SDWebImageMockPlugin makes possible the creation of snapshot testing with views using SDWebImage to configure images
SDWebImageMockPlugin makes possible the creation of snapshot testing with views using SDWebImage to configure images

SDWebImageMockPlugin makes possible the creation of snapshot testing with views using SDWebImage to configure images.

A scalable set of icons

Octicons.swift Do you like Octicons? I do too. The purpose of this package is to make them available to iOS, tvOS, watchOS, and macOS apps in UIKit, A

A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser.
A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser.

EBPhotoPages ”A photo gallery can become a pretty complex component of an app very quickly. The EBPhotoPages project demonstrates how a developer coul

Roll marbles into set positions on screen
Roll marbles into set positions on screen

Marble-Tilt Roll Marbles into set positions on screen Paul Hudson Hacking with Swift - project 26 - Took most of the code and created my own spin on i

Set of Extensions and Custom control for standard types and classes 🎨

OpencvQueen Set of Extensions and Custom control for standard types and classes. Just like Doraemon’s pocket, has an endless variety of props for us t

ImagePicker : an all-in-one camera solution for your iOS app
ImagePicker : an all-in-one camera solution for your iOS app

Description ImagePicker is an all-in-one camera solution for your iOS app. It lets your users select images from the library and take pictures at the

TQIBank - Project developed for iOS Acceleration in partnership with DIO (Digital Innovation One)
TQIBank - Project developed for iOS Acceleration in partnership with DIO (Digital Innovation One)

Projeto TQIBank Projeto desenvolvido para Aceleração iOS em parceria com a DIO (

Owner
Jianbin LIN
http://stackoverflow.com/users/1495623/jibeex
Jianbin LIN
Style Art library process images using COREML with a set of pre trained machine learning models and convert them to Art style.

StyleArt Style Art is a library that process images using COREML with a set of pre trained machine learning models and convert them to Art style. Prev

iLeaf Solutions Pvt. Ltd. 222 Dec 17, 2022
SwiftGen is a tool to automatically generate Swift code for resources of your projects (like images, localised strings, etc), to make them type-safe to use.

SwiftGen is a tool to automatically generate Swift code for resources of your projects (like images, localised strings, etc), to make them type-safe to use.

null 8.3k Jan 5, 2023
Kanvas is an open-source iOS library for adding effects, drawings, text, stickers, and making GIFs from existing media or the camera.

Kanvas Kanvas is an open-source iOS library for adding effects, drawings, text, stickers, and making GIFs from existing media or the camera.

Tumblr 267 Nov 24, 2022
Instant camera hybrid with multiple effects and filters written in Swift.

Kontax Cam Download on the app store! No longer on the app store Kontax Cam is an instant camera built 100% using Swift for iOS. You can take your pho

Kevin Laminto 108 Dec 27, 2022
Get a photo which has effects like the system camera’s Portrait mode (on compatible devices).

Blurring background like Portrait mode in the iPhone camera If we want to have the blurring effect like the Portrait mode in the iOS Camera app. What

Kien (Bradley) Hoang 4 Sep 20, 2022
Image slide-show viewer with multiple predefined transition styles, with ability to create new transitions with ease.

ATGMediaBrowser ATGMediaBrowser is an image slide-show viewer that supports multiple predefined transition styles, and also allows the client to defin

null 200 Dec 19, 2022
A snappy image viewer with zoom and interactive dismissal transition.

A snappy image viewer with zoom and interactive dismissal transition. Features Double tap to zoom in/out Interactive dismissal transition Animate in f

Lucas 421 Dec 1, 2022
A snappy image viewer with zoom and interactive dismissal transition.

A snappy image viewer with zoom and interactive dismissal transition. Features Double tap to zoom in/out Interactive dismissal transition Animate in f

Lucas 421 Dec 1, 2022
Media view which subclasses UIImageView, and can display & load images, videos, GIFs, and audio and from the web, and has functionality to minimize from fullscreen, as well as show GIF previews for videos.

I've built out the Swift version of this library! Screenshots Description ABMediaView can display images, videos, as well as now GIFs and Audio! It su

Andrew Boryk 80 Dec 20, 2022
A simple macOS app to read code from images, written purely in Swift using Vision Framework.

CodeReader A simple macOS app to read code from images, written purely in Swift using Vision Framework. Usage Drag an image Click the convert button R

Md Ibrahim Hassan 44 Nov 20, 2022