KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
DZImageView
★ 37
Open GitHub ↗
Image View with content mode animations.
Download README (.md)
Explore Similar Repositories
DZURLRoute
:
DZURLRoute是支持基于标准URL进行Native页面间跳转的Objective-C实现。方便您架构页面之间高内聚低耦合的开发模式。他的核心思想是把每一个页面当成一个资源,通过标准的URL协议(统一资源定位符)来定位到每一个可触达的页面(资源)。
DzSocket
:
Delphi Client/Server components to communicate using TCP Socket Asynchronous easily
DzTalkApp
:
Delphi non-visual component to communicate between applications
dzen2
:
dzen is a general purpose messaging, notification and menuing program for X11 | Custom+Freeze version
dzintars
:
Programmēšanas valoda Dzintars
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
DZImageView
?
Download (.md)
# DZImageView [](http://cocoapods.org/pods/DZImageView) [](http://cocoapods.org/pods/DZImageView) [](http://cocoapods.org/pods/DZImageView) Image View with content mode animations. Inspired by the Objective-C version [VICMAImageView](https://github.com/vitoziv/VICMAImageView).  ## Usage To run the example project, clone the repo, and run `pod install` from the Example directory first. ### Create an Image View ```swift let imageView = DZImageView(image: UIImage(named: "image.jpg")!, frame: CGRectMake(0, 0, 300, 300)) self.view.addSubview(imageView) ``` ### Animating ```swift imageView.animationDuration = 0.3 // Optional, Default: 0.3 imageView.animateImageViewContentModeTo(.ScaleAspectFit) // Animate content mode imageView.animateImageViewFrameTo(CGRectMake(0, 0, 300, 300)) // Animate frame imageView.animateImageViewTo(.ScaleAspectFit, frame: CGRectMake(0, 0, 300, 300)) // Animate both content mode and frame ``` ## Requirements * iOS 8.0 * Swift 2 ## Installation DZImageView is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod "DZImageView" ``` To install DZImageView with Carthage add the following line to your `cartfile` ``` github "Fortyfox/DZImageView" ~> 0.1.1 ``` ## License DZImageView is available under the MIT license. See the [LICENSE file](https://github.com/Fortyfox/DZImageView/blob/master/LICENSE) for more info.