UTUnsplash cover image shower like iOS Gallery
The following diagram provides a good overview:
- Requires iOS 7 or later. The sample project is optimized for iOS 8.
- Requires Automatic Reference Counting (ARC).
mutableSelection
- Bool
When is true every reflesh remove all selected images before call func from delegate. Defaults to 2.0.
navigationColor
- UIColor
. Defaults to UIColor.clear.
navigationTitle
- String
. Defaults to "UTUnsplash".
navigationTitleColor
- UIColor
. Defaults to UIColor.white.
navigationLeftButtonText
- String
. Defaults to "Cancel".
navigationRightButtonText
- String
. Defaults to "Done".
SearchDefaultText
- String
. Defaults to "Search".
SearchTintColor
- UIColor
. Defaults to UIColor.white.
SearchBarStyle
- UIBarStyle
. Defaults to UIBarStyle.default.
navigationLeftButtonColor
- UIColor
. Defaults to UIColor.blue.
navigationRightButtonColor
- UIColor
. Defaults to UIColor.blue.
maximumNumberOfSelection
- Int
. Defaults to 1.
lineCount
- CGFloat
. Defaults to 3.
InteritemWidth
- CGFloat
. Defaults to 1.
imageContentMode
- UIViewContentMode
. Defaults to .scaleAspectFill.
lineSpacing
- CGFloat
. Defaults to 1.
maxPageLength
- Int
. Defaults to 50.
widthRatioToHeight
- CGFloat
. Defaults to 1.5.
refreshControl
- UIRefreshControl
...
customNameText
- [String:Any]?
. Defaults to nil.
UserImageType
- UTUnsplashUserImageType
. Defaults to .small.
//When UTUnsplash click to cancel button
}
func UTUnsplashPicker(_ UTUnsplashContoller:UTUnsplash,dismiss selects:[UTUnsplashObject]){
//After choose images return list of images if make multiselect false list return only 1 element
}
optional function
func UTUnsplashPicker(_ UTUnsplashContoller:UTUnsplash,whenClearSelect selects:[UTUnsplashObject])```
optional function
func UTUnsplashPicker(_ UTUnsplashContoller:UTUnsplash,didSelectImage image:UTUnsplashObject){
//When any select item working this function
}
optional function
func UTUnsplashPicker(_ UTUnsplashContoller:UTUnsplash,didUnSelectImage image:UTUnsplashObject){
//When any items make unselect working this function`
}```
### Contact ME
For question or wanna contact with me send mail : [email protected]