diff --git a/.swiftlint.yml b/.swiftlint.yml
index f7c961962..7b76f65af 100644
--- a/.swiftlint.yml
+++ b/.swiftlint.yml
@@ -1,6 +1,5 @@
disabled_rules:
- trailing_whitespace
-- variable_name
- type_body_length
- function_body_length
- file_length
@@ -9,3 +8,4 @@ disabled_rules:
excluded:
- YPImagePickerExample/Localize.swift
+ - Pods
diff --git a/YPImagePickerExample/YPImagePickerExample/AppDelegate.swift b/Example/AppDelegate.swift
similarity index 80%
rename from YPImagePickerExample/YPImagePickerExample/AppDelegate.swift
rename to Example/AppDelegate.swift
index 9c575e9f3..0ef3dfc6b 100644
--- a/YPImagePickerExample/YPImagePickerExample/AppDelegate.swift
+++ b/Example/AppDelegate.swift
@@ -1,9 +1,9 @@
//
// AppDelegate.swift
-// YPImagePickerExample
+// YPIPExample
//
-// Created by Sacha DSO on 17/03/2017.
-// Copyright © 2017 Octopepper. All rights reserved.
+// Created by Nik Kov on 19.09.2021.
+// Copyright © 2021 Yummypets. All rights reserved.
//
import UIKit
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/Assets.xcassets/AppIcon.appiconset/Contents.json
old mode 100755
new mode 100644
similarity index 64%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to Example/Assets.xcassets/AppIcon.appiconset/Contents.json
index 406236518..70e75fd61
--- a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ b/Example/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -1,158 +1,158 @@
{
"images" : [
{
- "size" : "20x20",
- "idiom" : "iphone",
"filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "20x20"
},
{
- "size" : "20x20",
- "idiom" : "iphone",
"filename" : "Icon-App-20x20@3x.png",
- "scale" : "3x"
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "20x20"
},
{
- "size" : "29x29",
- "idiom" : "iphone",
"filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
+ "idiom" : "iphone",
+ "scale" : "1x",
+ "size" : "29x29"
},
{
- "size" : "29x29",
- "idiom" : "iphone",
"filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "29x29"
},
{
- "size" : "29x29",
- "idiom" : "iphone",
"filename" : "Icon-App-29x29@3x.png",
- "scale" : "3x"
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "29x29"
},
{
- "size" : "40x40",
- "idiom" : "iphone",
"filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "40x40"
},
{
- "size" : "40x40",
- "idiom" : "iphone",
"filename" : "Icon-App-40x40@3x.png",
- "scale" : "3x"
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "40x40"
},
{
- "size" : "57x57",
- "idiom" : "iphone",
"filename" : "Icon-App-57x57@1x.png",
- "scale" : "1x"
+ "idiom" : "iphone",
+ "scale" : "1x",
+ "size" : "57x57"
},
{
- "size" : "57x57",
- "idiom" : "iphone",
"filename" : "Icon-App-57x57@2x.png",
- "scale" : "2x"
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "57x57"
},
{
- "size" : "60x60",
- "idiom" : "iphone",
"filename" : "Icon-App-60x60@2x.png",
- "scale" : "2x"
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "60x60"
},
{
- "size" : "60x60",
- "idiom" : "iphone",
"filename" : "Icon-App-60x60@3x.png",
- "scale" : "3x"
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "60x60"
},
{
- "size" : "20x20",
- "idiom" : "ipad",
"filename" : "Icon-App-20x20@1x.png",
- "scale" : "1x"
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "20x20"
},
{
- "size" : "20x20",
- "idiom" : "ipad",
"filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "20x20"
},
{
- "size" : "29x29",
- "idiom" : "ipad",
"filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "29x29"
},
{
- "size" : "29x29",
- "idiom" : "ipad",
"filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "29x29"
},
{
- "size" : "40x40",
- "idiom" : "ipad",
"filename" : "Icon-App-40x40@1x.png",
- "scale" : "1x"
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "40x40"
},
{
- "size" : "40x40",
- "idiom" : "ipad",
"filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "40x40"
},
{
- "size" : "50x50",
- "idiom" : "ipad",
"filename" : "Icon-Small-50x50@1x.png",
- "scale" : "1x"
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "50x50"
},
{
- "size" : "50x50",
- "idiom" : "ipad",
"filename" : "Icon-Small-50x50@2x.png",
- "scale" : "2x"
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "50x50"
},
{
- "size" : "72x72",
- "idiom" : "ipad",
"filename" : "Icon-App-72x72@1x.png",
- "scale" : "1x"
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "72x72"
},
{
- "size" : "72x72",
- "idiom" : "ipad",
"filename" : "Icon-App-72x72@2x.png",
- "scale" : "2x"
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "72x72"
},
{
- "size" : "76x76",
- "idiom" : "ipad",
"filename" : "Icon-App-76x76@1x.png",
- "scale" : "1x"
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "76x76"
},
{
- "size" : "76x76",
- "idiom" : "ipad",
"filename" : "Icon-App-76x76@2x.png",
- "scale" : "2x"
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "76x76"
},
{
- "size" : "83.5x83.5",
- "idiom" : "ipad",
"filename" : "Icon-App-83.5x83.5@2x.png",
- "scale" : "2x"
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "83.5x83.5"
},
{
- "size" : "1024x1024",
- "idiom" : "ios-marketing",
"filename" : "ItunesArtwork@2x.png",
- "scale" : "1x"
+ "idiom" : "ios-marketing",
+ "scale" : "1x",
+ "size" : "1024x1024"
}
],
"info" : {
- "version" : 1,
- "author" : "xcode"
+ "author" : "xcode",
+ "version" : 1
}
-}
\ No newline at end of file
+}
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png
diff --git a/YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png b/Example/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png
rename to Example/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png
diff --git a/Example/Assets.xcassets/Contents.json b/Example/Assets.xcassets/Contents.json
new file mode 100644
index 000000000..73c00596a
--- /dev/null
+++ b/Example/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/Example/Assets.xcassets/Launch_image.imageset/Contents.json b/Example/Assets.xcassets/Launch_image.imageset/Contents.json
new file mode 100644
index 000000000..9e8fd5854
--- /dev/null
+++ b/Example/Assets.xcassets/Launch_image.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "Icon-App-83.5x83.5@2x-1.png",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "Icon-App-83.5x83.5@2x-2.png",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x-1.png b/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x-1.png
new file mode 100644
index 000000000..0747ed5ac
Binary files /dev/null and b/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x-1.png differ
diff --git a/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x-2.png b/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x-2.png
new file mode 100644
index 000000000..0747ed5ac
Binary files /dev/null and b/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x-2.png differ
diff --git a/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x.png b/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 000000000..0747ed5ac
Binary files /dev/null and b/Example/Assets.xcassets/Launch_image.imageset/Icon-App-83.5x83.5@2x.png differ
diff --git a/Example/Base.lproj/LaunchScreen.storyboard b/Example/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 000000000..a98d244d9
--- /dev/null
+++ b/Example/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Example/Base.lproj/Main.storyboard b/Example/Base.lproj/Main.storyboard
new file mode 100644
index 000000000..25a763858
--- /dev/null
+++ b/Example/Base.lproj/Main.storyboard
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/YPImagePickerExample/YPImagePickerExample/ExampleViewController.swift b/Example/ExampleViewController.swift
similarity index 99%
rename from YPImagePickerExample/YPImagePickerExample/ExampleViewController.swift
rename to Example/ExampleViewController.swift
index 9e4ab114f..39d70ba3a 100644
--- a/YPImagePickerExample/YPImagePickerExample/ExampleViewController.swift
+++ b/Example/ExampleViewController.swift
@@ -7,7 +7,6 @@
//
import UIKit
-import YPImagePicker
import AVFoundation
import AVKit
import Photos
diff --git a/YPImagePickerExample/YPImagePickerExample/Info.plist b/Example/Info.plist
similarity index 86%
rename from YPImagePickerExample/YPImagePickerExample/Info.plist
rename to Example/Info.plist
index cbd9a3249..d188bb788 100644
--- a/YPImagePickerExample/YPImagePickerExample/Info.plist
+++ b/Example/Info.plist
@@ -3,7 +3,9 @@
CFBundleDevelopmentRegion
- en
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleDisplayName
+ YPImagePickerExample
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
@@ -13,7 +15,7 @@
CFBundleName
$(PRODUCT_NAME)
CFBundlePackageType
- APPL
+ $(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString
1.0
CFBundleVersion
@@ -26,6 +28,8 @@
Record video sound!
NSPhotoLibraryUsageDescription
Access your photo library
+ UIApplicationSupportsIndirectInputEvents
+
UILaunchStoryboardName
LaunchScreen
UIRequiredDeviceCapabilities
@@ -35,8 +39,6 @@
UISupportedInterfaceOrientations
UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad
diff --git a/Podfile b/Podfile
new file mode 100644
index 000000000..79fdd390c
--- /dev/null
+++ b/Podfile
@@ -0,0 +1,11 @@
+source 'https://github.com/CocoaPods/Specs.git'
+platform :ios, '12.0'
+use_frameworks!
+
+target 'Example' do
+
+ # Pods for YPImagePickerExample
+ pod 'SteviaLayout', '= 4.7.3'
+ pod 'PryntTrimmerView', '= 4.0.2'
+
+end
diff --git a/Source/Filters/YPFilter.swift b/Source/Filters/Photo/YPFilter.swift
similarity index 100%
rename from Source/Filters/YPFilter.swift
rename to Source/Filters/Photo/YPFilter.swift
diff --git a/Source/Filters/YPFilterCollectionViewCell.swift b/Source/Filters/Photo/YPFilterCollectionViewCell.swift
similarity index 100%
rename from Source/Filters/YPFilterCollectionViewCell.swift
rename to Source/Filters/Photo/YPFilterCollectionViewCell.swift
diff --git a/Source/Filters/YPFiltersView.swift b/Source/Filters/Photo/YPFiltersView.swift
similarity index 100%
rename from Source/Filters/YPFiltersView.swift
rename to Source/Filters/Photo/YPFiltersView.swift
diff --git a/Source/Filters/YPPhotoFiltersVC.swift b/Source/Filters/Photo/YPPhotoFiltersVC.swift
similarity index 100%
rename from Source/Filters/YPPhotoFiltersVC.swift
rename to Source/Filters/Photo/YPPhotoFiltersVC.swift
diff --git a/Source/Helpers/Extensions/AVCaptureDevice+Extensions.swift b/Source/Helpers/Extensions/AVCaptureDevice+Extensions.swift
index 9b5618f3c..35eebaada 100644
--- a/Source/Helpers/Extensions/AVCaptureDevice+Extensions.swift
+++ b/Source/Helpers/Extensions/AVCaptureDevice+Extensions.swift
@@ -1,6 +1,5 @@
//
// AVCaptureDevice+Extensions.swift
-// YPImagePickerExample
//
// Created by Nik Kov on 23.04.2018.
// Copyright © 2018 Octopepper. All rights reserved.
diff --git a/Source/Helpers/Permissions/YPPermissionManager.swift b/Source/Helpers/Permissions/YPPermissionManager.swift
index ed35dae18..aaf894848 100644
--- a/Source/Helpers/Permissions/YPPermissionManager.swift
+++ b/Source/Helpers/Permissions/YPPermissionManager.swift
@@ -6,6 +6,7 @@
//
import Photos
+import UIKit
internal struct YPPermissionManager {
typealias YPPermissionManagerCompletion = (_ hasPermission: Bool) -> Void
diff --git a/Source/Models/YPError.swift b/Source/Models/YPError.swift
index 44851eb6e..0a0fcd89f 100644
--- a/Source/Models/YPError.swift
+++ b/Source/Models/YPError.swift
@@ -5,6 +5,8 @@
// Created by Nik Kov on 13.08.2021.
//
+import UIKit
+
enum YPError: Error, LocalizedError {
case custom(message: String)
diff --git a/Source/Models/YPFlashMode.swift b/Source/Models/YPFlashMode.swift
index 2c55af7fd..daa9249a2 100644
--- a/Source/Models/YPFlashMode.swift
+++ b/Source/Models/YPFlashMode.swift
@@ -6,6 +6,7 @@
//
import AVFoundation
+import UIKit
enum YPFlashMode {
case off
diff --git a/Source/Models/YPLog.swift b/Source/Models/YPLog.swift
index 3990004f7..a48b33471 100644
--- a/Source/Models/YPLog.swift
+++ b/Source/Models/YPLog.swift
@@ -13,6 +13,7 @@ internal func ypLog(_ description: String,
return
}
+ // swiftlint:disable:next line_length
let traceString = "🖼 YPImagePicker. \(fileName.components(separatedBy: "/").last!) -> \(functionName) -> \(description) (line: \(lineNumber))"
print(traceString)
}
diff --git a/Source/Models/YPMediaItem.swift b/Source/Models/YPMediaItem.swift
index e5e654b1a..838f667d7 100644
--- a/Source/Models/YPMediaItem.swift
+++ b/Source/Models/YPMediaItem.swift
@@ -21,7 +21,11 @@ public class YPMediaPhoto {
public var asset: PHAsset?
public var url: URL?
- public init(image: UIImage, exifMeta: [String: Any]? = nil, fromCamera: Bool = false, asset: PHAsset? = nil, url: URL? = nil) {
+ public init(image: UIImage,
+ exifMeta: [String: Any]? = nil,
+ fromCamera: Bool = false,
+ asset: PHAsset? = nil,
+ url: URL? = nil) {
self.originalImage = image
self.modifiedImage = nil
self.fromCamera = fromCamera
diff --git a/Source/Pages/Gallery/YPAlbum.swift b/Source/Pages/Gallery/Album/YPAlbum.swift
similarity index 100%
rename from Source/Pages/Gallery/YPAlbum.swift
rename to Source/Pages/Gallery/Album/YPAlbum.swift
diff --git a/Source/Pages/Gallery/YPAlbumCell.swift b/Source/Pages/Gallery/Album/YPAlbumCell.swift
similarity index 100%
rename from Source/Pages/Gallery/YPAlbumCell.swift
rename to Source/Pages/Gallery/Album/YPAlbumCell.swift
diff --git a/Source/Pages/Gallery/YPAlbumVC.swift b/Source/Pages/Gallery/Album/YPAlbumVC.swift
similarity index 100%
rename from Source/Pages/Gallery/YPAlbumVC.swift
rename to Source/Pages/Gallery/Album/YPAlbumVC.swift
diff --git a/Source/Pages/Gallery/YPAlbumView.swift b/Source/Pages/Gallery/Album/YPAlbumView.swift
similarity index 100%
rename from Source/Pages/Gallery/YPAlbumView.swift
rename to Source/Pages/Gallery/Album/YPAlbumView.swift
diff --git a/Source/Pages/Gallery/YPAlbumsManager.swift b/Source/Pages/Gallery/Album/YPAlbumsManager.swift
similarity index 100%
rename from Source/Pages/Gallery/YPAlbumsManager.swift
rename to Source/Pages/Gallery/Album/YPAlbumsManager.swift
diff --git a/Source/Pages/Gallery/YPLibraryVC+CollectionView.swift b/Source/Pages/Gallery/YPLibraryVC+CollectionView.swift
index 32ae4ee0d..60d43ae30 100644
--- a/Source/Pages/Gallery/YPLibraryVC+CollectionView.swift
+++ b/Source/Pages/Gallery/YPLibraryVC+CollectionView.swift
@@ -80,7 +80,8 @@ extension YPLibraryVC {
/// Adds cell to selection
func addToSelection(indexPath: IndexPath) {
- if !(delegate?.libraryViewShouldAddToSelection(indexPath: indexPath, numSelections: selectedItems.count) ?? true) {
+ if !(delegate?.libraryViewShouldAddToSelection(indexPath: indexPath,
+ numSelections: selectedItems.count) ?? true) {
return
}
diff --git a/Source/Pages/Gallery/YPLibraryView.xib b/Source/Pages/Gallery/YPLibraryView.xib
index 34c66a88f..3377bedab 100644
--- a/Source/Pages/Gallery/YPLibraryView.xib
+++ b/Source/Pages/Gallery/YPLibraryView.xib
@@ -1,18 +1,15 @@
-
-
-
-
+
+
-
-
+
-
+
@@ -37,10 +34,10 @@
-
+
-
+
@@ -76,6 +73,7 @@
+
diff --git a/YPImagePicker.podspec b/YPImagePicker.podspec
index a94b9bdf7..72f97bf3c 100644
--- a/YPImagePicker.podspec
+++ b/YPImagePicker.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'YPImagePicker'
- s.version = "4.5.0"
+ s.version = "5.0.0"
s.summary = "Instagram-like image picker & filters for iOS"
s.homepage = "https://github.com/Yummypets/YPImagePicker"
s.license = { :type => "MIT", :file => "LICENSE" }
@@ -8,13 +8,12 @@ Pod::Spec.new do |s|
s.platform = :ios
s.source = { :git => "https://github.com/Yummypets/YPImagePicker.git",
:tag => s.version.to_s }
- s.social_media_url = 'https://twitter.com/sachadso'
- s.requires_arc = true
- s.ios.deployment_target = "9.0"
+ s.social_media_url = 'https://twitter.com/sachadso, www.nik-kov.com'
+ s.ios.deployment_target = "12.0"
s.source_files = 'Source/**/*.swift'
- s.dependency 'SteviaLayout', '~> 4.7.3'
- s.dependency 'PryntTrimmerView', '~> 4.0.2'
+ s.dependency 'SteviaLayout', '= 4.7.3'
+ s.dependency 'PryntTrimmerView', '= 4.0.2'
s.resources = ['Resources/*', 'Source/**/*.xib']
s.description = "Instagram-like image picker & filters for iOS supporting videos and albums"
- s.swift_versions = ['3', '4.1', '4.2', '5.0', '5.1', '5.2', '5.3']
+ s.swift_versions = ['5.0', '5.1', '5.2', '5.3']
end
diff --git a/YPImagePicker.xcodeproj/project.pbxproj b/YPImagePicker.xcodeproj/project.pbxproj
index 03940ff08..d9d0583e9 100644
--- a/YPImagePicker.xcodeproj/project.pbxproj
+++ b/YPImagePicker.xcodeproj/project.pbxproj
@@ -10,30 +10,20 @@
321E6D87240CFABC00D76CD8 /* UINavigationBar+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 321E6D86240CFABC00D76CD8 /* UINavigationBar+Extensions.swift */; };
327D7B592409510300B9C368 /* YPFonts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 327D7B582409510300B9C368 /* YPFonts.swift */; };
327D7B69240CEF2F00B9C368 /* UIBarButtonItem+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 327D7B68240CEF2F00B9C368 /* UIBarButtonItem+Extensions.swift */; };
+ 4500082B3B62CA66D64563BC /* Pods_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8856E5E414FCD9DBEA165EA9 /* Pods_Example.framework */; };
8458057421819B95004F241C /* YPImagePickerLocalizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 99C6D6991F1FB5C100711DB2 /* YPImagePickerLocalizable.strings */; };
99019E4C2018CCD6007325C2 /* YPBottomPagerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E4B2018CCD6007325C2 /* YPBottomPagerView.swift */; };
99019E4E2018CD31007325C2 /* YPPagerMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E4D2018CD31007325C2 /* YPPagerMenu.swift */; };
99019E512018CDED007325C2 /* YPImageSize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E502018CDED007325C2 /* YPImageSize.swift */; };
99019E532018CE19007325C2 /* YPPickerScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E522018CE19007325C2 /* YPPickerScreen.swift */; };
99019E562018D008007325C2 /* YPMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E552018D008007325C2 /* YPMenuItem.swift */; };
- 990FD28F201A49D3002A39A1 /* YPPermissionCheckable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD28E201A49D3002A39A1 /* YPPermissionCheckable.swift */; };
990FD293201B3D69002A39A1 /* YPLibraryViewDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD292201B3D69002A39A1 /* YPLibraryViewDelegate.swift */; };
990FD295201B3E59002A39A1 /* YPDragDirection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD294201B3E59002A39A1 /* YPDragDirection.swift */; };
990FD297201B4A5F002A39A1 /* PHCachingImageManager+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD296201B4A5F002A39A1 /* PHCachingImageManager+Extensions.swift */; };
990FD299201B67FE002A39A1 /* PHFetchResult+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD298201B67FE002A39A1 /* PHFetchResult+Extensions.swift */; };
9911FA24203C3A31000E9B06 /* UIImage+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9911FA23203C3A31000E9B06 /* UIImage+Extensions.swift */; };
9915D9D32087E692003FC307 /* YPLibrarySelection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9915D9D22087E692003FC307 /* YPLibrarySelection.swift */; };
- 99278DA820512BD90059532E /* PreiOS10PhotoCapture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99278DA720512BD90059532E /* PreiOS10PhotoCapture.swift */; };
- 99278DAA20512BFB0059532E /* PostiOS10PhotoCapture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99278DA920512BFB0059532E /* PostiOS10PhotoCapture.swift */; };
- 99278DAC20512C330059532E /* YPPhotoCapture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99278DAB20512C330059532E /* YPPhotoCapture.swift */; };
- 99278DAE205140F60059532E /* YPPermissionDeniedPopup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99278DAD205140F60059532E /* YPPermissionDeniedPopup.swift */; };
- 99278DB02051816F0059532E /* YPPhotoCaptureDefaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99278DAF2051816F0059532E /* YPPhotoCaptureDefaults.swift */; };
99472DED2056E33700419F9E /* YPWordings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99472DEC2056E33700419F9E /* YPWordings.swift */; };
- 99A0529A1F20A19B005600B3 /* YPAlbumVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A052991F20A19B005600B3 /* YPAlbumVC.swift */; };
- 99A0529D1F20B45D005600B3 /* YPAlbumView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A0529C1F20B45D005600B3 /* YPAlbumView.swift */; };
- 99A0529F1F20B480005600B3 /* YPAlbumCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A0529E1F20B480005600B3 /* YPAlbumCell.swift */; };
- 99A052A11F20B49B005600B3 /* YPAlbum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A052A01F20B49B005600B3 /* YPAlbum.swift */; };
- 99A052A31F20B4CA005600B3 /* YPAlbumsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A052A21F20B4CA005600B3 /* YPAlbumsManager.swift */; };
99A3C91020319227008D7E23 /* YPCropView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A3C90F20319227008D7E23 /* YPCropView.swift */; };
99A3C91220319231008D7E23 /* YPCropVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A3C91120319231008D7E23 /* YPCropVC.swift */; };
99B8C4C3208F8EE900127119 /* YPLoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99B8C4C2208F8EE900127119 /* YPLoadingView.swift */; };
@@ -47,10 +37,6 @@
99C6D6C11F1FB5C100711DB2 /* YPAssetViewContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A51F1FB5C100711DB2 /* YPAssetViewContainer.swift */; };
99C6D6C21F1FB5C100711DB2 /* YPCameraVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A71F1FB5C100711DB2 /* YPCameraVC.swift */; };
99C6D6C31F1FB5C100711DB2 /* YPCameraView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A81F1FB5C100711DB2 /* YPCameraView.swift */; };
- 99C6D6C41F1FB5C100711DB2 /* YPFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6AA1F1FB5C100711DB2 /* YPFilter.swift */; };
- 99C6D6C51F1FB5C100711DB2 /* YPFilterCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6AB1F1FB5C100711DB2 /* YPFilterCollectionViewCell.swift */; };
- 99C6D6C71F1FB5C100711DB2 /* YPPhotoFiltersVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6AD1F1FB5C100711DB2 /* YPPhotoFiltersVC.swift */; };
- 99C6D6C81F1FB5C100711DB2 /* YPFiltersView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6AE1F1FB5C100711DB2 /* YPFiltersView.swift */; };
99C6D6C91F1FB5C100711DB2 /* YPBottomPager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6AF1F1FB5C100711DB2 /* YPBottomPager.swift */; };
99C6D6CB1F1FB5C100711DB2 /* YPHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6B11F1FB5C100711DB2 /* YPHelper.swift */; };
99C6D6CC1F1FB5C100711DB2 /* YPImagePickerHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = 99C6D6B21F1FB5C100711DB2 /* YPImagePickerHeader.h */; };
@@ -87,9 +73,116 @@
EB59F452208766B800811B7B /* YPVideoFiltersVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB59F450208766B800811B7B /* YPVideoFiltersVC.swift */; };
EB59F453208766B800811B7B /* YPVideoFiltersVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = EB59F451208766B800811B7B /* YPVideoFiltersVC.xib */; };
EB5B07C4209146F00099C1FA /* UIButton+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB5B07C3209146F00099C1FA /* UIButton+Extensions.swift */; };
- EB65C4B5209321420037858B /* String+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB65C4B4209321420037858B /* String+Extensions.swift */; };
EB867BCF209134F100332A54 /* UIColor+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB867BCE209134F100332A54 /* UIColor+Extensions.swift */; };
EB94F28E208E3A140049F523 /* YPLoaders.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB94F28D208E3A140049F523 /* YPLoaders.swift */; };
+ EBA37AF926F7300C005DAAD4 /* YPPermissionCheckable.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AF626F7300C005DAAD4 /* YPPermissionCheckable.swift */; };
+ EBA37AFA26F7300C005DAAD4 /* YPPermissionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AF726F7300C005DAAD4 /* YPPermissionManager.swift */; };
+ EBA37AFB26F7300C005DAAD4 /* YPPermissionDeniedPopup.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AF826F7300C005DAAD4 /* YPPermissionDeniedPopup.swift */; };
+ EBA37AFF26F7302B005DAAD4 /* YPLog.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AFC26F7302B005DAAD4 /* YPLog.swift */; };
+ EBA37B0026F7302B005DAAD4 /* YPFlashMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AFD26F7302B005DAAD4 /* YPFlashMode.swift */; };
+ EBA37B0126F7302B005DAAD4 /* YPError.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AFE26F7302B005DAAD4 /* YPError.swift */; };
+ EBA37B0326F7304E005DAAD4 /* YPPhotoCaptureHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0226F7304E005DAAD4 /* YPPhotoCaptureHelper.swift */; };
+ EBA37B0926F73080005DAAD4 /* YPAlbum.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0426F73080005DAAD4 /* YPAlbum.swift */; };
+ EBA37B0A26F73080005DAAD4 /* YPAlbumVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0526F73080005DAAD4 /* YPAlbumVC.swift */; };
+ EBA37B0B26F73080005DAAD4 /* YPAlbumCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0626F73080005DAAD4 /* YPAlbumCell.swift */; };
+ EBA37B0C26F73080005DAAD4 /* YPAlbumsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0726F73080005DAAD4 /* YPAlbumsManager.swift */; };
+ EBA37B0D26F73080005DAAD4 /* YPAlbumView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0826F73080005DAAD4 /* YPAlbumView.swift */; };
+ EBA37B3026F74228005DAAD4 /* (null) in Embed Frameworks */ = {isa = PBXBuildFile; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ EBA37B5226F749C6005DAAD4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B5126F749C6005DAAD4 /* AppDelegate.swift */; };
+ EBA37B5B26F749C7005DAAD4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EBA37B5A26F749C7005DAAD4 /* Assets.xcassets */; };
+ EBA37B5E26F749C7005DAAD4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EBA37B5C26F749C7005DAAD4 /* LaunchScreen.storyboard */; };
+ EBA37B6326F74A7F005DAAD4 /* ExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B3826F7493A005DAAD4 /* ExampleViewController.swift */; };
+ EBA37B6426F74C9A005DAAD4 /* YPImagePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6B81F1FB5C100711DB2 /* YPImagePicker.swift */; };
+ EBA37B6526F74C9A005DAAD4 /* YPPickerVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6B51F1FB5C100711DB2 /* YPPickerVC.swift */; };
+ EBA37B6626F74CBA005DAAD4 /* YPLoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99B8C4C2208F8EE900127119 /* YPLoadingView.swift */; };
+ EBA37B6726F74CBA005DAAD4 /* YPFonts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 327D7B582409510300B9C368 /* YPFonts.swift */; };
+ EBA37B6826F74CBA005DAAD4 /* LibraryMediaManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D28201B900400487F77 /* LibraryMediaManager.swift */; };
+ EBA37B6926F74CBA005DAAD4 /* UIBarButtonItem+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 327D7B68240CEF2F00B9C368 /* UIBarButtonItem+Extensions.swift */; };
+ EBA37B6A26F74CBA005DAAD4 /* UIColor+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB867BCE209134F100332A54 /* UIColor+Extensions.swift */; };
+ EBA37B6B26F74CBA005DAAD4 /* CGRect+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D1E201B6B9E00487F77 /* CGRect+Extensions.swift */; };
+ EBA37B6C26F74CBA005DAAD4 /* YPAlbumsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0726F73080005DAAD4 /* YPAlbumsManager.swift */; };
+ EBA37B6D26F74CBA005DAAD4 /* YPLibrary+LibraryChange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D22201B71DC00487F77 /* YPLibrary+LibraryChange.swift */; };
+ EBA37B6E26F74CBA005DAAD4 /* YPPermissionDeniedPopup.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AF826F7300C005DAAD4 /* YPPermissionDeniedPopup.swift */; };
+ EBA37B6F26F74CBA005DAAD4 /* UIImage+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9911FA23203C3A31000E9B06 /* UIImage+Extensions.swift */; };
+ EBA37B7026F74CBA005DAAD4 /* YPError.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AFE26F7302B005DAAD4 /* YPError.swift */; };
+ EBA37B7126F74CBA005DAAD4 /* YPLibraryVC+CollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D20201B70A000487F77 /* YPLibraryVC+CollectionView.swift */; };
+ EBA37B7226F74CBA005DAAD4 /* YPPickerScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E522018CE19007325C2 /* YPPickerScreen.swift */; };
+ EBA37B7326F74CBA005DAAD4 /* YPSelectionsGalleryVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB584BF9207B870F00265B38 /* YPSelectionsGalleryVC.swift */; };
+ EBA37B7426F74CBA005DAAD4 /* YPVideoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBB0FF7920877A7500C84E25 /* YPVideoView.swift */; };
+ EBA37B7526F74CBA005DAAD4 /* YPLibraryVC+PanGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D24201B727900487F77 /* YPLibraryVC+PanGesture.swift */; };
+ EBA37B7626F74CBA005DAAD4 /* YPVideoFiltersVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB59F450208766B800811B7B /* YPVideoFiltersVC.swift */; };
+ EBA37B7926F74CBA005DAAD4 /* YPCropVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A3C91120319231008D7E23 /* YPCropVC.swift */; };
+ EBA37B7A26F74CBA005DAAD4 /* PHCachingImageManager+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD296201B4A5F002A39A1 /* PHCachingImageManager+Extensions.swift */; };
+ EBA37B7B26F74CBA005DAAD4 /* AVCaptureSession+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E24208E1DCA00D16105 /* AVCaptureSession+Extensions.swift */; };
+ EBA37B7C26F74CBA005DAAD4 /* UIButton+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB5B07C3209146F00099C1FA /* UIButton+Extensions.swift */; };
+ EBA37B7D26F74CBA005DAAD4 /* URL+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E16208E192800D16105 /* URL+Extensions.swift */; };
+ EBA37B7F26F74CBA005DAAD4 /* YPPermissionCheckable.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AF626F7300C005DAAD4 /* YPPermissionCheckable.swift */; };
+ EBA37B8026F74CBA005DAAD4 /* NSFileManager+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E1A208E1B7400D16105 /* NSFileManager+Extensions.swift */; };
+ EBA37B8126F74CBA005DAAD4 /* PHFetchResult+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD298201B67FE002A39A1 /* PHFetchResult+Extensions.swift */; };
+ EBA37B8226F74CBA005DAAD4 /* YPPhotoSaver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6B41F1FB5C100711DB2 /* YPPhotoSaver.swift */; };
+ EBA37B8326F74CBA005DAAD4 /* CIImage+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBE6CA47210389ED005B0A6A /* CIImage+Extensions.swift */; };
+ EBA37B8426F74CBA005DAAD4 /* YPColors.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBD66106208104F400EA276E /* YPColors.swift */; };
+ EBA37B8526F74CBA005DAAD4 /* YPLibraryVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D69F1F1FB5C100711DB2 /* YPLibraryVC.swift */; };
+ EBA37B8626F74CBA005DAAD4 /* YPWordings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99472DEC2056E33700419F9E /* YPWordings.swift */; };
+ EBA37B8726F74CBA005DAAD4 /* YPLibraryViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A21F1FB5C100711DB2 /* YPLibraryViewCell.swift */; };
+ EBA37B8826F74CBA005DAAD4 /* YPPagerMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E4D2018CD31007325C2 /* YPPagerMenu.swift */; };
+ EBA37B8926F74CBA005DAAD4 /* YPAlerts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D26201B739600487F77 /* YPAlerts.swift */; };
+ EBA37B8A26F74CBA005DAAD4 /* YPLog.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AFC26F7302B005DAAD4 /* YPLog.swift */; };
+ EBA37B8B26F74CBA005DAAD4 /* YPIcons.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBD66104208104EA00EA276E /* YPIcons.swift */; };
+ EBA37B8C26F74CBA005DAAD4 /* YPAlbumCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0626F73080005DAAD4 /* YPAlbumCell.swift */; };
+ EBA37B8D26F74CBA005DAAD4 /* YPVideoCaptureVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6B71F1FB5C100711DB2 /* YPVideoCaptureVC.swift */; };
+ EBA37B8E26F74CBA005DAAD4 /* YPSelectionsGalleryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB584BFD207B883A00265B38 /* YPSelectionsGalleryCell.swift */; };
+ EBA37B8F26F74CBA005DAAD4 /* AVFileType+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E18208E198E00D16105 /* AVFileType+Extensions.swift */; };
+ EBA37B9026F74CBA005DAAD4 /* AVMutableComposition+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E1E208E1BCC00D16105 /* AVMutableComposition+Extensions.swift */; };
+ EBA37B9126F74CBA005DAAD4 /* YPTrimError.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E20208E1BF400D16105 /* YPTrimError.swift */; };
+ EBA37B9226F74CBA005DAAD4 /* YPAlbumView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0826F73080005DAAD4 /* YPAlbumView.swift */; };
+ EBA37B9326F74CBA005DAAD4 /* YPBottomPagerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E4B2018CCD6007325C2 /* YPBottomPagerView.swift */; };
+ EBA37B9426F74CBA005DAAD4 /* YPAssetZoomableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A41F1FB5C100711DB2 /* YPAssetZoomableView.swift */; };
+ EBA37B9526F74CBA005DAAD4 /* AVCaptureDevice+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E2A208E1ECB00D16105 /* AVCaptureDevice+Extensions.swift */; };
+ EBA37B9626F74CBA005DAAD4 /* YPGridView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A31F1FB5C100711DB2 /* YPGridView.swift */; };
+ EBA37B9726F74CBA005DAAD4 /* AVPlayer+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E22208E1DB000D16105 /* AVPlayer+Extensions.swift */; };
+ EBA37B9826F74CBA005DAAD4 /* YPVideoProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB05F6E6214A7191002040AA /* YPVideoProcessor.swift */; };
+ EBA37B9926F74CBA005DAAD4 /* YPFlashMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AFD26F7302B005DAAD4 /* YPFlashMode.swift */; };
+ EBA37B9A26F74CBA005DAAD4 /* YPLibrarySelection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9915D9D22087E692003FC307 /* YPLibrarySelection.swift */; };
+ EBA37B9B26F74CBA005DAAD4 /* UINavigationBar+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 321E6D86240CFABC00D76CD8 /* UINavigationBar+Extensions.swift */; };
+ EBA37B9C26F74CBA005DAAD4 /* CGFloat+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB1AB2E920AC1DED00BFA79F /* CGFloat+Extensions.swift */; };
+ EBA37B9D26F74CBA005DAAD4 /* YPImageSize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E502018CDED007325C2 /* YPImageSize.swift */; };
+ EBA37B9E26F74CBA005DAAD4 /* YPDragDirection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD294201B3E59002A39A1 /* YPDragDirection.swift */; };
+ EBA37B9F26F74CBA005DAAD4 /* YPImagePickerConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99D1DC2A1F9788930047F0E0 /* YPImagePickerConfiguration.swift */; };
+ EBA37BA026F74CBA005DAAD4 /* YPPhotoCaptureHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0226F7304E005DAAD4 /* YPPhotoCaptureHelper.swift */; };
+ EBA37BA126F74CBA005DAAD4 /* AVAsset+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB473E1C208E1B9E00D16105 /* AVAsset+Extensions.swift */; };
+ EBA37BA226F74CBA005DAAD4 /* YPDeviceOrientationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA69BCF122E601D100FBB925 /* YPDeviceOrientationHelper.swift */; };
+ EBA37BA326F74CBA005DAAD4 /* YPAssetViewContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A51F1FB5C100711DB2 /* YPAssetViewContainer.swift */; };
+ EBA37BA426F74CBA005DAAD4 /* UICollectionView+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D1A201B6A5C00487F77 /* UICollectionView+Extensions.swift */; };
+ EBA37BA526F74CBA005DAAD4 /* AVFoundation+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB584C02207B990200265B38 /* AVFoundation+Extensions.swift */; };
+ EBA37BA626F74CBA005DAAD4 /* IndexSet+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D1C201B6ABA00487F77 /* IndexSet+Extensions.swift */; };
+ EBA37BA726F74CBA005DAAD4 /* YPMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99019E552018D008007325C2 /* YPMenuItem.swift */; };
+ EBA37BA926F74CBA005DAAD4 /* YPLibraryViewDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 990FD292201B3D69002A39A1 /* YPLibraryViewDelegate.swift */; };
+ EBA37BAA26F74CBA005DAAD4 /* YPCameraVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A71F1FB5C100711DB2 /* YPCameraVC.swift */; };
+ EBA37BAB26F74CBA005DAAD4 /* YPCropView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99A3C90F20319227008D7E23 /* YPCropView.swift */; };
+ EBA37BAC26F74CBA005DAAD4 /* YPHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6B11F1FB5C100711DB2 /* YPHelper.swift */; };
+ EBA37BAD26F74CBA005DAAD4 /* YPPermissionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37AF726F7300C005DAAD4 /* YPPermissionManager.swift */; };
+ EBA37BAE26F74CBA005DAAD4 /* YPAlbumVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0526F73080005DAAD4 /* YPAlbumVC.swift */; };
+ EBA37BAF26F74CBA005DAAD4 /* YPSelectionsGalleryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CD962620D179FD009F5084 /* YPSelectionsGalleryView.swift */; };
+ EBA37BB026F74CBA005DAAD4 /* YPVideoCaptureHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99CF6D2A201CB96700487F77 /* YPVideoCaptureHelper.swift */; };
+ EBA37BB126F74CBA005DAAD4 /* YPLoaders.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB94F28D208E3A140049F523 /* YPLoaders.swift */; };
+ EBA37BB226F74CBB005DAAD4 /* YPBottomPager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6AF1F1FB5C100711DB2 /* YPBottomPager.swift */; };
+ EBA37BB326F74CBB005DAAD4 /* YPMediaItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBD2B640207B7D7400E711C2 /* YPMediaItem.swift */; };
+ EBA37BB426F74CBB005DAAD4 /* YPLibraryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A01F1FB5C100711DB2 /* YPLibraryView.swift */; };
+ EBA37BB526F74CBB005DAAD4 /* YPAlbum.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37B0426F73080005DAAD4 /* YPAlbum.swift */; };
+ EBA37BB626F74CBB005DAAD4 /* YPCameraView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99C6D6A81F1FB5C100711DB2 /* YPCameraView.swift */; };
+ EBA37BBB26F74CE0005DAAD4 /* YPPhotoFiltersVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BB726F74CE0005DAAD4 /* YPPhotoFiltersVC.swift */; };
+ EBA37BBC26F74CE0005DAAD4 /* YPPhotoFiltersVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BB726F74CE0005DAAD4 /* YPPhotoFiltersVC.swift */; };
+ EBA37BBD26F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BB826F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift */; };
+ EBA37BBE26F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BB826F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift */; };
+ EBA37BBF26F74CE0005DAAD4 /* YPFiltersView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BB926F74CE0005DAAD4 /* YPFiltersView.swift */; };
+ EBA37BC026F74CE0005DAAD4 /* YPFiltersView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BB926F74CE0005DAAD4 /* YPFiltersView.swift */; };
+ EBA37BC126F74CE0005DAAD4 /* YPFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BBA26F74CE0005DAAD4 /* YPFilter.swift */; };
+ EBA37BC226F74CE0005DAAD4 /* YPFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBA37BBA26F74CE0005DAAD4 /* YPFilter.swift */; };
+ EBA37BC426F750DE005DAAD4 /* YPLibraryView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 99C6D6A11F1FB5C100711DB2 /* YPLibraryView.xib */; };
+ EBA37BC526F750DE005DAAD4 /* YPVideoFiltersVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = EB59F451208766B800811B7B /* YPVideoFiltersVC.xib */; };
+ EBA37BC626F75144005DAAD4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 99C6D6981F1FB5C100711DB2 /* Assets.xcassets */; };
+ EBA37BC726F75151005DAAD4 /* YPImagePickerLocalizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 99C6D6991F1FB5C100711DB2 /* YPImagePickerLocalizable.strings */; };
EBB0FF7A20877A7500C84E25 /* YPVideoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBB0FF7920877A7500C84E25 /* YPVideoView.swift */; };
EBD2B641207B7D7400E711C2 /* YPMediaItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBD2B640207B7D7400E711C2 /* YPMediaItem.swift */; };
EBD66105208104EA00EA276E /* YPIcons.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBD66104208104EA00EA276E /* YPIcons.swift */; };
@@ -97,9 +190,24 @@
EBE6CA48210389ED005B0A6A /* CIImage+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBE6CA47210389ED005B0A6A /* CIImage+Extensions.swift */; };
/* End PBXBuildFile section */
+/* Begin PBXCopyFilesBuildPhase section */
+ EBA37B3126F74228005DAAD4 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ EBA37B3026F74228005DAAD4 /* (null) in Embed Frameworks */,
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
/* Begin PBXFileReference section */
16550C5C214D5EE60090BADF /* bg */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = bg; path = bg.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
166695DE253EFF0100F6EF9E /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
+ 1CF8B597BBC32060C9FA476A /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; };
2577138123B1E09300BB9C86 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
2577138223B1E09E00BB9C86 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = vi; path = vi.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
321E6D86240CFABC00D76CD8 /* UINavigationBar+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UINavigationBar+Extensions.swift"; sourceTree = ""; };
@@ -116,12 +224,12 @@
7157B4CA206FD7270004EF6C /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/YPImagePickerLocalizable.strings"; sourceTree = ""; };
7222273C254C031100CAB087 /* fa */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fa; path = fa.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
78B58D3524C5DB5200B83153 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
+ 8856E5E414FCD9DBEA165EA9 /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
99019E4B2018CCD6007325C2 /* YPBottomPagerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPBottomPagerView.swift; sourceTree = ""; };
99019E4D2018CD31007325C2 /* YPPagerMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPPagerMenu.swift; sourceTree = ""; };
99019E502018CDED007325C2 /* YPImageSize.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPImageSize.swift; sourceTree = ""; };
99019E522018CE19007325C2 /* YPPickerScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPPickerScreen.swift; sourceTree = ""; };
99019E552018D008007325C2 /* YPMenuItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPMenuItem.swift; sourceTree = ""; };
- 990FD28E201A49D3002A39A1 /* YPPermissionCheckable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPPermissionCheckable.swift; sourceTree = ""; };
990FD292201B3D69002A39A1 /* YPLibraryViewDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPLibraryViewDelegate.swift; sourceTree = ""; };
990FD294201B3E59002A39A1 /* YPDragDirection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPDragDirection.swift; sourceTree = ""; };
990FD296201B4A5F002A39A1 /* PHCachingImageManager+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PHCachingImageManager+Extensions.swift"; sourceTree = ""; };
@@ -130,17 +238,7 @@
9915D9D22087E692003FC307 /* YPLibrarySelection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPLibrarySelection.swift; sourceTree = ""; };
991712D021BE9FF900DE781F /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/YPImagePickerLocalizable.strings"; sourceTree = ""; };
991C0E5320567D3400764131 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
- 99278DA720512BD90059532E /* PreiOS10PhotoCapture.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreiOS10PhotoCapture.swift; sourceTree = ""; };
- 99278DA920512BFB0059532E /* PostiOS10PhotoCapture.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PostiOS10PhotoCapture.swift; sourceTree = ""; };
- 99278DAB20512C330059532E /* YPPhotoCapture.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPPhotoCapture.swift; sourceTree = ""; };
- 99278DAD205140F60059532E /* YPPermissionDeniedPopup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPPermissionDeniedPopup.swift; sourceTree = ""; };
- 99278DAF2051816F0059532E /* YPPhotoCaptureDefaults.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPPhotoCaptureDefaults.swift; sourceTree = ""; };
99472DEC2056E33700419F9E /* YPWordings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPWordings.swift; sourceTree = ""; };
- 99A052991F20A19B005600B3 /* YPAlbumVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumVC.swift; sourceTree = ""; };
- 99A0529C1F20B45D005600B3 /* YPAlbumView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumView.swift; sourceTree = ""; };
- 99A0529E1F20B480005600B3 /* YPAlbumCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumCell.swift; sourceTree = ""; };
- 99A052A01F20B49B005600B3 /* YPAlbum.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbum.swift; sourceTree = ""; };
- 99A052A21F20B4CA005600B3 /* YPAlbumsManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumsManager.swift; sourceTree = ""; };
99A3C90F20319227008D7E23 /* YPCropView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPCropView.swift; sourceTree = ""; };
99A3C91120319231008D7E23 /* YPCropVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPCropVC.swift; sourceTree = ""; };
99B8C4C2208F8EE900127119 /* YPLoadingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPLoadingView.swift; sourceTree = ""; };
@@ -158,10 +256,6 @@
99C6D6A51F1FB5C100711DB2 /* YPAssetViewContainer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAssetViewContainer.swift; sourceTree = ""; };
99C6D6A71F1FB5C100711DB2 /* YPCameraVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPCameraVC.swift; sourceTree = ""; };
99C6D6A81F1FB5C100711DB2 /* YPCameraView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPCameraView.swift; sourceTree = ""; };
- 99C6D6AA1F1FB5C100711DB2 /* YPFilter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPFilter.swift; sourceTree = ""; };
- 99C6D6AB1F1FB5C100711DB2 /* YPFilterCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPFilterCollectionViewCell.swift; sourceTree = ""; };
- 99C6D6AD1F1FB5C100711DB2 /* YPPhotoFiltersVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPPhotoFiltersVC.swift; sourceTree = ""; };
- 99C6D6AE1F1FB5C100711DB2 /* YPFiltersView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPFiltersView.swift; sourceTree = ""; };
99C6D6AF1F1FB5C100711DB2 /* YPBottomPager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPBottomPager.swift; sourceTree = ""; };
99C6D6B11F1FB5C100711DB2 /* YPHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPHelper.swift; sourceTree = ""; };
99C6D6B21F1FB5C100711DB2 /* YPImagePickerHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YPImagePickerHeader.h; sourceTree = ""; };
@@ -183,6 +277,7 @@
99D1DC2A1F9788930047F0E0 /* YPImagePickerConfiguration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPImagePickerConfiguration.swift; sourceTree = ""; };
A7FD716620755C2D0044A8E8 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
AA69BCF122E601D100FBB925 /* YPDeviceOrientationHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPDeviceOrientationHelper.swift; sourceTree = ""; };
+ BEED427CB4F6E5B8C20B6F13 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = ""; };
DC3DAC4526C6FCAA007FD95A /* cs */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
E3E492BB2169012B002BA807 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
E5287F5820B908720052153D /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/YPImagePickerLocalizable.strings; sourceTree = ""; };
@@ -206,10 +301,32 @@
EB59F451208766B800811B7B /* YPVideoFiltersVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = YPVideoFiltersVC.xib; sourceTree = ""; };
EB5ACE2B2620802A00C3288D /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
EB5B07C3209146F00099C1FA /* UIButton+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIButton+Extensions.swift"; sourceTree = ""; };
- EB65C4B4209321420037858B /* String+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Extensions.swift"; sourceTree = ""; };
- EB84ADD522F35506003667B5 /* YPImagePicker.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = YPImagePicker.podspec; sourceTree = ""; };
+ EB84ADD522F35506003667B5 /* YPImagePicker.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; path = YPImagePicker.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
EB867BCE209134F100332A54 /* UIColor+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIColor+Extensions.swift"; sourceTree = ""; };
EB94F28D208E3A140049F523 /* YPLoaders.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPLoaders.swift; sourceTree = ""; };
+ EBA37AF626F7300C005DAAD4 /* YPPermissionCheckable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPPermissionCheckable.swift; sourceTree = ""; };
+ EBA37AF726F7300C005DAAD4 /* YPPermissionManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPPermissionManager.swift; sourceTree = ""; };
+ EBA37AF826F7300C005DAAD4 /* YPPermissionDeniedPopup.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPPermissionDeniedPopup.swift; sourceTree = ""; };
+ EBA37AFC26F7302B005DAAD4 /* YPLog.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPLog.swift; sourceTree = ""; };
+ EBA37AFD26F7302B005DAAD4 /* YPFlashMode.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPFlashMode.swift; sourceTree = ""; };
+ EBA37AFE26F7302B005DAAD4 /* YPError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPError.swift; sourceTree = ""; };
+ EBA37B0226F7304E005DAAD4 /* YPPhotoCaptureHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPPhotoCaptureHelper.swift; sourceTree = ""; };
+ EBA37B0426F73080005DAAD4 /* YPAlbum.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbum.swift; sourceTree = ""; };
+ EBA37B0526F73080005DAAD4 /* YPAlbumVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumVC.swift; sourceTree = ""; };
+ EBA37B0626F73080005DAAD4 /* YPAlbumCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumCell.swift; sourceTree = ""; };
+ EBA37B0726F73080005DAAD4 /* YPAlbumsManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumsManager.swift; sourceTree = ""; };
+ EBA37B0826F73080005DAAD4 /* YPAlbumView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPAlbumView.swift; sourceTree = ""; };
+ EBA37B1426F737CE005DAAD4 /* Podfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Podfile; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+ EBA37B3826F7493A005DAAD4 /* ExampleViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleViewController.swift; sourceTree = ""; };
+ EBA37B4F26F749C6005DAAD4 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ EBA37B5126F749C6005DAAD4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ EBA37B5A26F749C7005DAAD4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ EBA37B5D26F749C7005DAAD4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ EBA37B5F26F749C7005DAAD4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ EBA37BB726F74CE0005DAAD4 /* YPPhotoFiltersVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPPhotoFiltersVC.swift; sourceTree = ""; };
+ EBA37BB826F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPFilterCollectionViewCell.swift; sourceTree = ""; };
+ EBA37BB926F74CE0005DAAD4 /* YPFiltersView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPFiltersView.swift; sourceTree = ""; };
+ EBA37BBA26F74CE0005DAAD4 /* YPFilter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YPFilter.swift; sourceTree = ""; };
EBB0FF7920877A7500C84E25 /* YPVideoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPVideoView.swift; sourceTree = ""; };
EBD2B640207B7D7400E711C2 /* YPMediaItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPMediaItem.swift; sourceTree = ""; };
EBD66104208104EA00EA276E /* YPIcons.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YPIcons.swift; sourceTree = ""; };
@@ -225,6 +342,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ EBA37B4C26F749C6005DAAD4 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 4500082B3B62CA66D64563BC /* Pods_Example.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@@ -232,11 +357,14 @@
isa = PBXGroup;
children = (
EB84ADD522F35506003667B5 /* YPImagePicker.podspec */,
+ EBA37B1426F737CE005DAAD4 /* Podfile */,
EB5ACE2B2620802A00C3288D /* README.md */,
99C6D69D1F1FB5C100711DB2 /* Source */,
99C6D6971F1FB5C100711DB2 /* Resources */,
+ EBA37B5026F749C6005DAAD4 /* Example */,
52412A941CA6114A0073C4BE /* Products */,
- EB3251DE20878D5900A6190D /* Frameworks */,
+ 7BB1F1913DC57A6D502383F0 /* Pods */,
+ 9B8A317E1EBFC107F120642D /* Frameworks */,
);
indentWidth = 4;
sourceTree = "";
@@ -246,17 +374,27 @@
isa = PBXGroup;
children = (
52412A931CA6114A0073C4BE /* YPImagePicker.framework */,
+ EBA37B4F26F749C6005DAAD4 /* Example.app */,
);
name = Products;
sourceTree = "";
};
+ 7BB1F1913DC57A6D502383F0 /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 1CF8B597BBC32060C9FA476A /* Pods-Example.debug.xcconfig */,
+ BEED427CB4F6E5B8C20B6F13 /* Pods-Example.release.xcconfig */,
+ );
+ path = Pods;
+ sourceTree = "";
+ };
99019E4A2018CCB8007325C2 /* BottomPager */ = {
isa = PBXGroup;
children = (
99C6D6AF1F1FB5C100711DB2 /* YPBottomPager.swift */,
99019E4B2018CCD6007325C2 /* YPBottomPagerView.swift */,
- 99019E4D2018CD31007325C2 /* YPPagerMenu.swift */,
99019E552018D008007325C2 /* YPMenuItem.swift */,
+ 99019E4D2018CD31007325C2 /* YPPagerMenu.swift */,
);
path = BottomPager;
sourceTree = "";
@@ -264,13 +402,13 @@
99019E4F2018CDDF007325C2 /* Configuration */ = {
isa = PBXGroup;
children = (
- 99D1DC2A1F9788930047F0E0 /* YPImagePickerConfiguration.swift */,
- 99472DEC2056E33700419F9E /* YPWordings.swift */,
- EBD66104208104EA00EA276E /* YPIcons.swift */,
EBD66106208104F400EA276E /* YPColors.swift */,
+ 327D7B582409510300B9C368 /* YPFonts.swift */,
+ EBD66104208104EA00EA276E /* YPIcons.swift */,
+ 99D1DC2A1F9788930047F0E0 /* YPImagePickerConfiguration.swift */,
99019E502018CDED007325C2 /* YPImageSize.swift */,
99019E522018CE19007325C2 /* YPPickerScreen.swift */,
- 327D7B582409510300B9C368 /* YPFonts.swift */,
+ 99472DEC2056E33700419F9E /* YPWordings.swift */,
);
path = Configuration;
sourceTree = "";
@@ -279,30 +417,18 @@
isa = PBXGroup;
children = (
EB473E2C208E1ED800D16105 /* Extensions */,
- 99C6D6B11F1FB5C100711DB2 /* YPHelper.swift */,
- 99C6D6B41F1FB5C100711DB2 /* YPPhotoSaver.swift */,
- 99B8C4C2208F8EE900127119 /* YPLoadingView.swift */,
+ EBA37AF526F7300C005DAAD4 /* Permissions */,
99CF6D26201B739600487F77 /* YPAlerts.swift */,
- 990FD28E201A49D3002A39A1 /* YPPermissionCheckable.swift */,
+ AA69BCF122E601D100FBB925 /* YPDeviceOrientationHelper.swift */,
+ 99C6D6B11F1FB5C100711DB2 /* YPHelper.swift */,
EB94F28D208E3A140049F523 /* YPLoaders.swift */,
+ 99B8C4C2208F8EE900127119 /* YPLoadingView.swift */,
+ 99C6D6B41F1FB5C100711DB2 /* YPPhotoSaver.swift */,
EB05F6E6214A7191002040AA /* YPVideoProcessor.swift */,
- AA69BCF122E601D100FBB925 /* YPDeviceOrientationHelper.swift */,
);
path = Helpers;
sourceTree = "";
};
- 99A0529B1F20B44B005600B3 /* Albums */ = {
- isa = PBXGroup;
- children = (
- 99A052991F20A19B005600B3 /* YPAlbumVC.swift */,
- 99A0529C1F20B45D005600B3 /* YPAlbumView.swift */,
- 99A0529E1F20B480005600B3 /* YPAlbumCell.swift */,
- 99A052A01F20B49B005600B3 /* YPAlbum.swift */,
- 99A052A21F20B4CA005600B3 /* YPAlbumsManager.swift */,
- );
- name = Albums;
- sourceTree = "";
- };
99A3C90E20319212008D7E23 /* Crop */ = {
isa = PBXGroup;
children = (
@@ -341,20 +467,20 @@
99C6D69E1F1FB5C100711DB2 /* Gallery */ = {
isa = PBXGroup;
children = (
- 99C6D69F1F1FB5C100711DB2 /* YPLibraryVC.swift */,
+ EBA37B0E26F73086005DAAD4 /* Album */,
+ 99019E4A2018CCB8007325C2 /* BottomPager */,
+ 99CF6D28201B900400487F77 /* LibraryMediaManager.swift */,
99C6D6A51F1FB5C100711DB2 /* YPAssetViewContainer.swift */,
99C6D6A41F1FB5C100711DB2 /* YPAssetZoomableView.swift */,
- 99CF6D24201B727900487F77 /* YPLibraryVC+PanGesture.swift */,
+ 99C6D6A31F1FB5C100711DB2 /* YPGridView.swift */,
+ 99CF6D22201B71DC00487F77 /* YPLibrary+LibraryChange.swift */,
+ 99C6D69F1F1FB5C100711DB2 /* YPLibraryVC.swift */,
99CF6D20201B70A000487F77 /* YPLibraryVC+CollectionView.swift */,
- 99C6D6A11F1FB5C100711DB2 /* YPLibraryView.xib */,
+ 99CF6D24201B727900487F77 /* YPLibraryVC+PanGesture.swift */,
99C6D6A01F1FB5C100711DB2 /* YPLibraryView.swift */,
- 99CF6D22201B71DC00487F77 /* YPLibrary+LibraryChange.swift */,
- 990FD292201B3D69002A39A1 /* YPLibraryViewDelegate.swift */,
+ 99C6D6A11F1FB5C100711DB2 /* YPLibraryView.xib */,
99C6D6A21F1FB5C100711DB2 /* YPLibraryViewCell.swift */,
- 99C6D6A31F1FB5C100711DB2 /* YPGridView.swift */,
- 99CF6D28201B900400487F77 /* LibraryMediaManager.swift */,
- 99A0529B1F20B44B005600B3 /* Albums */,
- 99019E4A2018CCB8007325C2 /* BottomPager */,
+ 990FD292201B3D69002A39A1 /* YPLibraryViewDelegate.swift */,
);
path = Gallery;
sourceTree = "";
@@ -364,10 +490,7 @@
children = (
99C6D6A71F1FB5C100711DB2 /* YPCameraVC.swift */,
99C6D6A81F1FB5C100711DB2 /* YPCameraView.swift */,
- 99278DAB20512C330059532E /* YPPhotoCapture.swift */,
- 99278DA720512BD90059532E /* PreiOS10PhotoCapture.swift */,
- 99278DA920512BFB0059532E /* PostiOS10PhotoCapture.swift */,
- 99278DAF2051816F0059532E /* YPPhotoCaptureDefaults.swift */,
+ EBA37B0226F7304E005DAAD4 /* YPPhotoCaptureHelper.swift */,
);
path = Photo;
sourceTree = "";
@@ -375,8 +498,8 @@
99C6D6A91F1FB5C100711DB2 /* Filters */ = {
isa = PBXGroup;
children = (
+ EBA37BC326F74CE9005DAAD4 /* Photo */,
EB59F44D2087665500811B7B /* Video */,
- EB473E2D208E21C600D16105 /* Photo */,
99A3C90E20319212008D7E23 /* Crop */,
);
path = Filters;
@@ -385,15 +508,16 @@
99C6D6B61F1FB5C100711DB2 /* Video */ = {
isa = PBXGroup;
children = (
- 99C6D6B71F1FB5C100711DB2 /* YPVideoCaptureVC.swift */,
99CF6D2A201CB96700487F77 /* YPVideoCaptureHelper.swift */,
+ 99C6D6B71F1FB5C100711DB2 /* YPVideoCaptureVC.swift */,
);
path = Video;
sourceTree = "";
};
- EB3251DE20878D5900A6190D /* Frameworks */ = {
+ 9B8A317E1EBFC107F120642D /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 8856E5E414FCD9DBEA165EA9 /* Pods_Example.framework */,
);
name = Frameworks;
sourceTree = "";
@@ -402,42 +526,30 @@
isa = PBXGroup;
children = (
EB473E1C208E1B9E00D16105 /* AVAsset+Extensions.swift */,
- EB584C02207B990200265B38 /* AVFoundation+Extensions.swift */,
EB473E2A208E1ECB00D16105 /* AVCaptureDevice+Extensions.swift */,
EB473E24208E1DCA00D16105 /* AVCaptureSession+Extensions.swift */,
EB473E18208E198E00D16105 /* AVFileType+Extensions.swift */,
- EB473E22208E1DB000D16105 /* AVPlayer+Extensions.swift */,
+ EB584C02207B990200265B38 /* AVFoundation+Extensions.swift */,
EB473E1E208E1BCC00D16105 /* AVMutableComposition+Extensions.swift */,
- 99CF6D1C201B6ABA00487F77 /* IndexSet+Extensions.swift */,
- 99CF6D1E201B6B9E00487F77 /* CGRect+Extensions.swift */,
+ EB473E22208E1DB000D16105 /* AVPlayer+Extensions.swift */,
EB1AB2E920AC1DED00BFA79F /* CGFloat+Extensions.swift */,
- 9911FA23203C3A31000E9B06 /* UIImage+Extensions.swift */,
+ 99CF6D1E201B6B9E00487F77 /* CGRect+Extensions.swift */,
EBE6CA47210389ED005B0A6A /* CIImage+Extensions.swift */,
- EB473E16208E192800D16105 /* URL+Extensions.swift */,
+ 99CF6D1C201B6ABA00487F77 /* IndexSet+Extensions.swift */,
EB473E1A208E1B7400D16105 /* NSFileManager+Extensions.swift */,
- 99CF6D1A201B6A5C00487F77 /* UICollectionView+Extensions.swift */,
990FD296201B4A5F002A39A1 /* PHCachingImageManager+Extensions.swift */,
990FD298201B67FE002A39A1 /* PHFetchResult+Extensions.swift */,
- EB867BCE209134F100332A54 /* UIColor+Extensions.swift */,
- EB5B07C3209146F00099C1FA /* UIButton+Extensions.swift */,
327D7B68240CEF2F00B9C368 /* UIBarButtonItem+Extensions.swift */,
- EB65C4B4209321420037858B /* String+Extensions.swift */,
+ EB5B07C3209146F00099C1FA /* UIButton+Extensions.swift */,
+ 99CF6D1A201B6A5C00487F77 /* UICollectionView+Extensions.swift */,
+ EB867BCE209134F100332A54 /* UIColor+Extensions.swift */,
+ 9911FA23203C3A31000E9B06 /* UIImage+Extensions.swift */,
321E6D86240CFABC00D76CD8 /* UINavigationBar+Extensions.swift */,
+ EB473E16208E192800D16105 /* URL+Extensions.swift */,
);
path = Extensions;
sourceTree = "";
};
- EB473E2D208E21C600D16105 /* Photo */ = {
- isa = PBXGroup;
- children = (
- 99C6D6AD1F1FB5C100711DB2 /* YPPhotoFiltersVC.swift */,
- 99C6D6AB1F1FB5C100711DB2 /* YPFilterCollectionViewCell.swift */,
- 99C6D6AE1F1FB5C100711DB2 /* YPFiltersView.swift */,
- 99C6D6AA1F1FB5C100711DB2 /* YPFilter.swift */,
- );
- name = Photo;
- sourceTree = "";
- };
EB59F44D2087665500811B7B /* Video */ = {
isa = PBXGroup;
children = (
@@ -458,12 +570,57 @@
path = Pages;
sourceTree = "";
};
+ EBA37AF526F7300C005DAAD4 /* Permissions */ = {
+ isa = PBXGroup;
+ children = (
+ EBA37AF626F7300C005DAAD4 /* YPPermissionCheckable.swift */,
+ EBA37AF826F7300C005DAAD4 /* YPPermissionDeniedPopup.swift */,
+ EBA37AF726F7300C005DAAD4 /* YPPermissionManager.swift */,
+ );
+ path = Permissions;
+ sourceTree = "";
+ };
+ EBA37B0E26F73086005DAAD4 /* Album */ = {
+ isa = PBXGroup;
+ children = (
+ EBA37B0426F73080005DAAD4 /* YPAlbum.swift */,
+ EBA37B0626F73080005DAAD4 /* YPAlbumCell.swift */,
+ EBA37B0726F73080005DAAD4 /* YPAlbumsManager.swift */,
+ EBA37B0526F73080005DAAD4 /* YPAlbumVC.swift */,
+ EBA37B0826F73080005DAAD4 /* YPAlbumView.swift */,
+ );
+ path = Album;
+ sourceTree = "";
+ };
+ EBA37B5026F749C6005DAAD4 /* Example */ = {
+ isa = PBXGroup;
+ children = (
+ EBA37B3826F7493A005DAAD4 /* ExampleViewController.swift */,
+ EBA37B5126F749C6005DAAD4 /* AppDelegate.swift */,
+ EBA37B5A26F749C7005DAAD4 /* Assets.xcassets */,
+ EBA37B5C26F749C7005DAAD4 /* LaunchScreen.storyboard */,
+ EBA37B5F26F749C7005DAAD4 /* Info.plist */,
+ );
+ path = Example;
+ sourceTree = "";
+ };
+ EBA37BC326F74CE9005DAAD4 /* Photo */ = {
+ isa = PBXGroup;
+ children = (
+ EBA37BBA26F74CE0005DAAD4 /* YPFilter.swift */,
+ EBA37BB826F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift */,
+ EBA37BB926F74CE0005DAAD4 /* YPFiltersView.swift */,
+ EBA37BB726F74CE0005DAAD4 /* YPPhotoFiltersVC.swift */,
+ );
+ path = Photo;
+ sourceTree = "";
+ };
EBD2B639207B7B1100E711C2 /* SelectionsGallery */ = {
isa = PBXGroup;
children = (
+ EB584BFD207B883A00265B38 /* YPSelectionsGalleryCell.swift */,
EB584BF9207B870F00265B38 /* YPSelectionsGalleryVC.swift */,
99CD962620D179FD009F5084 /* YPSelectionsGalleryView.swift */,
- EB584BFD207B883A00265B38 /* YPSelectionsGalleryCell.swift */,
);
path = SelectionsGallery;
sourceTree = "";
@@ -471,11 +628,13 @@
EBD2B63D207B7D4E00E711C2 /* Models */ = {
isa = PBXGroup;
children = (
- EBD2B640207B7D7400E711C2 /* YPMediaItem.swift */,
+ 990FD294201B3E59002A39A1 /* YPDragDirection.swift */,
+ EBA37AFE26F7302B005DAAD4 /* YPError.swift */,
+ EBA37AFD26F7302B005DAAD4 /* YPFlashMode.swift */,
9915D9D22087E692003FC307 /* YPLibrarySelection.swift */,
+ EBA37AFC26F7302B005DAAD4 /* YPLog.swift */,
+ EBD2B640207B7D7400E711C2 /* YPMediaItem.swift */,
EB473E20208E1BF400D16105 /* YPTrimError.swift */,
- 990FD294201B3E59002A39A1 /* YPDragDirection.swift */,
- 99278DAD205140F60059532E /* YPPermissionDeniedPopup.swift */,
);
path = Models;
sourceTree = "";
@@ -503,6 +662,7 @@
52412A901CA6114A0073C4BE /* Headers */,
52412A911CA6114A0073C4BE /* Resources */,
9945C1DD1E8141AB00AE1C57 /* SwiftLint */,
+ EBA37B3126F74228005DAAD4 /* Embed Frameworks */,
);
buildRules = (
);
@@ -513,12 +673,32 @@
productReference = 52412A931CA6114A0073C4BE /* YPImagePicker.framework */;
productType = "com.apple.product-type.framework";
};
+ EBA37B4E26F749C6005DAAD4 /* Example */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = EBA37B6026F749C7005DAAD4 /* Build configuration list for PBXNativeTarget "Example" */;
+ buildPhases = (
+ 1440C3DA242B54F83BBBDA2D /* [CP] Check Pods Manifest.lock */,
+ EBA37B4B26F749C6005DAAD4 /* Sources */,
+ EBA37B4C26F749C6005DAAD4 /* Frameworks */,
+ EBA37B4D26F749C6005DAAD4 /* Resources */,
+ 8C8DBB548259D35C16CA62FF /* [CP] Embed Pods Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Example;
+ productName = YPIPExample;
+ productReference = EBA37B4F26F749C6005DAAD4 /* Example.app */;
+ productType = "com.apple.product-type.application";
+ };
/* End PBXNativeTarget section */
/* Begin PBXProject section */
52412A8A1CA6114A0073C4BE /* Project object */ = {
isa = PBXProject;
attributes = {
+ LastSwiftUpdateCheck = 1250;
LastUpgradeCheck = 1200;
ORGANIZATIONNAME = Yummypets;
TargetAttributes = {
@@ -527,6 +707,11 @@
LastSwiftMigration = 1020;
ProvisioningStyle = Manual;
};
+ EBA37B4E26F749C6005DAAD4 = {
+ CreatedOnToolsVersion = 12.5.1;
+ DevelopmentTeam = B3U3XRF8D7;
+ ProvisioningStyle = Automatic;
+ };
};
};
buildConfigurationList = 52412A8D1CA6114A0073C4BE /* Build configuration list for PBXProject "YPImagePicker" */;
@@ -567,6 +752,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
+ EBA37B4E26F749C6005DAAD4 /* Example */,
52412A921CA6114A0073C4BE /* YPImagePicker */,
);
};
@@ -584,9 +770,64 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ EBA37B4D26F749C6005DAAD4 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EBA37B5E26F749C7005DAAD4 /* LaunchScreen.storyboard in Resources */,
+ EBA37BC426F750DE005DAAD4 /* YPLibraryView.xib in Resources */,
+ EBA37B5B26F749C7005DAAD4 /* Assets.xcassets in Resources */,
+ EBA37BC526F750DE005DAAD4 /* YPVideoFiltersVC.xib in Resources */,
+ EBA37BC726F75151005DAAD4 /* YPImagePickerLocalizable.strings in Resources */,
+ EBA37BC626F75144005DAAD4 /* Assets.xcassets in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
+ 1440C3DA242B54F83BBBDA2D /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 8C8DBB548259D35C16CA62FF /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh",
+ "${BUILT_PRODUCTS_DIR}/PryntTrimmerView/PryntTrimmerView.framework",
+ "${BUILT_PRODUCTS_DIR}/SteviaLayout/Stevia.framework",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputPaths = (
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PryntTrimmerView.framework",
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Stevia.framework",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
9945C1DD1E8141AB00AE1C57 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 8;
@@ -608,27 +849,24 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 99C6D6C81F1FB5C100711DB2 /* YPFiltersView.swift in Sources */,
EB05F6E7214A7191002040AA /* YPVideoProcessor.swift in Sources */,
990FD293201B3D69002A39A1 /* YPLibraryViewDelegate.swift in Sources */,
- 990FD28F201A49D3002A39A1 /* YPPermissionCheckable.swift in Sources */,
EB473E23208E1DB000D16105 /* AVPlayer+Extensions.swift in Sources */,
- 99278DA820512BD90059532E /* PreiOS10PhotoCapture.swift in Sources */,
EBD2B641207B7D7400E711C2 /* YPMediaItem.swift in Sources */,
- 99C6D6C71F1FB5C100711DB2 /* YPPhotoFiltersVC.swift in Sources */,
99D1DC2B1F9788930047F0E0 /* YPImagePickerConfiguration.swift in Sources */,
99B8C4C3208F8EE900127119 /* YPLoadingView.swift in Sources */,
- 99278DAA20512BFB0059532E /* PostiOS10PhotoCapture.swift in Sources */,
+ EBA37AFB26F7300C005DAAD4 /* YPPermissionDeniedPopup.swift in Sources */,
990FD297201B4A5F002A39A1 /* PHCachingImageManager+Extensions.swift in Sources */,
99CF6D23201B71DC00487F77 /* YPLibrary+LibraryChange.swift in Sources */,
- 99C6D6C51F1FB5C100711DB2 /* YPFilterCollectionViewCell.swift in Sources */,
990FD295201B3E59002A39A1 /* YPDragDirection.swift in Sources */,
- 99278DAE205140F60059532E /* YPPermissionDeniedPopup.swift in Sources */,
99CF6D21201B70A000487F77 /* YPLibraryVC+CollectionView.swift in Sources */,
+ EBA37BC026F74CE0005DAAD4 /* YPFiltersView.swift in Sources */,
99CF6D1B201B6A5C00487F77 /* UICollectionView+Extensions.swift in Sources */,
+ EBA37B0A26F73080005DAAD4 /* YPAlbumVC.swift in Sources */,
99C6D6C11F1FB5C100711DB2 /* YPAssetViewContainer.swift in Sources */,
EB473E17208E192800D16105 /* URL+Extensions.swift in Sources */,
EB473E2B208E1ECB00D16105 /* AVCaptureDevice+Extensions.swift in Sources */,
+ EBA37B0026F7302B005DAAD4 /* YPFlashMode.swift in Sources */,
99A3C91020319227008D7E23 /* YPCropView.swift in Sources */,
99C6D6D11F1FB5C100711DB2 /* YPImagePicker.swift in Sources */,
327D7B592409510300B9C368 /* YPFonts.swift in Sources */,
@@ -636,7 +874,6 @@
99C6D6BB1F1FB5C100711DB2 /* YPLibraryVC.swift in Sources */,
99C6D6CB1F1FB5C100711DB2 /* YPHelper.swift in Sources */,
EB5B07C4209146F00099C1FA /* UIButton+Extensions.swift in Sources */,
- EB65C4B5209321420037858B /* String+Extensions.swift in Sources */,
99019E532018CE19007325C2 /* YPPickerScreen.swift in Sources */,
327D7B69240CEF2F00B9C368 /* UIBarButtonItem+Extensions.swift in Sources */,
99CF6D1F201B6B9E00487F77 /* CGRect+Extensions.swift in Sources */,
@@ -644,9 +881,8 @@
EB59F452208766B800811B7B /* YPVideoFiltersVC.swift in Sources */,
EB473E1D208E1B9E00D16105 /* AVAsset+Extensions.swift in Sources */,
9911FA24203C3A31000E9B06 /* UIImage+Extensions.swift in Sources */,
- 99278DAC20512C330059532E /* YPPhotoCapture.swift in Sources */,
+ EBA37B0926F73080005DAAD4 /* YPAlbum.swift in Sources */,
EB584BFF207B883A00265B38 /* YPSelectionsGalleryCell.swift in Sources */,
- 99278DB02051816F0059532E /* YPPhotoCaptureDefaults.swift in Sources */,
99C6D6CE1F1FB5C100711DB2 /* YPPhotoSaver.swift in Sources */,
99C6D6C31F1FB5C100711DB2 /* YPCameraView.swift in Sources */,
99019E562018D008007325C2 /* YPMenuItem.swift in Sources */,
@@ -656,41 +892,138 @@
99C6D6C21F1FB5C100711DB2 /* YPCameraVC.swift in Sources */,
990FD299201B67FE002A39A1 /* PHFetchResult+Extensions.swift in Sources */,
EB473E1B208E1B7400D16105 /* NSFileManager+Extensions.swift in Sources */,
- 99A0529A1F20A19B005600B3 /* YPAlbumVC.swift in Sources */,
- 99A0529D1F20B45D005600B3 /* YPAlbumView.swift in Sources */,
+ EBA37B0126F7302B005DAAD4 /* YPError.swift in Sources */,
+ EBA37AF926F7300C005DAAD4 /* YPPermissionCheckable.swift in Sources */,
EB473E21208E1BF400D16105 /* YPTrimError.swift in Sources */,
EB584C03207B990200265B38 /* AVFoundation+Extensions.swift in Sources */,
99C6D6BF1F1FB5C100711DB2 /* YPGridView.swift in Sources */,
99C6D6D01F1FB5C100711DB2 /* YPVideoCaptureVC.swift in Sources */,
- 99A052A31F20B4CA005600B3 /* YPAlbumsManager.swift in Sources */,
EB473E25208E1DCA00D16105 /* AVCaptureSession+Extensions.swift in Sources */,
EBB0FF7A20877A7500C84E25 /* YPVideoView.swift in Sources */,
EB473E19208E198E00D16105 /* AVFileType+Extensions.swift in Sources */,
+ EBA37AFF26F7302B005DAAD4 /* YPLog.swift in Sources */,
EBD66105208104EA00EA276E /* YPIcons.swift in Sources */,
EB473E1F208E1BCC00D16105 /* AVMutableComposition+Extensions.swift in Sources */,
99472DED2056E33700419F9E /* YPWordings.swift in Sources */,
- 99A0529F1F20B480005600B3 /* YPAlbumCell.swift in Sources */,
+ EBA37B0326F7304E005DAAD4 /* YPPhotoCaptureHelper.swift in Sources */,
99C6D6BC1F1FB5C100711DB2 /* YPLibraryView.swift in Sources */,
321E6D87240CFABC00D76CD8 /* UINavigationBar+Extensions.swift in Sources */,
99A3C91220319231008D7E23 /* YPCropVC.swift in Sources */,
+ EBA37BC226F74CE0005DAAD4 /* YPFilter.swift in Sources */,
EB584BFB207B870F00265B38 /* YPSelectionsGalleryVC.swift in Sources */,
99019E512018CDED007325C2 /* YPImageSize.swift in Sources */,
99CF6D25201B727900487F77 /* YPLibraryVC+PanGesture.swift in Sources */,
99CF6D27201B739600487F77 /* YPAlerts.swift in Sources */,
99C6D6CF1F1FB5C100711DB2 /* YPPickerVC.swift in Sources */,
+ EBA37BBE26F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift in Sources */,
EB94F28E208E3A140049F523 /* YPLoaders.swift in Sources */,
99CF6D29201B900400487F77 /* LibraryMediaManager.swift in Sources */,
99CD962720D179FD009F5084 /* YPSelectionsGalleryView.swift in Sources */,
99C6D6BE1F1FB5C100711DB2 /* YPLibraryViewCell.swift in Sources */,
- 99C6D6C41F1FB5C100711DB2 /* YPFilter.swift in Sources */,
+ EBA37B0D26F73080005DAAD4 /* YPAlbumView.swift in Sources */,
99C6D6C91F1FB5C100711DB2 /* YPBottomPager.swift in Sources */,
+ EBA37BBC26F74CE0005DAAD4 /* YPPhotoFiltersVC.swift in Sources */,
99CF6D2B201CB96700487F77 /* YPVideoCaptureHelper.swift in Sources */,
+ EBA37AFA26F7300C005DAAD4 /* YPPermissionManager.swift in Sources */,
99019E4E2018CD31007325C2 /* YPPagerMenu.swift in Sources */,
99C6D6C01F1FB5C100711DB2 /* YPAssetZoomableView.swift in Sources */,
EB867BCF209134F100332A54 /* UIColor+Extensions.swift in Sources */,
EBD66107208104F400EA276E /* YPColors.swift in Sources */,
- 99A052A11F20B49B005600B3 /* YPAlbum.swift in Sources */,
+ EBA37B0B26F73080005DAAD4 /* YPAlbumCell.swift in Sources */,
EBE6CA48210389ED005B0A6A /* CIImage+Extensions.swift in Sources */,
+ EBA37B0C26F73080005DAAD4 /* YPAlbumsManager.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ EBA37B4B26F749C6005DAAD4 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EBA37BBB26F74CE0005DAAD4 /* YPPhotoFiltersVC.swift in Sources */,
+ EBA37B8F26F74CBA005DAAD4 /* AVFileType+Extensions.swift in Sources */,
+ EBA37B7026F74CBA005DAAD4 /* YPError.swift in Sources */,
+ EBA37B9F26F74CBA005DAAD4 /* YPImagePickerConfiguration.swift in Sources */,
+ EBA37BB626F74CBB005DAAD4 /* YPCameraView.swift in Sources */,
+ EBA37B8726F74CBA005DAAD4 /* YPLibraryViewCell.swift in Sources */,
+ EBA37B9626F74CBA005DAAD4 /* YPGridView.swift in Sources */,
+ EBA37B9B26F74CBA005DAAD4 /* UINavigationBar+Extensions.swift in Sources */,
+ EBA37B7D26F74CBA005DAAD4 /* URL+Extensions.swift in Sources */,
+ EBA37B6926F74CBA005DAAD4 /* UIBarButtonItem+Extensions.swift in Sources */,
+ EBA37B6326F74A7F005DAAD4 /* ExampleViewController.swift in Sources */,
+ EBA37B7A26F74CBA005DAAD4 /* PHCachingImageManager+Extensions.swift in Sources */,
+ EBA37BA926F74CBA005DAAD4 /* YPLibraryViewDelegate.swift in Sources */,
+ EBA37B8D26F74CBA005DAAD4 /* YPVideoCaptureVC.swift in Sources */,
+ EBA37BC126F74CE0005DAAD4 /* YPFilter.swift in Sources */,
+ EBA37BAE26F74CBA005DAAD4 /* YPAlbumVC.swift in Sources */,
+ EBA37BA426F74CBA005DAAD4 /* UICollectionView+Extensions.swift in Sources */,
+ EBA37BA726F74CBA005DAAD4 /* YPMenuItem.swift in Sources */,
+ EBA37B6626F74CBA005DAAD4 /* YPLoadingView.swift in Sources */,
+ EBA37BAB26F74CBA005DAAD4 /* YPCropView.swift in Sources */,
+ EBA37BAD26F74CBA005DAAD4 /* YPPermissionManager.swift in Sources */,
+ EBA37B7B26F74CBA005DAAD4 /* AVCaptureSession+Extensions.swift in Sources */,
+ EBA37B6F26F74CBA005DAAD4 /* UIImage+Extensions.swift in Sources */,
+ EBA37BA226F74CBA005DAAD4 /* YPDeviceOrientationHelper.swift in Sources */,
+ EBA37B9326F74CBA005DAAD4 /* YPBottomPagerView.swift in Sources */,
+ EBA37B7226F74CBA005DAAD4 /* YPPickerScreen.swift in Sources */,
+ EBA37B7F26F74CBA005DAAD4 /* YPPermissionCheckable.swift in Sources */,
+ EBA37B9826F74CBA005DAAD4 /* YPVideoProcessor.swift in Sources */,
+ EBA37B8526F74CBA005DAAD4 /* YPLibraryVC.swift in Sources */,
+ EBA37B9E26F74CBA005DAAD4 /* YPDragDirection.swift in Sources */,
+ EBA37B5226F749C6005DAAD4 /* AppDelegate.swift in Sources */,
+ EBA37BB126F74CBA005DAAD4 /* YPLoaders.swift in Sources */,
+ EBA37B7526F74CBA005DAAD4 /* YPLibraryVC+PanGesture.swift in Sources */,
+ EBA37B8426F74CBA005DAAD4 /* YPColors.swift in Sources */,
+ EBA37B9726F74CBA005DAAD4 /* AVPlayer+Extensions.swift in Sources */,
+ EBA37B6426F74C9A005DAAD4 /* YPImagePicker.swift in Sources */,
+ EBA37B8A26F74CBA005DAAD4 /* YPLog.swift in Sources */,
+ EBA37B9A26F74CBA005DAAD4 /* YPLibrarySelection.swift in Sources */,
+ EBA37B7C26F74CBA005DAAD4 /* UIButton+Extensions.swift in Sources */,
+ EBA37B6C26F74CBA005DAAD4 /* YPAlbumsManager.swift in Sources */,
+ EBA37B9C26F74CBA005DAAD4 /* CGFloat+Extensions.swift in Sources */,
+ EBA37B7426F74CBA005DAAD4 /* YPVideoView.swift in Sources */,
+ EBA37B8926F74CBA005DAAD4 /* YPAlerts.swift in Sources */,
+ EBA37B9526F74CBA005DAAD4 /* AVCaptureDevice+Extensions.swift in Sources */,
+ EBA37B9426F74CBA005DAAD4 /* YPAssetZoomableView.swift in Sources */,
+ EBA37BA126F74CBA005DAAD4 /* AVAsset+Extensions.swift in Sources */,
+ EBA37B8626F74CBA005DAAD4 /* YPWordings.swift in Sources */,
+ EBA37BAC26F74CBA005DAAD4 /* YPHelper.swift in Sources */,
+ EBA37B8C26F74CBA005DAAD4 /* YPAlbumCell.swift in Sources */,
+ EBA37BA626F74CBA005DAAD4 /* IndexSet+Extensions.swift in Sources */,
+ EBA37BB526F74CBB005DAAD4 /* YPAlbum.swift in Sources */,
+ EBA37BA026F74CBA005DAAD4 /* YPPhotoCaptureHelper.swift in Sources */,
+ EBA37BBF26F74CE0005DAAD4 /* YPFiltersView.swift in Sources */,
+ EBA37B8026F74CBA005DAAD4 /* NSFileManager+Extensions.swift in Sources */,
+ EBA37B7326F74CBA005DAAD4 /* YPSelectionsGalleryVC.swift in Sources */,
+ EBA37B8126F74CBA005DAAD4 /* PHFetchResult+Extensions.swift in Sources */,
+ EBA37BB026F74CBA005DAAD4 /* YPVideoCaptureHelper.swift in Sources */,
+ EBA37B7126F74CBA005DAAD4 /* YPLibraryVC+CollectionView.swift in Sources */,
+ EBA37B8B26F74CBA005DAAD4 /* YPIcons.swift in Sources */,
+ EBA37BB426F74CBB005DAAD4 /* YPLibraryView.swift in Sources */,
+ EBA37B8E26F74CBA005DAAD4 /* YPSelectionsGalleryCell.swift in Sources */,
+ EBA37BA326F74CBA005DAAD4 /* YPAssetViewContainer.swift in Sources */,
+ EBA37B9D26F74CBA005DAAD4 /* YPImageSize.swift in Sources */,
+ EBA37B9926F74CBA005DAAD4 /* YPFlashMode.swift in Sources */,
+ EBA37BBD26F74CE0005DAAD4 /* YPFilterCollectionViewCell.swift in Sources */,
+ EBA37B8326F74CBA005DAAD4 /* CIImage+Extensions.swift in Sources */,
+ EBA37BAA26F74CBA005DAAD4 /* YPCameraVC.swift in Sources */,
+ EBA37B6526F74C9A005DAAD4 /* YPPickerVC.swift in Sources */,
+ EBA37B9026F74CBA005DAAD4 /* AVMutableComposition+Extensions.swift in Sources */,
+ EBA37B6726F74CBA005DAAD4 /* YPFonts.swift in Sources */,
+ EBA37B6D26F74CBA005DAAD4 /* YPLibrary+LibraryChange.swift in Sources */,
+ EBA37B6A26F74CBA005DAAD4 /* UIColor+Extensions.swift in Sources */,
+ EBA37BAF26F74CBA005DAAD4 /* YPSelectionsGalleryView.swift in Sources */,
+ EBA37B7626F74CBA005DAAD4 /* YPVideoFiltersVC.swift in Sources */,
+ EBA37B6826F74CBA005DAAD4 /* LibraryMediaManager.swift in Sources */,
+ EBA37BB326F74CBB005DAAD4 /* YPMediaItem.swift in Sources */,
+ EBA37B8826F74CBA005DAAD4 /* YPPagerMenu.swift in Sources */,
+ EBA37BA526F74CBA005DAAD4 /* AVFoundation+Extensions.swift in Sources */,
+ EBA37B9126F74CBA005DAAD4 /* YPTrimError.swift in Sources */,
+ EBA37B6E26F74CBA005DAAD4 /* YPPermissionDeniedPopup.swift in Sources */,
+ EBA37B9226F74CBA005DAAD4 /* YPAlbumView.swift in Sources */,
+ EBA37BB226F74CBB005DAAD4 /* YPBottomPager.swift in Sources */,
+ EBA37B8226F74CBA005DAAD4 /* YPPhotoSaver.swift in Sources */,
+ EBA37B6B26F74CBA005DAAD4 /* CGRect+Extensions.swift in Sources */,
+ EBA37B7926F74CBA005DAAD4 /* YPCropVC.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -730,6 +1063,14 @@
name = YPImagePickerLocalizable.strings;
sourceTree = "";
};
+ EBA37B5C26F749C7005DAAD4 /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ EBA37B5D26F749C7005DAAD4 /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
@@ -784,7 +1125,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -841,7 +1182,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -869,10 +1210,11 @@
FRAMEWORK_SEARCH_PATHS = (
"$(PROJECT_DIR)/Resources",
"$(PROJECT_DIR)/Source",
+ "$(inherited)",
);
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 4.5.0;
ONLY_ACTIVE_ARCH = YES;
@@ -901,10 +1243,11 @@
FRAMEWORK_SEARCH_PATHS = (
"$(PROJECT_DIR)/Resources",
"$(PROJECT_DIR)/Source",
+ "$(inherited)",
);
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 4.5.0;
ONLY_ACTIVE_ARCH = NO;
@@ -917,6 +1260,60 @@
};
name = Release;
};
+ EBA37B6126F749C7005DAAD4 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 1CF8B597BBC32060C9FA476A /* Pods-Example.debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = B3U3XRF8D7;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ INFOPLIST_FILE = Example/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ PRODUCT_BUNDLE_IDENTIFIER = com.yummypets.YPIPExample;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TVOS_DEPLOYMENT_TARGET = 12.0;
+ };
+ name = Debug;
+ };
+ EBA37B6226F749C7005DAAD4 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = BEED427CB4F6E5B8C20B6F13 /* Pods-Example.release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = B3U3XRF8D7;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ INFOPLIST_FILE = Example/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ MTL_FAST_MATH = YES;
+ PRODUCT_BUNDLE_IDENTIFIER = com.yummypets.YPIPExample;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TVOS_DEPLOYMENT_TARGET = 12.0;
+ };
+ name = Release;
+ };
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@@ -938,6 +1335,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
+ EBA37B6026F749C7005DAAD4 /* Build configuration list for PBXNativeTarget "Example" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ EBA37B6126F749C7005DAAD4 /* Debug */,
+ EBA37B6226F749C7005DAAD4 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
/* End XCConfigurationList section */
};
rootObject = 52412A8A1CA6114A0073C4BE /* Project object */;
diff --git a/YPImagePickerExample/YPImagePickerExample.xcodeproj/xcshareddata/xcschemes/YPImagePickerExample.xcscheme b/YPImagePicker.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
similarity index 64%
rename from YPImagePickerExample/YPImagePickerExample.xcodeproj/xcshareddata/xcschemes/YPImagePickerExample.xcscheme
rename to YPImagePicker.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
index e14a98d24..2467dde78 100644
--- a/YPImagePickerExample/YPImagePickerExample.xcodeproj/xcshareddata/xcschemes/YPImagePickerExample.xcscheme
+++ b/YPImagePicker.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
@@ -1,6 +1,6 @@
+ BlueprintIdentifier = "EBA37B4E26F749C6005DAAD4"
+ BuildableName = "Example.app"
+ BlueprintName = "Example"
+ ReferencedContainer = "container:YPImagePicker.xcodeproj">
@@ -27,15 +27,6 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
-
-
-
-
@@ -53,10 +44,10 @@
runnableDebuggingMode = "0">
+ BlueprintIdentifier = "EBA37B4E26F749C6005DAAD4"
+ BuildableName = "Example.app"
+ BlueprintName = "Example"
+ ReferencedContainer = "container:YPImagePicker.xcodeproj">
@@ -70,10 +61,10 @@
runnableDebuggingMode = "0">
+ BlueprintIdentifier = "EBA37B4E26F749C6005DAAD4"
+ BuildableName = "Example.app"
+ BlueprintName = "Example"
+ ReferencedContainer = "container:YPImagePicker.xcodeproj">
diff --git a/YPImagePicker.xcodeproj/xcshareddata/xcschemes/YPImagePicker.xcscheme b/YPImagePicker.xcodeproj/xcshareddata/xcschemes/YPImagePicker.xcscheme
index 3262dfca8..c6ccb5f8b 100644
--- a/YPImagePicker.xcodeproj/xcshareddata/xcschemes/YPImagePicker.xcscheme
+++ b/YPImagePicker.xcodeproj/xcshareddata/xcschemes/YPImagePicker.xcscheme
@@ -1,6 +1,6 @@
+ location = "group:YPImagePicker.xcodeproj">
diff --git a/YPImagePickerExample/YPImagePickerExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/YPImagePicker.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from YPImagePickerExample/YPImagePickerExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to YPImagePicker.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/YPImagePickerExample/.swiftlint.yml b/YPImagePickerExample/.swiftlint.yml
deleted file mode 100644
index 24ba525d7..000000000
--- a/YPImagePickerExample/.swiftlint.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-included:
- - ../Source
-excluded:
- - Localize.swift
-
-
-disabled_rules:
-- identifier_name
-- vertical_parameter_alignment
-- todo
-- notification_center_detachment
\ No newline at end of file
diff --git a/YPImagePickerExample/Localize.swift b/YPImagePickerExample/Localize.swift
deleted file mode 100755
index 9b5ecb8a7..000000000
--- a/YPImagePickerExample/Localize.swift
+++ /dev/null
@@ -1,298 +0,0 @@
-#!/usr/bin/env xcrun --sdk macosx swift
-
-import Foundation
-
-
-// WHAT
-// 1. Find Missing keys in other Localisation files
-// 2. Find potentially untranslated keys
-// 3. Find Duplicate keys
-// 4. Find Unused keys and generate script to delete them all at once
-
-
-/*
- Put your path here, example -> Resources/Localizations/Languages
- */
-let relativeLocalizableFolders = "/../Resources"
-
-/*
- This is the path of your source folder which will be used in searching
- for the localization keys you actually use in your project
- */
-let relativeSourceFolder = "/../Source"
-
-/*
- Those are the regex patterns to recognize localizations.
- */
-let patterns = [
- "NSLocalized(Format)?String\\(\\s*@?\"([\\w\\.]+)\"", // Swift and Objc Native
- "Localizations\\.((?:[A-Z]{1}[a-z]*[A-z]*)*(?:\\.[A-Z]{1}[a-z]*[A-z]*)*)", // Laurine Calls
- "L10n.tr\\(key: \"(\\w+)\"", // SwiftGen generation
- "ypLocalized\\(\"(.*)\"\\)"
-]
-
-/*
- Those are the keys you don't want to be recognized as "unused"
- For instance, Keys that you concatenate will not be detected by the parsing
- so you want to add them here in order not to create false positives :)
- */
-let ignoredFromUnusedKeys = [String]()
-/* example
-let ignoredFromUnusedKeys = [
- "NotificationNoOne",
- "NotificationCommentPhoto",
- "NotificationCommentHisPhoto",
- "NotificationCommentHerPhoto"
-]
-*/
-
-let masterLanguage = "en"
-
-
-/*
- Sanitizing files will remove comments, empty lines and order your keys alphabetically.
- */
-let sanitizeFiles = true
-
-/*
- Determines if there are multiple localizations or not.
- */
-let singleLanguage = false
-
-// MARK: - End Of Configurable Section
-
-
-
-
-
-
-
-// Detect list of supported languages automatically
-func listSupportedLanguages() -> [String] {
- var sl = [String]()
- let path = FileManager.default.currentDirectoryPath + relativeLocalizableFolders
- if !FileManager.default.fileExists(atPath: path) {
- print("Invalid configuration: \(path) does not exist.")
- exit(1)
- }
- let enumerator: FileManager.DirectoryEnumerator? = FileManager.default.enumerator(atPath: path)
- let extensionName = "lproj"
- print("Found these languages:")
- while let element = enumerator?.nextObject() as? String {
- if element.hasSuffix(extensionName) {
- print(element)
- let name = element.replacingOccurrences(of: ".\(extensionName)", with: "")
- sl.append(name)
- }
- }
- return sl
-}
-
-
-let supportedLanguages = listSupportedLanguages()
-var ignoredFromSameTranslation = [String:[String]]()
-let path = FileManager.default.currentDirectoryPath + relativeLocalizableFolders
-var numberOfWarnings = 0
-var numberOfErrors = 0
-
-struct LocalizationFiles {
- var name = ""
- var keyValue = [String:String]()
- var linesNumbers = [String:Int]()
-
- init(name: String) {
- self.name = name
- process()
- }
-
- mutating func process() {
- if sanitizeFiles {
- removeCommentsFromFile()
- removeEmptyLinesFromFile()
- sortLinesAlphabetically()
- }
- let location = singleLanguage ? "\(path)/Localizable.strings" : "\(path)/\(name).lproj/Localizable.strings"
- if let string = try? String(contentsOfFile: location, encoding: .utf8) {
- let lines = string.components(separatedBy: CharacterSet.newlines)
- keyValue = [String:String]()
- let pattern = "\"(.*)\" = \"(.+)\";"
- let regex = try? NSRegularExpression(pattern: pattern, options: [])
- var ignoredTranslation = [String]()
-
- for (lineNumber, line) in lines.enumerated() {
- let range = NSRange(location:0, length:(line as NSString).length)
-
-
- // Ignored pattern
- let ignoredPattern = "\"(.*)\" = \"(.+)\"; *\\/\\/ *ignore-same-translation-warning"
- let ignoredRegex = try? NSRegularExpression(pattern: ignoredPattern, options: [])
- if let ignoredMatch = ignoredRegex?.firstMatch(in:line,
- options: [],
- range: range) {
- let key = (line as NSString).substring(with: ignoredMatch.range(at:1))
- ignoredTranslation.append(key)
- }
- if let firstMatch = regex?.firstMatch(in: line, options: [], range: range) {
- let key = (line as NSString).substring(with: firstMatch.range(at:1))
- let value = (line as NSString).substring(with: firstMatch.range(at:2))
- if let _ = keyValue[key] {
- let str = "\(path)/\(name).lproj"
- + "/Localizable.strings:\(linesNumbers[key]!): "
- + "error: [Redundance] \"\(key)\" "
- + "is redundant in \(name.uppercased()) file"
- print(str)
- numberOfErrors += 1
- } else {
- keyValue[key] = value
- linesNumbers[key] = lineNumber+1
- }
- }
- }
- print(ignoredFromSameTranslation)
- ignoredFromSameTranslation[name] = ignoredTranslation
- }
- }
-
- func rebuildFileString(from lines: [String]) -> String {
- return lines.reduce("") { (r: String, s: String) -> String in
- return (r == "") ? (r + s) : (r + "\n" + s)
- }
- }
-
- func removeEmptyLinesFromFile() {
- let location = "\(path)/\(name).lproj/Localizable.strings"
- if let string = try? String(contentsOfFile: location, encoding: .utf8) {
- var lines = string.components(separatedBy: CharacterSet.newlines)
- lines = lines.filter { $0.trimmingCharacters(in: CharacterSet.whitespaces) != "" }
- let s = rebuildFileString(from: lines)
- try? s.write(toFile:location, atomically:false, encoding:String.Encoding.utf8)
- }
- }
-
- func removeCommentsFromFile() {
- let location = "\(path)/\(name).lproj/Localizable.strings"
- if let string = try? String(contentsOfFile: location, encoding: .utf8) {
- var lines = string.components(separatedBy: CharacterSet.newlines)
- lines = lines.filter { !$0.hasPrefix("//") }
- let s = rebuildFileString(from: lines)
- try? s.write(toFile:location, atomically:false, encoding:String.Encoding.utf8)
- }
- }
-
- func sortLinesAlphabetically() {
- let location = "\(path)/\(name).lproj/Localizable.strings"
- if let string = try? String(contentsOfFile: location, encoding: .utf8) {
- let lines = string.components(separatedBy: CharacterSet.newlines)
-
- var s = ""
- for (i,l) in sortAlphabetically(lines).enumerated() {
- s += l
- if (i != lines.count - 1) {
- s += "\n"
- }
- }
- try? s.write(toFile:location, atomically:false, encoding:String.Encoding.utf8)
- }
- }
-
- func removeEmptyLinesFromLines(_ lines:[String]) -> [String] {
- return lines.filter { $0.trimmingCharacters(in: CharacterSet.whitespaces) != "" }
- }
-
- func sortAlphabetically(_ lines:[String]) -> [String] {
- return lines.sorted()
- }
-}
-
-// MARK: - Load Localisation Files in memory
-
-
-let masterLocalizationfile = LocalizationFiles(name: masterLanguage)
-let localizationFiles = supportedLanguages
- .filter { $0 != masterLanguage }
- .map { LocalizationFiles(name: $0) }
-
-// MARK: - Detect Unused Keys
-
-let sourcesPath = FileManager.default.currentDirectoryPath + relativeSourceFolder
-let fileManager = FileManager.default
-let enumerator = fileManager.enumerator(atPath:sourcesPath)
-var localizedStrings = [String]()
-while let swiftFileLocation = enumerator?.nextObject() as? String {
- // checks the extension // TODO OBJC?
- if swiftFileLocation.hasSuffix(".swift") || swiftFileLocation.hasSuffix(".m") || swiftFileLocation.hasSuffix(".mm") {
- let location = "\(sourcesPath)/\(swiftFileLocation)"
- if let string = try? String(contentsOfFile: location, encoding: .utf8) {
- for p in patterns {
- let regex = try? NSRegularExpression(pattern: p, options: [])
- let range = NSRange(location:0, length:(string as NSString).length) //Obj c wa
- regex?.enumerateMatches(in: string,
- options: [],
- range: range,
- using: { (result, _, _) in
- if let r = result {
- let value = (string as NSString).substring(with:r.range(at:r.numberOfRanges-1))
- localizedStrings.append(value)
- }
- })
- }
- }
- }
-}
-
-var masterKeys = Set(masterLocalizationfile.keyValue.keys)
-let usedKeys = Set(localizedStrings)
-let ignored = Set(ignoredFromUnusedKeys)
-let unused = masterKeys.subtracting(usedKeys).subtracting(ignored)
-
-// Here generate Xcode regex Find and replace script to remove dead keys all at once!
-var replaceCommand = "\"("
-var counter = 0
-for v in unused {
- var str = "\(path)/\(masterLocalizationfile.name).lproj/Localizable.strings:\(masterLocalizationfile.linesNumbers[v]!): "
- str += "error: [Unused Key] \"\(v)\" is never used"
- print(str)
- numberOfErrors += 1
- if counter != 0 {
- replaceCommand += "|"
- }
- replaceCommand += v
- if counter == unused.count-1 {
- replaceCommand += ")\" = \".*\";"
- }
- counter += 1
-}
-
-print(replaceCommand)
-
-
-// MARK: - Compare each translation file against master (en)
-
-for file in localizationFiles {
- for k in masterLocalizationfile.keyValue.keys {
- if let v = file.keyValue[k] {
- if v == masterLocalizationfile.keyValue[k] {
- if !ignoredFromSameTranslation[file.name]!.contains(k) {
- let str = "\(path)/\(file.name).lproj/Localizable.strings"
- + ":\(file.linesNumbers[k]!): "
- + "warning: [Potentialy Untranslated] \"\(k)\""
- + "in \(file.name.uppercased()) file doesn't seem to be localized"
- print(str)
- numberOfWarnings += 1
- }
- }
- } else {
- var str = "\(path)/\(file.name).lproj/Localizable.strings:\(masterLocalizationfile.linesNumbers[k]!): "
- str += "error: [Missing] \"\(k)\" missing form \(file.name.uppercased()) file"
- print(str)
- numberOfErrors += 1
- }
- }
-}
-
-print("Number of warnings : \(numberOfWarnings)")
-print("Number of errors : \(numberOfErrors)")
-
-if numberOfErrors > 0 {
- exit(1)
-}
diff --git a/YPImagePickerExample/Podfile b/YPImagePickerExample/Podfile
deleted file mode 100644
index ea492bd18..000000000
--- a/YPImagePickerExample/Podfile
+++ /dev/null
@@ -1,9 +0,0 @@
-platform :ios, '10.2'
-
-target 'YPImagePickerExample' do
- use_frameworks!
-
- # Pods for YPImagePickerExample
- pod 'YPImagePicker', :path => '../'
-
-end
diff --git a/YPImagePickerExample/YPImagePickerExample.xcodeproj/project.pbxproj b/YPImagePickerExample/YPImagePickerExample.xcodeproj/project.pbxproj
deleted file mode 100644
index d99c94eb2..000000000
--- a/YPImagePickerExample/YPImagePickerExample.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,502 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 99428A0A1E7BE02400B765A9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99428A091E7BE02400B765A9 /* AppDelegate.swift */; };
- 99428A0C1E7BE02400B765A9 /* ExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99428A0B1E7BE02400B765A9 /* ExampleViewController.swift */; };
- 99428A111E7BE02400B765A9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 99428A101E7BE02400B765A9 /* Assets.xcassets */; };
- 99428A141E7BE02400B765A9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 99428A121E7BE02400B765A9 /* LaunchScreen.storyboard */; };
- 99A052A61F20DF21005600B3 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 99A052A81F20DF21005600B3 /* Localizable.strings */; };
- E4B8B87ACE0F8D7E7C9E8B2A /* Pods_YPImagePickerExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 39ECAC1A4280ED3A66999C55 /* Pods_YPImagePickerExample.framework */; };
- EBFC7A3C260352D800D49AA6 /* Podfile in Resources */ = {isa = PBXBuildFile; fileRef = EBFC7A3B260352D800D49AA6 /* Podfile */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 39ECAC1A4280ED3A66999C55 /* Pods_YPImagePickerExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_YPImagePickerExample.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 3B0E1B9D207069630048E95B /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Localizable.strings; sourceTree = ""; };
- 5F01F9DE20DCC5EA007432E4 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; };
- 71524A8C206FD954002F3162 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/Localizable.strings"; sourceTree = ""; };
- 96E2AA2442DD86418F1EC0AB /* Pods-YPImagePickerExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YPImagePickerExample.release.xcconfig"; path = "Target Support Files/Pods-YPImagePickerExample/Pods-YPImagePickerExample.release.xcconfig"; sourceTree = ""; };
- 991C0E5520567E1300764131 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Localizable.strings; sourceTree = ""; };
- 99428A061E7BE02400B765A9 /* YPImagePickerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YPImagePickerExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 99428A091E7BE02400B765A9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 99428A0B1E7BE02400B765A9 /* ExampleViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleViewController.swift; sourceTree = ""; };
- 99428A101E7BE02400B765A9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
- 99428A131E7BE02400B765A9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
- 99428A151E7BE02400B765A9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 998D452620AC8DFA007F8699 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = ""; };
- 99A052A91F20DF24005600B3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; };
- 99A052AA1F20DF39005600B3 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = ""; };
- 99A052AB1F20DF54005600B3 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = ""; };
- 99BEB97B20A9DE5F00FFEB55 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; };
- A7B961E020755CF500216346 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Localizable.strings; sourceTree = ""; };
- AA088D933E881AB26E8E20F0 /* Pods-YPImagePickerExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YPImagePickerExample.debug.xcconfig"; path = "Target Support Files/Pods-YPImagePickerExample/Pods-YPImagePickerExample.debug.xcconfig"; sourceTree = ""; };
- DC3DAC4626C79B2F007FD95A /* cs */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Localizable.strings; sourceTree = ""; };
- DF1BD2FC216F8BE500330319 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; };
- E5287F5920B9095F0052153D /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = ""; };
- EB0D6FC3252F1FDC006EE12E /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Localizable.strings; sourceTree = ""; };
- EB11EE9A2057C58600A19365 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Localizable.strings; sourceTree = ""; };
- EBFC7A3B260352D800D49AA6 /* Podfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 99428A031E7BE02400B765A9 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E4B8B87ACE0F8D7E7C9E8B2A /* Pods_YPImagePickerExample.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 994289FD1E7BE02400B765A9 = {
- isa = PBXGroup;
- children = (
- 99428A081E7BE02400B765A9 /* YPImagePickerExample */,
- 99428A071E7BE02400B765A9 /* Products */,
- 99428A231E7BE17800B765A9 /* Frameworks */,
- EE54722A140A94570BAC950C /* Pods */,
- );
- sourceTree = "";
- };
- 99428A071E7BE02400B765A9 /* Products */ = {
- isa = PBXGroup;
- children = (
- 99428A061E7BE02400B765A9 /* YPImagePickerExample.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 99428A081E7BE02400B765A9 /* YPImagePickerExample */ = {
- isa = PBXGroup;
- children = (
- EBFC7A3B260352D800D49AA6 /* Podfile */,
- 99428A091E7BE02400B765A9 /* AppDelegate.swift */,
- 99428A0B1E7BE02400B765A9 /* ExampleViewController.swift */,
- 99A052A81F20DF21005600B3 /* Localizable.strings */,
- 99428A101E7BE02400B765A9 /* Assets.xcassets */,
- 99428A121E7BE02400B765A9 /* LaunchScreen.storyboard */,
- 99428A151E7BE02400B765A9 /* Info.plist */,
- );
- path = YPImagePickerExample;
- sourceTree = "";
- };
- 99428A231E7BE17800B765A9 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 39ECAC1A4280ED3A66999C55 /* Pods_YPImagePickerExample.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- EE54722A140A94570BAC950C /* Pods */ = {
- isa = PBXGroup;
- children = (
- AA088D933E881AB26E8E20F0 /* Pods-YPImagePickerExample.debug.xcconfig */,
- 96E2AA2442DD86418F1EC0AB /* Pods-YPImagePickerExample.release.xcconfig */,
- );
- path = Pods;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 99428A051E7BE02400B765A9 /* YPImagePickerExample */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 99428A181E7BE02400B765A9 /* Build configuration list for PBXNativeTarget "YPImagePickerExample" */;
- buildPhases = (
- 0E6AFEB930B43A581197A0CA /* [CP] Check Pods Manifest.lock */,
- 99428A021E7BE02400B765A9 /* Sources */,
- 99428A031E7BE02400B765A9 /* Frameworks */,
- 99428A041E7BE02400B765A9 /* Resources */,
- 99BEB97920A9BD1300FFEB55 /* Localizations Sanitizer */,
- 9992698324DAA5D7000CAAFC /* SwiftLint */,
- 633BF14194CB6DDF67A45F1E /* [CP] Embed Pods Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = YPImagePickerExample;
- productName = YPImagePickerExample;
- productReference = 99428A061E7BE02400B765A9 /* YPImagePickerExample.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 994289FE1E7BE02400B765A9 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0820;
- LastUpgradeCheck = 0930;
- ORGANIZATIONNAME = Octopepper;
- TargetAttributes = {
- 99428A051E7BE02400B765A9 = {
- CreatedOnToolsVersion = 8.2;
- DevelopmentTeam = B3U3XRF8D7;
- LastSwiftMigration = 1020;
- ProvisioningStyle = Automatic;
- };
- };
- };
- buildConfigurationList = 99428A011E7BE02400B765A9 /* Build configuration list for PBXProject "YPImagePickerExample" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = en;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- fr,
- es,
- nl,
- ru,
- "pt-BR",
- tr,
- ar,
- it,
- de,
- ja,
- "zh-Hans",
- "zh-Hant",
- da,
- cs,
- );
- mainGroup = 994289FD1E7BE02400B765A9;
- productRefGroup = 99428A071E7BE02400B765A9 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 99428A051E7BE02400B765A9 /* YPImagePickerExample */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 99428A041E7BE02400B765A9 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 99428A141E7BE02400B765A9 /* LaunchScreen.storyboard in Resources */,
- 99A052A61F20DF21005600B3 /* Localizable.strings in Resources */,
- EBFC7A3C260352D800D49AA6 /* Podfile in Resources */,
- 99428A111E7BE02400B765A9 /* Assets.xcassets in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 0E6AFEB930B43A581197A0CA /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-YPImagePickerExample-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
- };
- 633BF14194CB6DDF67A45F1E /* [CP] Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-YPImagePickerExample/Pods-YPImagePickerExample-frameworks.sh",
- "${BUILT_PRODUCTS_DIR}/PryntTrimmerView/PryntTrimmerView.framework",
- "${BUILT_PRODUCTS_DIR}/SteviaLayout/Stevia.framework",
- "${BUILT_PRODUCTS_DIR}/YPImagePicker/YPImagePicker.framework",
- );
- name = "[CP] Embed Pods Frameworks";
- outputPaths = (
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PryntTrimmerView.framework",
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Stevia.framework",
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YPImagePicker.framework",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-YPImagePickerExample/Pods-YPImagePickerExample-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
- 9992698324DAA5D7000CAAFC /* SwiftLint */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- );
- name = SwiftLint;
- outputFileListPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
- };
- 99BEB97920A9BD1300FFEB55 /* Localizations Sanitizer */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Localizations Sanitizer";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "${SRCROOT}/Localize.swift\n";
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 99428A021E7BE02400B765A9 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 99428A0C1E7BE02400B765A9 /* ExampleViewController.swift in Sources */,
- 99428A0A1E7BE02400B765A9 /* AppDelegate.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- 99428A121E7BE02400B765A9 /* LaunchScreen.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 99428A131E7BE02400B765A9 /* Base */,
- );
- name = LaunchScreen.storyboard;
- sourceTree = "";
- };
- 99A052A81F20DF21005600B3 /* Localizable.strings */ = {
- isa = PBXVariantGroup;
- children = (
- 99A052A91F20DF24005600B3 /* en */,
- 99A052AA1F20DF39005600B3 /* fr */,
- 99A052AB1F20DF54005600B3 /* es */,
- 991C0E5520567E1300764131 /* nl */,
- EB11EE9A2057C58600A19365 /* ru */,
- 71524A8C206FD954002F3162 /* pt-BR */,
- 3B0E1B9D207069630048E95B /* tr */,
- A7B961E020755CF500216346 /* ar */,
- 99BEB97B20A9DE5F00FFEB55 /* it */,
- 998D452620AC8DFA007F8699 /* de */,
- E5287F5920B9095F0052153D /* ja */,
- 5F01F9DE20DCC5EA007432E4 /* zh-Hans */,
- DF1BD2FC216F8BE500330319 /* zh-Hant */,
- EB0D6FC3252F1FDC006EE12E /* da */,
- DC3DAC4626C79B2F007FD95A /* cs */,
- );
- name = Localizable.strings;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 99428A161E7BE02400B765A9 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 10.2;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 99428A171E7BE02400B765A9 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 10.2;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 99428A191E7BE02400B765A9 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = AA088D933E881AB26E8E20F0 /* Pods-YPImagePickerExample.debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = B3U3XRF8D7;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/../Resources\"",
- );
- INFOPLIST_FILE = YPImagePickerExample/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 10.2;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = test.ypImagePicker;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_VERSION = 5.0;
- };
- name = Debug;
- };
- 99428A1A1E7BE02400B765A9 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 96E2AA2442DD86418F1EC0AB /* Pods-YPImagePickerExample.release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = B3U3XRF8D7;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/../Resources\"",
- );
- INFOPLIST_FILE = YPImagePickerExample/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 10.2;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = test.ypImagePicker;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_VERSION = 5.0;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 99428A011E7BE02400B765A9 /* Build configuration list for PBXProject "YPImagePickerExample" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 99428A161E7BE02400B765A9 /* Debug */,
- 99428A171E7BE02400B765A9 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 99428A181E7BE02400B765A9 /* Build configuration list for PBXNativeTarget "YPImagePickerExample" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 99428A191E7BE02400B765A9 /* Debug */,
- 99428A1A1E7BE02400B765A9 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 994289FE1E7BE02400B765A9 /* Project object */;
-}
diff --git a/YPImagePickerExample/YPImagePickerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/YPImagePickerExample/YPImagePickerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 33d52c5d6..000000000
--- a/YPImagePickerExample/YPImagePickerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/YPImagePickerExample/YPImagePickerExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/YPImagePickerExample/YPImagePickerExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d981003..000000000
--- a/YPImagePickerExample/YPImagePickerExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/YPImagePickerExample/YPImagePickerExample/Base.lproj/LaunchScreen.storyboard b/YPImagePickerExample/YPImagePickerExample/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index fdf3f97d1..000000000
--- a/YPImagePickerExample/YPImagePickerExample/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/YPImagePickerExample/YPImagePickerExample/ar.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/ar.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/ar.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/cs.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/cs.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/cs.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/da.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/da.lproj/Localizable.strings
deleted file mode 100644
index 343b3dfad..000000000
--- a/YPImagePickerExample/YPImagePickerExample/da.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by NikeKov on 20/07/2017 www.nik-kov.com
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/de.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/de.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/de.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/en.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/en.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/en.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/es.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/es.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/es.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/fr.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/fr.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/fr.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/it.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/it.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/it.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/ja.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/ja.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/ja.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/ko.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/ko.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/ko.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/nl.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/nl.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/nl.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/pt-BR.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/pt-BR.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/pt-BR.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/ru.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/ru.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/ru.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/tr.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/tr.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/tr.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/zh-Hans.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/zh-Hans.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/zh-Hans.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/
diff --git a/YPImagePickerExample/YPImagePickerExample/zh-Hant.lproj/Localizable.strings b/YPImagePickerExample/YPImagePickerExample/zh-Hant.lproj/Localizable.strings
deleted file mode 100644
index b5ecfdd1d..000000000
--- a/YPImagePickerExample/YPImagePickerExample/zh-Hant.lproj/Localizable.strings
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Localizable.strings
- YPImagePickerExample
-
- Created by Sacha Durand Saint Omer on 20/07/2017.
- Copyright © 2017 Octopepper. All rights reserved.
-*/