Coder Social home page Coder Social logo

eezoomableimageview's Introduction

EEZoomableImageView

Provides full screen zooming ability to UIImageView like instagram.


What does EEZoomableImageView do?

Gives full screen zooming ability to UIImageView with no additional code.

It handles number of the touch changes on the screen. There is no weird behaviour like jumping image's center when user removes one finger from the screen, as far as I know. :squirrel:


Setup

Using CocoaPods (Recommended)

Add the line below to your Podfile;

pod 'EEZoomableImageView'

Then you can install it with pod install command.

Manual

Download the sample project, just drag and drop the EEZoomableImageView.swift file to your project.


Usage

Make your image view subclass of EEZoomableImageView. It's simple as that.


Customizable Parameters

Custom parameters can be set through EEZoomableImageView instance

    @IBOutlet weak var zoomableImageView: EEZoomableImageView! {
        didSet {
            zoomableImageView.minZoomScale = 0.5
            zoomableImageView.maxZoomScale = 3.0
            zoomableImageView.resetAnimationDuration = 0.5
            zoomableImageView.zoomDelegate = self
        }
    }
  • minZoomScale: Minimum scale of the zoom imageview. Default value is 1.00
  • maxZoomScale: Maximum scale of the zoom imageview. Default value is 3.00
  • resetAnimationDuration: Duration of the reset animation. Default value is 0.3 sec
  • zoomDelegate: Zoom Delegate is informed when zooming started and ended.
  • isZoomingActive: Flag that indicates whether zooming is active or not. (Read Only)


Questions or Advices

Just send me an email ([email protected])

eezoomableimageview's People

Contributors

aniltaskiran avatar ergunemr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eezoomableimageview's Issues

Swift 4.2

Hi,

Is possible to update this Pod to Swift 4.2?

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.