forked from mwaterfall/MWPhotoBrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTonylyliu_MWPhotoBrowser.podspec
More file actions
52 lines (43 loc) · 2.16 KB
/
Tonylyliu_MWPhotoBrowser.podspec
File metadata and controls
52 lines (43 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Pod::Spec.new do |s|
s.name = 'Tonylyliu_MWPhotoBrowser'
s.version = '2.2.1'
s.license = 'MIT'
s.summary = 'A simple iOS photo and video browser with optional grid view, captions and selections.'
s.ios.deployment_target = '12.0'
s.description = <<-DESCRIPTION
MWPhotoBrowser can display one or more images or videos by providing either UIImage
objects, PHAsset objects, or URLs to library assets, web images/videos or local files.
The photo browser handles the downloading and caching of photos from the web seamlessly.
Photos can be zoomed and panned, and optional (customisable) captions can be displayed.
DESCRIPTION
s.screenshots = [
'https://raw.github.com/mwaterfall/MWPhotoBrowser/master/Screenshots/MWPhotoBrowser1.png',
'https://raw.github.com/mwaterfall/MWPhotoBrowser/master/Screenshots/MWPhotoBrowser2.png',
'https://raw.github.com/mwaterfall/MWPhotoBrowser/master/Screenshots/MWPhotoBrowser3.png',
'https://raw.github.com/mwaterfall/MWPhotoBrowser/master/Screenshots/MWPhotoBrowser4.png',
'https://raw.github.com/mwaterfall/MWPhotoBrowser/master/Screenshots/MWPhotoBrowser5.png',
'https://raw.github.com/mwaterfall/MWPhotoBrowser/master/Screenshots/MWPhotoBrowser6.png'
]
s.homepage = 'https://github.com/tonylyliu/MWPhotoBrowser.git'
s.author = { 'Tony Liu' => 'tonylyliu@gmail.com' }
s.social_media_url = 'https://twitter.com/tonylyliu'
s.source = {
:git => 'https://github.com/tonylyliu/MWPhotoBrowser.git',
:tag => s.version.to_s
}
s.platform = :ios, '12.0'
s.source_files = 'Pod/Classes/**/*'
s.resource_bundles = {
'MWPhotoBrowser' => ['Pod/Assets/*.png']
}
s.frameworks = 'ImageIO', 'QuartzCore', 'AssetsLibrary', 'MediaPlayer'
s.weak_frameworks = 'Photos'
# disable ARC runtime support for older iOS versions
s.user_target_xcconfig = {
'IPHONEOS_DEPLOYMENT_TARGET' => '12.0',
'IPHONEOS_DEPLOYMENT_TARGET[arch=*]' => '$(inherited)'
}
s.dependency 'Tonylyliu_MBProgressHUD', '~> 1.2', '>= 1.2.1'
s.dependency 'Tonylyliu_DACircularProgress', '~> 2.3', '>= 2.3.4'
s.dependency 'SDWebImage', '~> 5.18'
end