Skip to content

📦 CocoaPod Package - Extension that users to tap UIImageView's to expand them

License

Notifications You must be signed in to change notification settings

rrainn/ClickableImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClickableImage

Version License Platform

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 expand
  • disableClickableExpand() - This method disables the image to become clickable to expand
  • toggleClickableExpand() - This method toggles the state of whether the image is able to be clicked to expand

Properties:

  • isClickableExpandEnabled - This property returns a Bool 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.

About

📦 CocoaPod Package - Extension that users to tap UIImageView's to expand them

Resources

License

Stars

Watchers

Forks

Packages

No packages published