DG Zoomable ImageView

Overview

DGZoomableImageView

A zoomable, pan-able image view

Requirements

  • iOS 12.0+
  • Swift 5.5+
  • Xcode 10.0+

Installation

SPM

File > Add Packages > https://github.com/donggyushin/DGZoomableImageView

CocoaPod

pod 'DGZoomableImageView', :git => 'https://github.com/donggyushin/DGZoomableImageView'

Usage

let imageView: DGZoomableImageView = {
    let view = DGZoomableImageView()
    view.urlString = "https://image.shutterstock.com/image-vector/sample-stamp-grunge-texture-vector-260nw-1389188336.jpg"
    return view
}()

let imageView: DGZoomableImageView = {
    let view = DGZoomableImageView()
    view.image = image
    return view
}()

Properties

Properties Description Default Type
image DGZoomableImageView's image nil UIImage
urlString You can set image by url string nil String
imageViewContentMode image view's content mode .scaleAspectFit UIView.ContentMode
You might also like...
How to create a circular and rectangular ImageView with similar image?

chapter11CircularAndRectangularImage How to create a circular and rectangular ImageView with similar image? I add two imageView in Main.storyboard I a

ImageView - Component for loading and displaying different images aka SVG/PNG/JPG/JPEG

ImageView Component that loads and displays images(.svg/.png/.jpg/.jpeg) form as

Create ImageView for User or Group like Messenger app
Create ImageView for User or Group like Messenger app

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

Releases(v1.0.2)
  • v1.0.2(Jan 26, 2022)

    What's Changed

    • [Feature] Always update image property of DGZoomableImageView by @donggyushin in https://github.com/donggyushin/DGZoomableImageView/pull/6
    • [Release] v1.0.2 by @donggyushin in https://github.com/donggyushin/DGZoomableImageView/pull/7

    Full Changelog: https://github.com/donggyushin/DGZoomableImageView/compare/v1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Jan 26, 2022)

    What's Changed

    • [Feature] Add init functions by @donggyushin in https://github.com/donggyushin/DGZoomableImageView/pull/4
    • [Release] v1.0.1 by @donggyushin in https://github.com/donggyushin/DGZoomableImageView/pull/5

    Full Changelog: https://github.com/donggyushin/DGZoomableImageView/compare/v1.0.0...v1.0.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Jan 21, 2022)

    What's Changed

    • [Feature] Github Actions by @donggyushin in https://github.com/donggyushin/DGZoomableImageView/pull/1
    • Feature/dg zoomable image view by @donggyushin in https://github.com/donggyushin/DGZoomableImageView/pull/2
    • Release/v1.0.0 by @donggyushin in https://github.com/donggyushin/DGZoomableImageView/pull/3

    New Contributors

    • @donggyushin made their first contribution in https://github.com/donggyushin/DGZoomableImageView/pull/1

    Full Changelog: https://github.com/donggyushin/DGZoomableImageView/commits/v1.0.0

    Source code(tar.gz)
    Source code(zip)
Owner
donggyu
Write many code to write less code
donggyu
add text(multiple line support) to imageView, edit, rotate or resize them as you want, then render the text on image

StickerTextView is an subclass of UIImageView. You can add multiple text to it, edit, rotate, resize the text as you want with one finger, then render the text on Image.

Textcat 478 Dec 17, 2022
A custom ImageView that is used to cover the surface of other view like a scratch card, user can swipe the mulch to see the view below.

MCScratchImageView GIF Showcase Requirments iOS 8.0+ Xcode 7.2+ Swift 4.0 Installation CocoaPods pod "MCScratchImageView" Manually Just drag MCScratch

Jaylen Bian 359 Dec 17, 2022
Rounded async imageview downloader lightly cached and written in Swift

PASImageView ============ **Rounded async imageview downloader lightly cached and written in Swift 3 ** Objective-C version here Snapshot Usage //XIB

Pierre Abi-aad 173 Nov 6, 2022
How to create a circular and rectangular ImageView with similar image?

chapter11CircularAndRectangularImage How to create a circular and rectangular ImageView with similar image? I add two imageView in Main.storyboard I a

ahmetbostanciklioglu 0 Jan 8, 2022
ImageView - Component for loading and displaying different images aka SVG/PNG/JPG/JPEG

ImageView Component that loads and displays images(.svg/.png/.jpg/.jpeg) form as

Sergei 1 Mar 23, 2022
Create ImageView for User or Group like Messenger app

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

Laurent Grondin 29 Mar 8, 2022
Zoomable - A container that allows you to zoom in and out of an image using only SwiftUI

Zoomable It is a container that allows you to zoom in and out of an image using

jasu 48 Nov 28, 2022
add text(multiple line support) to imageView, edit, rotate or resize them as you want, then render the text on image

StickerTextView is an subclass of UIImageView. You can add multiple text to it, edit, rotate, resize the text as you want with one finger, then render the text on Image.

Textcat 478 Dec 17, 2022
A custom ImageView that is used to cover the surface of other view like a scratch card, user can swipe the mulch to see the view below.

MCScratchImageView GIF Showcase Requirments iOS 8.0+ Xcode 7.2+ Swift 4.0 Installation CocoaPods pod "MCScratchImageView" Manually Just drag MCScratch

Jaylen Bian 359 Dec 17, 2022
Rounded async imageview downloader lightly cached and written in Swift

PASImageView ============ **Rounded async imageview downloader lightly cached and written in Swift 3 ** Objective-C version here Snapshot Usage //XIB

Pierre Abi-aad 173 Nov 6, 2022