Latest | 1.0.0 |
---|---|
Homepage | https://github.com/rrainn/ClickableImage |
License | MIT |
Platforms | ios 9.0 |
Frameworks | UIKit |
Authors |
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- iOS 9.0+
Installation
ClickableImage is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'ClickableImage'
Usage
ClickableImage expands UIImageView by adding 3 methods and 1 computed property.
Methods:
enableClickableExpand()
– This method enables the image to become clickable to expanddisableClickableExpand()
– This method disables the image to become clickable to expandtoggleClickableExpand()
– This method toggles the state of whether the image is able to be clicked to expand
Properties:
isClickableExpandEnabled
– This property returns aBool
that represents if the image is able to be clicked to be expanded or not
Author
rrainn, Inc., [email protected]
License
ClickableImage is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "ClickableImage", "version": "1.0.0", "summary": "ClickableImage is a extension that users to tap image views to expand them.", "description": "ClickableImage is an extension written in Swift for iOS that allows UIImageView's to be expanded to be made tappable by the user to expand the image full screen and allow them to pinch to zoom, and swipe the image away to dismiss.", "homepage": "https://github.com/rrainn/ClickableImage", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "rrainn": "[email protected]" }, "source": { "git": "https://github.com/rrainn/ClickableImage.git", "tag": "1.0.0" }, "social_media_url": "https://twitter.com/rrainn_inc", "platforms": { "ios": "9.0" }, "source_files": "ClickableImage/Classes/**/*", "frameworks": "UIKit", "swift_version": "4.2" }
Wed, 22 Aug 2018 15:20:13 +0000