All Projects → xmartlabs → Xlmediazoom

xmartlabs / Xlmediazoom

Licence: mit
UI controls to view an image or reproduce a video in fullscreen like Instagram does.

Programming Languages

swift
15916 projects

XLMediaZoom

Build status Platform iOS Swift 3 compatible Carthage compatible CocoaPods compatible License: MIT

By Xmartlabs SRL.

Introduction

XLMediaZoom is a library to display images and video in fullscreen with blur and zooming capabilities.

Usage

import XLMediaZoom
//Initialize both your image and the mediaZoom view associated.
let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 240, height: 120))
let mediaZoom = MediaZoom(with: imageView, animationTime: 1, useBlur: true)

//Add the mediaZoom view to your superView and show it.
view.addSubview(mediaZoom)
mediaZoom.show()

Requirements

  • iOS 9.0+
  • Xcode 8.0+

Getting involved

  • If you want to contribute please feel free to submit pull requests.
  • If you have a feature request please open an issue.
  • If you found a bug or need help please check older issues, FAQ and threads on StackOverflow (Tag 'XLMediaZoom') before submitting an issue..

Before contribute check the CONTRIBUTING file for more info.

If you use XLMediaZoom in your app We would love to hear about it! Drop us a line on twitter.

Examples

Follow these 3 steps to run Example project: Clone XLMediaZoom repository, open XLMediaZoom workspace and run the Example project.

Installation

Version 3.0.0 has been rewritten completely in swift3, if you still need Objective-C support please target v2.0.2

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

To install XLMediaZoom, simply add the following line to your Podfile:

pod 'XLMediaZoom', '~> 3.0'

Carthage

Carthage is a simple, decentralized dependency manager for Cocoa.

To install XLMediaZoom, simply add the following line to your Cartfile:

github "xmartlabs/XLMediaZoom" ~> 3.0

Author

Change Log

This can be found in the CHANGELOG.md file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].