프로젝트
GitHub에서 보기
Krisiacik/ImageViewer
소개
트위터 스타일 이미지 뷰어
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original

For the latest changes see the CHANGELOG
Install
CocoaPods
pod 'ImageViewer'
Carthage
github "Krisiacik/ImageViewer"
Sample Usage
For a detailed example, see the Example!
// Show the ImageViewer with the first item
self.presentImageGallery(GalleryViewController(startIndex: 0, itemsDataSource: self))
// The GalleryItemsDataSource provides the items to show
extension ViewController: GalleryItemsDataSource {
func itemCount() -> Int {
return items.count
}
func provideGalleryItem(_ index: Int) -> GalleryItem {
return items[index].galleryItem
}
}
ImageViewer version vs Swift version.
ImageViewer 6.0+ is Swift 5 ready! 🎉
If you use earlier version of Swift - refer to the table below:
| Swift version | ImageViewer version |
|---|---|
| 5.x | >= 6.0 |
| 4.x | 5.0 |
| 3.x | 4.0 |
| 2.3 | 3.1 ⚠️ |
| 2.2 | <= 2.1 |
License
ImageViewer is licensed under the MIT License, Version 2.0. See the LICENSE file for more info.
Copyright (c) 2016 MailOnline
관련 프로젝트 살펴보기
불러오는 중…