Showing
100 changed files
with
5 additions
and
4144 deletions
Too many changes to show.
To preserve performance only 100 of 100+ files are displayed.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
@@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
3 | // swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name HHMedicSDK | 3 | // swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name HHMedicSDK |
4 | import Foundation | 4 | import Foundation |
5 | @_exported import HHMedicSDK | 5 | @_exported import HHMedicSDK |
6 | -import HHSDKBase | ||
7 | import HHSDKVideo | 6 | import HHSDKVideo |
8 | import ImSDK_Smart | 7 | import ImSDK_Smart |
9 | import Swift | 8 | import Swift |
@@ -34,8 +33,8 @@ extension HHMSDK { | @@ -34,8 +33,8 @@ extension HHMSDK { | ||
34 | public func waitExpert(userToken: Swift.String, callOrderId: Swift.String) | 33 | public func waitExpert(userToken: Swift.String, callOrderId: Swift.String) |
35 | } | 34 | } |
36 | extension HHMSDK { | 35 | extension HHMSDK { |
37 | - @objc dynamic public func login(userToken: Swift.String, completion: @escaping HHSDKBase.HHLoginHandler) | ||
38 | - @objc dynamic public func autoLogin(uuid: Swift.Int, completion: @escaping HHSDKBase.HHLoginHandler) | 36 | + @objc dynamic public func login(userToken: Swift.String, completion: @escaping HHSDKVideo.HHLoginHandler) |
37 | + @objc dynamic public func autoLogin(uuid: Swift.Int, completion: @escaping HHSDKVideo.HHLoginHandler) | ||
39 | @objc dynamic public func logout(_ callback: ((Swift.String?) -> Swift.Void)? = nil) | 38 | @objc dynamic public func logout(_ callback: ((Swift.String?) -> Swift.Void)? = nil) |
40 | @objc dynamic public func terminate() | 39 | @objc dynamic public func terminate() |
41 | @objc dynamic public func checkAutoLogin() | 40 | @objc dynamic public func checkAutoLogin() |
No preview for this file type
@@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
3 | // swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name HHMedicSDK | 3 | // swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name HHMedicSDK |
4 | import Foundation | 4 | import Foundation |
5 | @_exported import HHMedicSDK | 5 | @_exported import HHMedicSDK |
6 | -import HHSDKBase | ||
7 | import HHSDKVideo | 6 | import HHSDKVideo |
8 | import ImSDK_Smart | 7 | import ImSDK_Smart |
9 | import Swift | 8 | import Swift |
@@ -34,8 +33,8 @@ extension HHMSDK { | @@ -34,8 +33,8 @@ extension HHMSDK { | ||
34 | public func waitExpert(userToken: Swift.String, callOrderId: Swift.String) | 33 | public func waitExpert(userToken: Swift.String, callOrderId: Swift.String) |
35 | } | 34 | } |
36 | extension HHMSDK { | 35 | extension HHMSDK { |
37 | - @objc dynamic public func login(userToken: Swift.String, completion: @escaping HHSDKBase.HHLoginHandler) | ||
38 | - @objc dynamic public func autoLogin(uuid: Swift.Int, completion: @escaping HHSDKBase.HHLoginHandler) | 36 | + @objc dynamic public func login(userToken: Swift.String, completion: @escaping HHSDKVideo.HHLoginHandler) |
37 | + @objc dynamic public func autoLogin(uuid: Swift.Int, completion: @escaping HHSDKVideo.HHLoginHandler) | ||
39 | @objc dynamic public func logout(_ callback: ((Swift.String?) -> Swift.Void)? = nil) | 38 | @objc dynamic public func logout(_ callback: ((Swift.String?) -> Swift.Void)? = nil) |
40 | @objc dynamic public func terminate() | 39 | @objc dynamic public func terminate() |
41 | @objc dynamic public func checkAutoLogin() | 40 | @objc dynamic public func checkAutoLogin() |
No preview for this file type

582 Bytes

794 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_adjust_selected@2x.png
deleted
100644 → 0

594 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_adjust_selected@3x.png
deleted
100644 → 0

852 Bytes

821 Bytes

1.04 KB

1002 Bytes

1.28 KB

1.04 KB

1.59 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_brightness_selected@2x.png
deleted
100644 → 0

1.12 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_brightness_selected@3x.png
deleted
100644 → 0

1.6 KB

185 Bytes

311 Bytes

864 Bytes

1.31 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_contrast_selected@2x.png
deleted
100644 → 0

936 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_contrast_selected@3x.png
deleted
100644 → 0

1.37 KB

1.07 KB

802 Bytes

1.03 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_drawLine_selected@2x.png
deleted
100644 → 0

740 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_drawLine_selected@3x.png
deleted
100644 → 0

1010 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_editImage_tag@2x.png
deleted
100644 → 0

679 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_editImage_tag@3x.png
deleted
100644 → 0

861 Bytes

900 Bytes

1.2 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_filter_selected@2x.png
deleted
100644 → 0

836 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_filter_selected@3x.png
deleted
100644 → 0

1.13 KB

221 Bytes

253 Bytes

119 Bytes

130 Bytes

118 Bytes

129 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_imageSticker@2x.png
deleted
100644 → 0

1.59 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_imageSticker@3x.png
deleted
100644 → 0

2.56 KB

833 Bytes

1.17 KB

379 Bytes

625 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_mosaic_selected@2x.png
deleted
100644 → 0

221 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_mosaic_selected@3x.png
deleted
100644 → 0

340 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_pauseButtonWhite@2x.png
deleted
100644 → 0

168 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_pauseButtonWhite@3x.png
deleted
100644 → 0

206 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_playButtonWhite@2x.png
deleted
100644 → 0

393 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_playButtonWhite@3x.png
deleted
100644 → 0

497 Bytes

1.13 KB

1.69 KB

683 Bytes

844 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_revoke_disable@2x.png
deleted
100644 → 0

581 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_revoke_disable@3x.png
deleted
100644 → 0

748 Bytes

363 Bytes

440 Bytes

997 Bytes

1.21 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_saturation_selected@2x.png
deleted
100644 → 0

1.05 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_saturation_selected@3x.png
deleted
100644 → 0

1.17 KB

729 Bytes

1.02 KB

565 Bytes

978 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_toggle_camera@2x.png
deleted
100644 → 0

1008 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_toggle_camera@3x.png
deleted
100644 → 0

1.5 KB

857 Bytes

1.27 KB
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_videoLoadFailed@2x.png
deleted
100644 → 0

395 Bytes
HHVDoctorSDK/HHPhotoPicker.framework/HHPhotoBrowser.bundle/zl_videoLoadFailed@3x.png
deleted
100644 → 0

486 Bytes

640 Bytes

919 Bytes
No preview for this file type
1 | -// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57) | ||
2 | -#ifndef HHPHOTOPICKER_SWIFT_H | ||
3 | -#define HHPHOTOPICKER_SWIFT_H | ||
4 | -#pragma clang diagnostic push | ||
5 | -#pragma clang diagnostic ignored "-Wgcc-compat" | ||
6 | - | ||
7 | -#if !defined(__has_include) | ||
8 | -# define __has_include(x) 0 | ||
9 | -#endif | ||
10 | -#if !defined(__has_attribute) | ||
11 | -# define __has_attribute(x) 0 | ||
12 | -#endif | ||
13 | -#if !defined(__has_feature) | ||
14 | -# define __has_feature(x) 0 | ||
15 | -#endif | ||
16 | -#if !defined(__has_warning) | ||
17 | -# define __has_warning(x) 0 | ||
18 | -#endif | ||
19 | - | ||
20 | -#if __has_include(<swift/objc-prologue.h>) | ||
21 | -# include <swift/objc-prologue.h> | ||
22 | -#endif | ||
23 | - | ||
24 | -#pragma clang diagnostic ignored "-Wauto-import" | ||
25 | -#include <Foundation/Foundation.h> | ||
26 | -#include <stdint.h> | ||
27 | -#include <stddef.h> | ||
28 | -#include <stdbool.h> | ||
29 | - | ||
30 | -#if !defined(SWIFT_TYPEDEFS) | ||
31 | -# define SWIFT_TYPEDEFS 1 | ||
32 | -# if __has_include(<uchar.h>) | ||
33 | -# include <uchar.h> | ||
34 | -# elif !defined(__cplusplus) | ||
35 | -typedef uint_least16_t char16_t; | ||
36 | -typedef uint_least32_t char32_t; | ||
37 | -# endif | ||
38 | -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); | ||
39 | -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); | ||
40 | -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); | ||
41 | -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); | ||
42 | -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); | ||
43 | -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); | ||
44 | -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); | ||
45 | -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); | ||
46 | -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); | ||
47 | -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); | ||
48 | -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); | ||
49 | -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); | ||
50 | -#endif | ||
51 | - | ||
52 | -#if !defined(SWIFT_PASTE) | ||
53 | -# define SWIFT_PASTE_HELPER(x, y) x##y | ||
54 | -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) | ||
55 | -#endif | ||
56 | -#if !defined(SWIFT_METATYPE) | ||
57 | -# define SWIFT_METATYPE(X) Class | ||
58 | -#endif | ||
59 | -#if !defined(SWIFT_CLASS_PROPERTY) | ||
60 | -# if __has_feature(objc_class_property) | ||
61 | -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ | ||
62 | -# else | ||
63 | -# define SWIFT_CLASS_PROPERTY(...) | ||
64 | -# endif | ||
65 | -#endif | ||
66 | - | ||
67 | -#if __has_attribute(objc_runtime_name) | ||
68 | -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) | ||
69 | -#else | ||
70 | -# define SWIFT_RUNTIME_NAME(X) | ||
71 | -#endif | ||
72 | -#if __has_attribute(swift_name) | ||
73 | -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) | ||
74 | -#else | ||
75 | -# define SWIFT_COMPILE_NAME(X) | ||
76 | -#endif | ||
77 | -#if __has_attribute(objc_method_family) | ||
78 | -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) | ||
79 | -#else | ||
80 | -# define SWIFT_METHOD_FAMILY(X) | ||
81 | -#endif | ||
82 | -#if __has_attribute(noescape) | ||
83 | -# define SWIFT_NOESCAPE __attribute__((noescape)) | ||
84 | -#else | ||
85 | -# define SWIFT_NOESCAPE | ||
86 | -#endif | ||
87 | -#if __has_attribute(ns_consumed) | ||
88 | -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) | ||
89 | -#else | ||
90 | -# define SWIFT_RELEASES_ARGUMENT | ||
91 | -#endif | ||
92 | -#if __has_attribute(warn_unused_result) | ||
93 | -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | ||
94 | -#else | ||
95 | -# define SWIFT_WARN_UNUSED_RESULT | ||
96 | -#endif | ||
97 | -#if __has_attribute(noreturn) | ||
98 | -# define SWIFT_NORETURN __attribute__((noreturn)) | ||
99 | -#else | ||
100 | -# define SWIFT_NORETURN | ||
101 | -#endif | ||
102 | -#if !defined(SWIFT_CLASS_EXTRA) | ||
103 | -# define SWIFT_CLASS_EXTRA | ||
104 | -#endif | ||
105 | -#if !defined(SWIFT_PROTOCOL_EXTRA) | ||
106 | -# define SWIFT_PROTOCOL_EXTRA | ||
107 | -#endif | ||
108 | -#if !defined(SWIFT_ENUM_EXTRA) | ||
109 | -# define SWIFT_ENUM_EXTRA | ||
110 | -#endif | ||
111 | -#if !defined(SWIFT_CLASS) | ||
112 | -# if __has_attribute(objc_subclassing_restricted) | ||
113 | -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA | ||
114 | -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
115 | -# else | ||
116 | -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
117 | -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
118 | -# endif | ||
119 | -#endif | ||
120 | -#if !defined(SWIFT_RESILIENT_CLASS) | ||
121 | -# if __has_attribute(objc_class_stub) | ||
122 | -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) | ||
123 | -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) | ||
124 | -# else | ||
125 | -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) | ||
126 | -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) | ||
127 | -# endif | ||
128 | -#endif | ||
129 | - | ||
130 | -#if !defined(SWIFT_PROTOCOL) | ||
131 | -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
132 | -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
133 | -#endif | ||
134 | - | ||
135 | -#if !defined(SWIFT_EXTENSION) | ||
136 | -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) | ||
137 | -#endif | ||
138 | - | ||
139 | -#if !defined(OBJC_DESIGNATED_INITIALIZER) | ||
140 | -# if __has_attribute(objc_designated_initializer) | ||
141 | -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) | ||
142 | -# else | ||
143 | -# define OBJC_DESIGNATED_INITIALIZER | ||
144 | -# endif | ||
145 | -#endif | ||
146 | -#if !defined(SWIFT_ENUM_ATTR) | ||
147 | -# if defined(__has_attribute) && __has_attribute(enum_extensibility) | ||
148 | -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) | ||
149 | -# else | ||
150 | -# define SWIFT_ENUM_ATTR(_extensibility) | ||
151 | -# endif | ||
152 | -#endif | ||
153 | -#if !defined(SWIFT_ENUM) | ||
154 | -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type | ||
155 | -# if __has_feature(generalized_swift_name) | ||
156 | -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type | ||
157 | -# else | ||
158 | -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) | ||
159 | -# endif | ||
160 | -#endif | ||
161 | -#if !defined(SWIFT_UNAVAILABLE) | ||
162 | -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) | ||
163 | -#endif | ||
164 | -#if !defined(SWIFT_UNAVAILABLE_MSG) | ||
165 | -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) | ||
166 | -#endif | ||
167 | -#if !defined(SWIFT_AVAILABILITY) | ||
168 | -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) | ||
169 | -#endif | ||
170 | -#if !defined(SWIFT_WEAK_IMPORT) | ||
171 | -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) | ||
172 | -#endif | ||
173 | -#if !defined(SWIFT_DEPRECATED) | ||
174 | -# define SWIFT_DEPRECATED __attribute__((deprecated)) | ||
175 | -#endif | ||
176 | -#if !defined(SWIFT_DEPRECATED_MSG) | ||
177 | -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) | ||
178 | -#endif | ||
179 | -#if __has_feature(attribute_diagnose_if_objc) | ||
180 | -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) | ||
181 | -#else | ||
182 | -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) | ||
183 | -#endif | ||
184 | -#if !defined(IBSegueAction) | ||
185 | -# define IBSegueAction | ||
186 | -#endif | ||
187 | -#if __has_feature(modules) | ||
188 | -#if __has_warning("-Watimport-in-framework-header") | ||
189 | -#pragma clang diagnostic ignored "-Watimport-in-framework-header" | ||
190 | -#endif | ||
191 | -@import AVFoundation; | ||
192 | -@import CoreFoundation; | ||
193 | -@import CoreGraphics; | ||
194 | -@import CoreMedia; | ||
195 | -@import Foundation; | ||
196 | -@import ObjectiveC; | ||
197 | -@import Photos; | ||
198 | -@import QuartzCore; | ||
199 | -@import UIKit; | ||
200 | -#endif | ||
201 | - | ||
202 | -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" | ||
203 | -#pragma clang diagnostic ignored "-Wduplicate-method-arg" | ||
204 | -#if __has_warning("-Wpragma-clang-attribute") | ||
205 | -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" | ||
206 | -#endif | ||
207 | -#pragma clang diagnostic ignored "-Wunknown-pragmas" | ||
208 | -#pragma clang diagnostic ignored "-Wnullability" | ||
209 | - | ||
210 | -#if __has_attribute(external_source_symbol) | ||
211 | -# pragma push_macro("any") | ||
212 | -# undef any | ||
213 | -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="HHPhotoPicker",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) | ||
214 | -# pragma pop_macro("any") | ||
215 | -#endif | ||
216 | - | ||
217 | - | ||
218 | - | ||
219 | - | ||
220 | -SWIFT_CLASS("_TtC13HHPhotoPicker18HHPhotoConfigModel") | ||
221 | -@interface HHPhotoConfigModel : NSObject | ||
222 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
223 | -@end | ||
224 | - | ||
225 | - | ||
226 | -SWIFT_CLASS("_TtC13HHPhotoPicker20HHPhotoPickerManager") | ||
227 | -@interface HHPhotoPickerManager : NSObject | ||
228 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
229 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
230 | -@end | ||
231 | - | ||
232 | -@class UIColor; | ||
233 | - | ||
234 | -SWIFT_CLASS("_TtC13HHPhotoPicker20HHPhotoUIConfigModel") | ||
235 | -@interface HHPhotoUIConfigModel : NSObject | ||
236 | -@property (nonatomic, strong) UIColor * _Nonnull indexLabelBgColor; | ||
237 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
238 | -@end | ||
239 | - | ||
240 | - | ||
241 | - | ||
242 | - | ||
243 | - | ||
244 | - | ||
245 | - | ||
246 | - | ||
247 | - | ||
248 | - | ||
249 | -SWIFT_CLASS("_TtC13HHPhotoPicker16ZLAlbumListModel") | ||
250 | -@interface ZLAlbumListModel : NSObject | ||
251 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
252 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
253 | -@end | ||
254 | - | ||
255 | - | ||
256 | -enum CaptureSessionPreset : NSInteger; | ||
257 | -enum FocusMode : NSInteger; | ||
258 | -enum ExposureMode : NSInteger; | ||
259 | -enum FlashMode : NSInteger; | ||
260 | -enum VideoExportType : NSInteger; | ||
261 | - | ||
262 | -SWIFT_CLASS("_TtC13HHPhotoPicker21ZLCameraConfiguration") | ||
263 | -@interface ZLCameraConfiguration : NSObject | ||
264 | -/// Video resolution. Defaults to hd1280x720. | ||
265 | -@property (nonatomic) enum CaptureSessionPreset sessionPreset; | ||
266 | -/// Camera focus mode. Defaults to continuousAutoFocus | ||
267 | -@property (nonatomic) enum FocusMode focusMode; | ||
268 | -/// Camera exposure mode. Defaults to continuousAutoExposure | ||
269 | -@property (nonatomic) enum ExposureMode exposureMode; | ||
270 | -/// Camera flahs mode. Default is off. Defaults to off. | ||
271 | -@property (nonatomic) enum FlashMode flashMode; | ||
272 | -/// Video export format for recording video and editing video. Defaults to mov. | ||
273 | -@property (nonatomic) enum VideoExportType videoExportType; | ||
274 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
275 | -@end | ||
276 | - | ||
277 | -typedef SWIFT_ENUM(NSInteger, CaptureSessionPreset, open) { | ||
278 | - CaptureSessionPresetCif352x288 = 0, | ||
279 | - CaptureSessionPresetVga640x480 = 1, | ||
280 | - CaptureSessionPresetHd1280x720 = 2, | ||
281 | - CaptureSessionPresetHd1920x1080 = 3, | ||
282 | - CaptureSessionPresetHd4K3840x2160 = 4, | ||
283 | -}; | ||
284 | - | ||
285 | -typedef SWIFT_ENUM(NSInteger, FocusMode, open) { | ||
286 | - FocusModeAutoFocus = 0, | ||
287 | - FocusModeContinuousAutoFocus = 1, | ||
288 | -}; | ||
289 | - | ||
290 | -typedef SWIFT_ENUM(NSInteger, ExposureMode, open) { | ||
291 | - ExposureModeAutoExpose = 0, | ||
292 | - ExposureModeContinuousAutoExposure = 1, | ||
293 | -}; | ||
294 | - | ||
295 | -typedef SWIFT_ENUM(NSInteger, FlashMode, open) { | ||
296 | - FlashModeAuto = 0, | ||
297 | - FlashModeOn = 1, | ||
298 | - FlashModeOff = 2, | ||
299 | -}; | ||
300 | - | ||
301 | -typedef SWIFT_ENUM(NSInteger, VideoExportType, open) { | ||
302 | - VideoExportTypeMov = 0, | ||
303 | - VideoExportTypeMp4 = 1, | ||
304 | -}; | ||
305 | - | ||
306 | - | ||
307 | -@class UIImage; | ||
308 | -@class NSURL; | ||
309 | -@class NSNumber; | ||
310 | -@class NSCoder; | ||
311 | -@class CAAnimation; | ||
312 | -@class NSString; | ||
313 | -@class NSBundle; | ||
314 | - | ||
315 | -SWIFT_CLASS("_TtC13HHPhotoPicker14ZLCustomCamera") | ||
316 | -@interface ZLCustomCamera : UIViewController <CAAnimationDelegate> | ||
317 | -@property (nonatomic, copy) void (^ _Nullable takeDoneBlock)(UIImage * _Nullable, NSURL * _Nullable); | ||
318 | -@property (nonatomic, copy) void (^ _Nullable cancelBlock)(void); | ||
319 | -@property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations; | ||
320 | -@property (nonatomic, readonly) BOOL prefersStatusBarHidden; | ||
321 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
322 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; | ||
323 | -- (void)viewDidLoad; | ||
324 | -- (void)viewWillAppear:(BOOL)animated; | ||
325 | -- (void)viewDidAppear:(BOOL)animated; | ||
326 | -- (void)viewWillDisappear:(BOOL)animated; | ||
327 | -- (void)viewDidDisappear:(BOOL)animated; | ||
328 | -- (void)viewDidLayoutSubviews; | ||
329 | -- (void)animationDidStop:(CAAnimation * _Nonnull)anim finished:(BOOL)flag; | ||
330 | -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; | ||
331 | -@end | ||
332 | - | ||
333 | -@class UIGestureRecognizer; | ||
334 | - | ||
335 | -@interface ZLCustomCamera (SWIFT_EXTENSION(HHPhotoPicker)) <UIGestureRecognizerDelegate> | ||
336 | -- (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer * _Nonnull)otherGestureRecognizer SWIFT_WARN_UNUSED_RESULT; | ||
337 | -@end | ||
338 | - | ||
339 | -@class AVCapturePhotoOutput; | ||
340 | -@class AVCaptureResolvedPhotoSettings; | ||
341 | -@class AVCaptureBracketedStillImageSettings; | ||
342 | - | ||
343 | -@interface ZLCustomCamera (SWIFT_EXTENSION(HHPhotoPicker)) <AVCapturePhotoCaptureDelegate> | ||
344 | -- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)output willCapturePhotoForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings; | ||
345 | -- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)output didFinishProcessingPhotoSampleBuffer:(CMSampleBufferRef _Nullable)photoSampleBuffer previewPhotoSampleBuffer:(CMSampleBufferRef _Nullable)previewPhotoSampleBuffer resolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings bracketSettings:(AVCaptureBracketedStillImageSettings * _Nullable)bracketSettings error:(NSError * _Nullable)error; | ||
346 | -@end | ||
347 | - | ||
348 | -@class AVCaptureFileOutput; | ||
349 | -@class AVCaptureConnection; | ||
350 | - | ||
351 | -@interface ZLCustomCamera (SWIFT_EXTENSION(HHPhotoPicker)) <AVCaptureFileOutputRecordingDelegate> | ||
352 | -- (void)captureOutput:(AVCaptureFileOutput * _Nonnull)output didStartRecordingToOutputFileAtURL:(NSURL * _Nonnull)fileURL fromConnections:(NSArray<AVCaptureConnection *> * _Nonnull)connections; | ||
353 | -- (void)captureOutput:(AVCaptureFileOutput * _Nonnull)output didFinishRecordingToOutputFileAtURL:(NSURL * _Nonnull)outputFileURL fromConnections:(NSArray<AVCaptureConnection *> * _Nonnull)connections error:(NSError * _Nullable)error; | ||
354 | -@end | ||
355 | - | ||
356 | - | ||
357 | -SWIFT_CLASS("_TtC13HHPhotoPicker10ZLDrawPath") | ||
358 | -@interface ZLDrawPath : NSObject | ||
359 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
360 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
361 | -@end | ||
362 | - | ||
363 | -@class ZLImageClipRatio; | ||
364 | -@class ZLFilter; | ||
365 | -@class UIView; | ||
366 | -@protocol ZLImageStickerContainerDelegate; | ||
367 | - | ||
368 | -SWIFT_CLASS("_TtC13HHPhotoPicker24ZLEditImageConfiguration") | ||
369 | -@interface ZLEditImageConfiguration : NSObject | ||
370 | -/// Edit image tools. (This property is only for objc). | ||
371 | -/// warning: | ||
372 | -/// If you want to use the image sticker feature, you must provide a view that implements ZLImageStickerContainerDelegate. | ||
373 | -@property (nonatomic, copy) NSArray<NSNumber *> * _Nonnull tools_objc; | ||
374 | -/// Draw colors for image editor. | ||
375 | -@property (nonatomic, copy) NSArray<UIColor *> * _Nonnull drawColors; | ||
376 | -/// The default draw color. If this color not in editImageDrawColors, will pick the first color in editImageDrawColors as the default. | ||
377 | -@property (nonatomic, strong) UIColor * _Nonnull defaultDrawColor; | ||
378 | -/// Edit ratios for image editor. | ||
379 | -@property (nonatomic, copy) NSArray<ZLImageClipRatio *> * _Nonnull clipRatios; | ||
380 | -/// Text sticker colors for image editor. | ||
381 | -@property (nonatomic, copy) NSArray<UIColor *> * _Nonnull textStickerTextColors; | ||
382 | -/// The default text sticker color. If this color not in textStickerTextColors, will pick the first color in textStickerTextColors as the default. | ||
383 | -@property (nonatomic, strong) UIColor * _Nonnull textStickerDefaultTextColor; | ||
384 | -/// Filters for image editor. | ||
385 | -@property (nonatomic, copy) NSArray<ZLFilter *> * _Nonnull filters; | ||
386 | -@property (nonatomic, strong) UIView <ZLImageStickerContainerDelegate> * _Nullable imageStickerContainerView; | ||
387 | -/// Adjust image tools. (This property is only for objc). | ||
388 | -/// Valid when the tools contain EditTool.adjust | ||
389 | -@property (nonatomic, copy) NSArray<NSNumber *> * _Nonnull adjustTools_objc; | ||
390 | -/// Give an impact feedback when the adjust slider value is zero. Defaults to true. | ||
391 | -@property (nonatomic) BOOL impactFeedbackWhenAdjustSliderValueIsZero; | ||
392 | -/// Impact feedback style. Defaults to .medium | ||
393 | -@property (nonatomic) enum UIImpactFeedbackStyle impactFeedbackStyle; | ||
394 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
395 | -@end | ||
396 | - | ||
397 | -typedef SWIFT_ENUM(NSInteger, EditTool, open) { | ||
398 | - EditToolDraw = 0, | ||
399 | - EditToolClip = 1, | ||
400 | - EditToolImageSticker = 2, | ||
401 | - EditToolTextSticker = 3, | ||
402 | - EditToolMosaic = 4, | ||
403 | - EditToolFilter = 5, | ||
404 | - EditToolAdjust = 6, | ||
405 | -}; | ||
406 | - | ||
407 | -typedef SWIFT_ENUM(NSInteger, AdjustTool, open) { | ||
408 | - AdjustToolBrightness = 0, | ||
409 | - AdjustToolContrast = 1, | ||
410 | - AdjustToolSaturation = 2, | ||
411 | -}; | ||
412 | - | ||
413 | - | ||
414 | - | ||
415 | -SWIFT_CLASS("_TtC13HHPhotoPicker16ZLEditImageModel") | ||
416 | -@interface ZLEditImageModel : NSObject | ||
417 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
418 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
419 | -@end | ||
420 | - | ||
421 | -@class ZLEnlargeButton; | ||
422 | -@class UIScrollView; | ||
423 | -@class CAGradientLayer; | ||
424 | -@class UIButton; | ||
425 | -@class UIImageView; | ||
426 | - | ||
427 | -SWIFT_CLASS("_TtC13HHPhotoPicker25ZLEditImageViewController") | ||
428 | -@interface ZLEditImageViewController : UIViewController | ||
429 | -@property (nonatomic) CGFloat drawColViewH; | ||
430 | -@property (nonatomic) CGFloat filterColViewH; | ||
431 | -@property (nonatomic) CGFloat adjustColViewH; | ||
432 | -@property (nonatomic, strong) UIColor * _Nonnull ashbinNormalBgColor; | ||
433 | -@property (nonatomic, strong) ZLEnlargeButton * _Nonnull cancelBtn; | ||
434 | -@property (nonatomic, strong) UIScrollView * _Nonnull mainScrollView; | ||
435 | -@property (nonatomic, strong) UIView * _Nonnull topShadowView; | ||
436 | -@property (nonatomic, strong) CAGradientLayer * _Nonnull topShadowLayer; | ||
437 | -@property (nonatomic, strong) UIView * _Nonnull bottomShadowView; | ||
438 | -@property (nonatomic, strong) CAGradientLayer * _Nonnull bottomShadowLayer; | ||
439 | -@property (nonatomic, strong) UIButton * _Nonnull doneBtn; | ||
440 | -@property (nonatomic, strong) UIButton * _Nonnull revokeBtn; | ||
441 | -@property (nonatomic, strong) UIView * _Nonnull ashbinView; | ||
442 | -@property (nonatomic, strong) UIImageView * _Nonnull ashbinImgView; | ||
443 | -@property (nonatomic) CGFloat drawLineWidth; | ||
444 | -@property (nonatomic) CGFloat mosaicLineWidth; | ||
445 | -@property (nonatomic, copy) void (^ _Nullable editFinishBlock)(UIImage * _Nonnull, ZLEditImageModel * _Nullable); | ||
446 | -@property (nonatomic, copy) void (^ _Nullable cancelEditBlock)(void); | ||
447 | -@property (nonatomic, readonly) BOOL prefersStatusBarHidden; | ||
448 | -@property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations; | ||
449 | -+ (void)showEditImageVCWithParentVC:(UIViewController * _Nullable)parentVC animate:(BOOL)animate image:(UIImage * _Nonnull)image editModel:(ZLEditImageModel * _Nullable)editModel cancel:(void (^ _Nullable)(void))cancel completion:(void (^ _Nullable)(UIImage * _Nonnull, ZLEditImageModel * _Nullable))completion; | ||
450 | -- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image editModel:(ZLEditImageModel * _Nullable)editModel OBJC_DESIGNATED_INITIALIZER; | ||
451 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; | ||
452 | -- (void)viewDidLoad; | ||
453 | -- (void)viewDidLayoutSubviews; | ||
454 | -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; | ||
455 | -@end | ||
456 | - | ||
457 | - | ||
458 | -@interface ZLEditImageViewController (SWIFT_EXTENSION(HHPhotoPicker)) <UIGestureRecognizerDelegate> | ||
459 | -- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer * _Nonnull)gestureRecognizer SWIFT_WARN_UNUSED_RESULT; | ||
460 | -@end | ||
461 | - | ||
462 | -@class UICollectionView; | ||
463 | -@class NSIndexPath; | ||
464 | -@class UICollectionViewCell; | ||
465 | - | ||
466 | -@interface ZLEditImageViewController (SWIFT_EXTENSION(HHPhotoPicker)) <UICollectionViewDataSource, UICollectionViewDelegate> | ||
467 | -- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
468 | -- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
469 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView didSelectItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
470 | -@end | ||
471 | - | ||
472 | - | ||
473 | - | ||
474 | -@interface ZLEditImageViewController (SWIFT_EXTENSION(HHPhotoPicker)) <UIScrollViewDelegate> | ||
475 | -- (UIView * _Nullable)viewForZoomingInScrollView:(UIScrollView * _Nonnull)scrollView SWIFT_WARN_UNUSED_RESULT; | ||
476 | -- (void)scrollViewDidZoom:(UIScrollView * _Nonnull)scrollView; | ||
477 | -- (void)scrollViewDidEndZooming:(UIScrollView * _Nonnull)scrollView withView:(UIView * _Nullable)view atScale:(CGFloat)scale; | ||
478 | -- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView; | ||
479 | -- (void)scrollViewDidEndDragging:(UIScrollView * _Nonnull)scrollView willDecelerate:(BOOL)decelerate; | ||
480 | -- (void)scrollViewDidEndDecelerating:(UIScrollView * _Nonnull)scrollView; | ||
481 | -- (void)scrollViewDidEndScrollingAnimation:(UIScrollView * _Nonnull)scrollView; | ||
482 | -@end | ||
483 | - | ||
484 | -@class AVAsset; | ||
485 | - | ||
486 | -SWIFT_CLASS("_TtC13HHPhotoPicker25ZLEditVideoViewController") | ||
487 | -@interface ZLEditVideoViewController : UIViewController | ||
488 | -@property (nonatomic, copy) void (^ _Nullable editFinishBlock)(NSURL * _Nullable); | ||
489 | -@property (nonatomic, readonly) BOOL prefersStatusBarHidden; | ||
490 | -@property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations; | ||
491 | -/// initialize | ||
492 | -/// \param avAsset AVAsset对象,需要传入本地视频,网络视频不支持 | ||
493 | -/// | ||
494 | -/// \param animateDismiss 退出界面时是否显示dismiss动画 | ||
495 | -/// | ||
496 | -- (nonnull instancetype)initWithAvAsset:(AVAsset * _Nonnull)avAsset animateDismiss:(BOOL)animateDismiss OBJC_DESIGNATED_INITIALIZER; | ||
497 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; | ||
498 | -- (void)viewDidLoad; | ||
499 | -- (void)viewDidAppear:(BOOL)animated; | ||
500 | -- (void)viewDidLayoutSubviews; | ||
501 | -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; | ||
502 | -@end | ||
503 | - | ||
504 | - | ||
505 | -@interface ZLEditVideoViewController (SWIFT_EXTENSION(HHPhotoPicker)) <UIGestureRecognizerDelegate> | ||
506 | -- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer * _Nonnull)gestureRecognizer SWIFT_WARN_UNUSED_RESULT; | ||
507 | -@end | ||
508 | - | ||
509 | -@class UICollectionViewLayout; | ||
510 | - | ||
511 | -@interface ZLEditVideoViewController (SWIFT_EXTENSION(HHPhotoPicker)) <UICollectionViewDataSource, UICollectionViewDelegateFlowLayout> | ||
512 | -- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView; | ||
513 | -- (void)scrollViewDidEndDragging:(UIScrollView * _Nonnull)scrollView willDecelerate:(BOOL)decelerate; | ||
514 | -- (void)scrollViewDidEndDecelerating:(UIScrollView * _Nonnull)scrollView; | ||
515 | -- (UIEdgeInsets)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout insetForSectionAtIndex:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
516 | -- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
517 | -- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
518 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
519 | -@end | ||
520 | - | ||
521 | -@class UIEvent; | ||
522 | - | ||
523 | -SWIFT_CLASS("_TtC13HHPhotoPicker15ZLEnlargeButton") | ||
524 | -@interface ZLEnlargeButton : UIButton | ||
525 | -- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; | ||
526 | -- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; | ||
527 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; | ||
528 | -@end | ||
529 | - | ||
530 | -enum ZLFilterType : NSInteger; | ||
531 | - | ||
532 | -SWIFT_CLASS("_TtC13HHPhotoPicker8ZLFilter") | ||
533 | -@interface ZLFilter : NSObject | ||
534 | -- (nonnull instancetype)initWithName:(NSString * _Nonnull)name filterType:(enum ZLFilterType)filterType OBJC_DESIGNATED_INITIALIZER; | ||
535 | -/// 可传入 applier 自定义滤镜 | ||
536 | -- (nonnull instancetype)initWithName:(NSString * _Nonnull)name applier:(UIImage * _Nonnull (^ _Nullable)(UIImage * _Nonnull))applier OBJC_DESIGNATED_INITIALIZER; | ||
537 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
538 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
539 | -@end | ||
540 | - | ||
541 | - | ||
542 | - | ||
543 | -@interface ZLFilter (SWIFT_EXTENSION(HHPhotoPicker)) | ||
544 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSArray<ZLFilter *> * _Nonnull all;) | ||
545 | -+ (NSArray<ZLFilter *> * _Nonnull)all SWIFT_WARN_UNUSED_RESULT; | ||
546 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull normal;) | ||
547 | -+ (ZLFilter * _Nonnull)normal SWIFT_WARN_UNUSED_RESULT; | ||
548 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull clarendon;) | ||
549 | -+ (ZLFilter * _Nonnull)clarendon SWIFT_WARN_UNUSED_RESULT; | ||
550 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull nashville;) | ||
551 | -+ (ZLFilter * _Nonnull)nashville SWIFT_WARN_UNUSED_RESULT; | ||
552 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull apply1977;) | ||
553 | -+ (ZLFilter * _Nonnull)apply1977 SWIFT_WARN_UNUSED_RESULT; | ||
554 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull toaster;) | ||
555 | -+ (ZLFilter * _Nonnull)toaster SWIFT_WARN_UNUSED_RESULT; | ||
556 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull chrome;) | ||
557 | -+ (ZLFilter * _Nonnull)chrome SWIFT_WARN_UNUSED_RESULT; | ||
558 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull fade;) | ||
559 | -+ (ZLFilter * _Nonnull)fade SWIFT_WARN_UNUSED_RESULT; | ||
560 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull instant;) | ||
561 | -+ (ZLFilter * _Nonnull)instant SWIFT_WARN_UNUSED_RESULT; | ||
562 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull process;) | ||
563 | -+ (ZLFilter * _Nonnull)process SWIFT_WARN_UNUSED_RESULT; | ||
564 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull transfer;) | ||
565 | -+ (ZLFilter * _Nonnull)transfer SWIFT_WARN_UNUSED_RESULT; | ||
566 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull tone;) | ||
567 | -+ (ZLFilter * _Nonnull)tone SWIFT_WARN_UNUSED_RESULT; | ||
568 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull linear;) | ||
569 | -+ (ZLFilter * _Nonnull)linear SWIFT_WARN_UNUSED_RESULT; | ||
570 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull sepia;) | ||
571 | -+ (ZLFilter * _Nonnull)sepia SWIFT_WARN_UNUSED_RESULT; | ||
572 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull mono;) | ||
573 | -+ (ZLFilter * _Nonnull)mono SWIFT_WARN_UNUSED_RESULT; | ||
574 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull noir;) | ||
575 | -+ (ZLFilter * _Nonnull)noir SWIFT_WARN_UNUSED_RESULT; | ||
576 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLFilter * _Nonnull tonal;) | ||
577 | -+ (ZLFilter * _Nonnull)tonal SWIFT_WARN_UNUSED_RESULT; | ||
578 | -@end | ||
579 | - | ||
580 | -typedef SWIFT_ENUM(NSInteger, ZLFilterType, open) { | ||
581 | - ZLFilterTypeNormal = 0, | ||
582 | - ZLFilterTypeChrome = 1, | ||
583 | - ZLFilterTypeFade = 2, | ||
584 | - ZLFilterTypeInstant = 3, | ||
585 | - ZLFilterTypeProcess = 4, | ||
586 | - ZLFilterTypeTransfer = 5, | ||
587 | - ZLFilterTypeTone = 6, | ||
588 | - ZLFilterTypeLinear = 7, | ||
589 | - ZLFilterTypeSepia = 8, | ||
590 | - ZLFilterTypeMono = 9, | ||
591 | - ZLFilterTypeNoir = 10, | ||
592 | - ZLFilterTypeTonal = 11, | ||
593 | -}; | ||
594 | - | ||
595 | - | ||
596 | -SWIFT_CLASS("_TtC13HHPhotoPicker16ZLImageClipRatio") | ||
597 | -@interface ZLImageClipRatio : NSObject | ||
598 | -- (nonnull instancetype)initWithTitle:(NSString * _Nonnull)title whRatio:(CGFloat)whRatio isCircle:(BOOL)isCircle OBJC_DESIGNATED_INITIALIZER; | ||
599 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
600 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
601 | -@end | ||
602 | - | ||
603 | - | ||
604 | - | ||
605 | -@interface ZLImageClipRatio (SWIFT_EXTENSION(HHPhotoPicker)) | ||
606 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull custom;) | ||
607 | -+ (ZLImageClipRatio * _Nonnull)custom SWIFT_WARN_UNUSED_RESULT; | ||
608 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull circle;) | ||
609 | -+ (ZLImageClipRatio * _Nonnull)circle SWIFT_WARN_UNUSED_RESULT; | ||
610 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull wh1x1;) | ||
611 | -+ (ZLImageClipRatio * _Nonnull)wh1x1 SWIFT_WARN_UNUSED_RESULT; | ||
612 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull wh3x4;) | ||
613 | -+ (ZLImageClipRatio * _Nonnull)wh3x4 SWIFT_WARN_UNUSED_RESULT; | ||
614 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull wh4x3;) | ||
615 | -+ (ZLImageClipRatio * _Nonnull)wh4x3 SWIFT_WARN_UNUSED_RESULT; | ||
616 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull wh2x3;) | ||
617 | -+ (ZLImageClipRatio * _Nonnull)wh2x3 SWIFT_WARN_UNUSED_RESULT; | ||
618 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull wh3x2;) | ||
619 | -+ (ZLImageClipRatio * _Nonnull)wh3x2 SWIFT_WARN_UNUSED_RESULT; | ||
620 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull wh9x16;) | ||
621 | -+ (ZLImageClipRatio * _Nonnull)wh9x16 SWIFT_WARN_UNUSED_RESULT; | ||
622 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZLImageClipRatio * _Nonnull wh16x9;) | ||
623 | -+ (ZLImageClipRatio * _Nonnull)wh16x9 SWIFT_WARN_UNUSED_RESULT; | ||
624 | -@end | ||
625 | - | ||
626 | -enum ZLURLType : NSInteger; | ||
627 | - | ||
628 | -SWIFT_CLASS("_TtC13HHPhotoPicker24ZLImagePreviewController") | ||
629 | -@interface ZLImagePreviewController : UIViewController | ||
630 | -@property (nonatomic, copy) void (^ _Nullable longPressBlock)(ZLImagePreviewController * _Nullable, UIImage * _Nullable, NSInteger); | ||
631 | -@property (nonatomic, copy) void (^ _Nullable doneBlock)(NSArray * _Nonnull); | ||
632 | -@property (nonatomic, copy) NSDictionary<NSString *, id> * _Nullable videoHttpHeader; | ||
633 | -@property (nonatomic, readonly) BOOL prefersStatusBarHidden; | ||
634 | -@property (nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle; | ||
635 | -/// \param datas Must be one of PHAsset, UIImage and URL, will filter others in init function. | ||
636 | -/// | ||
637 | -/// \param showBottomView If showSelectBtn is true, showBottomView is always true. | ||
638 | -/// | ||
639 | -/// \param index Index for first display. | ||
640 | -/// | ||
641 | -/// \param urlType Tell me the url is image or video. | ||
642 | -/// | ||
643 | -/// \param urlImageLoader Called when cell will display, cell will layout after callback when image load finish. The first block is progress callback, second is load finish callback. | ||
644 | -/// | ||
645 | -- (nonnull instancetype)initWithDatas:(NSArray * _Nonnull)datas index:(NSInteger)index showSelectBtn:(BOOL)showSelectBtn showBottomView:(BOOL)showBottomView urlType:(enum ZLURLType (^ _Nullable)(NSURL * _Nonnull))urlType urlImageLoader:(void (^ _Nullable)(NSURL * _Nonnull, UIImageView * _Nonnull, void (^ _Nonnull)(CGFloat), void (^ _Nonnull)(void)))urlImageLoader OBJC_DESIGNATED_INITIALIZER; | ||
646 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; | ||
647 | -- (void)viewDidLoad; | ||
648 | -- (void)viewWillAppear:(BOOL)animated; | ||
649 | -- (void)viewDidAppear:(BOOL)animated; | ||
650 | -- (void)viewDidLayoutSubviews; | ||
651 | -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; | ||
652 | -@end | ||
653 | - | ||
654 | - | ||
655 | -@interface ZLImagePreviewController (SWIFT_EXTENSION(HHPhotoPicker)) | ||
656 | -- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView; | ||
657 | -- (void)scrollViewDidEndDecelerating:(UIScrollView * _Nonnull)scrollView; | ||
658 | -@end | ||
659 | - | ||
660 | - | ||
661 | -@interface ZLImagePreviewController (SWIFT_EXTENSION(HHPhotoPicker)) <UICollectionViewDataSource, UICollectionViewDelegateFlowLayout> | ||
662 | -- (CGFloat)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout minimumInteritemSpacingForSectionAtIndex:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
663 | -- (CGFloat)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout minimumLineSpacingForSectionAtIndex:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
664 | -- (UIEdgeInsets)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout insetForSectionAtIndex:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
665 | -- (CGSize)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
666 | -- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
667 | -- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
668 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView didEndDisplayingCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
669 | -@end | ||
670 | - | ||
671 | - | ||
672 | -/// Provide an image sticker container view that conform to this protocol must be a subclass of UIView | ||
673 | -/// 必须是UIView的子类遵循这个协议 | ||
674 | -SWIFT_PROTOCOL("_TtP13HHPhotoPicker31ZLImageStickerContainerDelegate_") | ||
675 | -@protocol ZLImageStickerContainerDelegate | ||
676 | -@property (nonatomic, copy) void (^ _Nullable selectImageBlock)(UIImage * _Nonnull); | ||
677 | -@property (nonatomic, copy) void (^ _Nullable hideBlock)(void); | ||
678 | -- (void)showIn:(UIView * _Nonnull)view; | ||
679 | -@end | ||
680 | - | ||
681 | - | ||
682 | -SWIFT_CLASS("_TtC13HHPhotoPicker19ZLImageStickerState") | ||
683 | -@interface ZLImageStickerState : NSObject | ||
684 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
685 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
686 | -@end | ||
687 | - | ||
688 | -typedef SWIFT_ENUM(NSInteger, ZLLanguageType, open) { | ||
689 | - ZLLanguageTypeSystem = 0, | ||
690 | - ZLLanguageTypeChineseSimplified = 1, | ||
691 | - ZLLanguageTypeChineseTraditional = 2, | ||
692 | - ZLLanguageTypeEnglish = 3, | ||
693 | - ZLLanguageTypeJapanese = 4, | ||
694 | - ZLLanguageTypeFrench = 5, | ||
695 | - ZLLanguageTypeGerman = 6, | ||
696 | - ZLLanguageTypeRussian = 7, | ||
697 | - ZLLanguageTypeVietnamese = 8, | ||
698 | - ZLLanguageTypeKorean = 9, | ||
699 | - ZLLanguageTypeMalay = 10, | ||
700 | - ZLLanguageTypeItalian = 11, | ||
701 | - ZLLanguageTypeIndonesian = 12, | ||
702 | - ZLLanguageTypePortuguese = 13, | ||
703 | - ZLLanguageTypeSpanish = 14, | ||
704 | - ZLLanguageTypeTurkish = 15, | ||
705 | -}; | ||
706 | - | ||
707 | - | ||
708 | -SWIFT_CLASS("_TtC13HHPhotoPicker12ZLMosaicPath") | ||
709 | -@interface ZLMosaicPath : NSObject | ||
710 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
711 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
712 | -@end | ||
713 | - | ||
714 | -typedef SWIFT_ENUM(NSInteger, ZLNoAuthorityType, open) { | ||
715 | - ZLNoAuthorityTypeLibrary = 0, | ||
716 | - ZLNoAuthorityTypeCamera = 1, | ||
717 | - ZLNoAuthorityTypeMicrophone = 2, | ||
718 | -}; | ||
719 | - | ||
720 | -typedef SWIFT_ENUM(NSInteger, ZLPhotoBrowserStyle, open) { | ||
721 | -/// The album list is embedded in the navigation of the thumbnail interface, click the drop-down display. | ||
722 | - ZLPhotoBrowserStyleEmbedAlbumList = 0, | ||
723 | -/// The display relationship between the album list and the thumbnail interface is push. | ||
724 | - ZLPhotoBrowserStyleExternalAlbumList = 1, | ||
725 | -}; | ||
726 | - | ||
727 | -enum HUDStyle : NSInteger; | ||
728 | -@class PHAsset; | ||
729 | - | ||
730 | -SWIFT_CLASS("_TtC13HHPhotoPicker20ZLPhotoConfiguration") | ||
731 | -@interface ZLPhotoConfiguration : NSObject | ||
732 | -+ (ZLPhotoConfiguration * _Nonnull)default SWIFT_WARN_UNUSED_RESULT; | ||
733 | -+ (void)resetConfiguration; | ||
734 | -/// Photo sorting method, the preview interface is not affected by this parameter. Defaults to true. | ||
735 | -@property (nonatomic) BOOL sortAscending; | ||
736 | -/// Anything superior than 1 will enable the multiple selection feature. Defaults to 9. | ||
737 | -@property (nonatomic) NSInteger maxSelectCount; | ||
738 | -/// A count for video max selection. Defaults to 0. | ||
739 | -/// warning: | ||
740 | -/// Only valid in mix selection mode. (i.e. allowMixSelect = true) | ||
741 | -@property (nonatomic) NSInteger maxVideoSelectCount; | ||
742 | -/// A count for video min selection. Defaults to 0. | ||
743 | -/// warning: | ||
744 | -/// Only valid in mix selection mode. (i.e. allowMixSelect = true) | ||
745 | -@property (nonatomic) NSInteger minVideoSelectCount; | ||
746 | -/// Whether photos and videos can be selected together. Defaults to true. | ||
747 | -/// If set to false, only one video can be selected. Defaults to true. | ||
748 | -@property (nonatomic) BOOL allowMixSelect; | ||
749 | -/// Preview selection max preview count, if the value is zero, only show <code>Camera</code>, <code>Album</code>, <code>Cancel</code> buttons. Defaults to 20. | ||
750 | -@property (nonatomic) NSInteger maxPreviewCount; | ||
751 | -@property (nonatomic) CGFloat cellCornerRadio; | ||
752 | -/// If set to false, gif and livephoto cannot be selected either. Defaults to true. | ||
753 | -@property (nonatomic) BOOL allowSelectImage; | ||
754 | -@property (nonatomic) BOOL allowSelectVideo; | ||
755 | -/// Allow select Gif, it only controls whether it is displayed in Gif form. | ||
756 | -/// If value is false, the Gif logo is not displayed. Defaults to true. | ||
757 | -@property (nonatomic) BOOL allowSelectGif; | ||
758 | -/// Allow select LivePhoto, it only controls whether it is displayed in LivePhoto form. | ||
759 | -/// If value is false, the LivePhoto logo is not displayed. Defaults to false. | ||
760 | -@property (nonatomic) BOOL allowSelectLivePhoto; | ||
761 | -/// Allow take photos in the album. Defaults to true. | ||
762 | -/// warning: | ||
763 | -/// If allowTakePhoto and allowRecordVideo are both false, it will not be displayed. | ||
764 | -@property (nonatomic) BOOL allowTakePhotoInLibrary; | ||
765 | -@property (nonatomic) BOOL allowEditImage; | ||
766 | -@property (nonatomic) BOOL allowEditVideo; | ||
767 | -/// Control whether to display the selection button animation when selecting. Defaults to true. | ||
768 | -@property (nonatomic) BOOL animateSelectBtnWhenSelect; | ||
769 | -/// Animation duration for select button | ||
770 | -@property (nonatomic) CFTimeInterval selectBtnAnimationDuration; | ||
771 | -/// After selecting a image/video in the thumbnail interface, enter the editing interface directly. Defaults to false. | ||
772 | -/// <ul> | ||
773 | -/// <li> | ||
774 | -/// discussion: Editing image is only valid when allowEditImage is true and maxSelectCount is 1. | ||
775 | -/// Editing video is only valid when allowEditVideo is true and maxSelectCount is 1. | ||
776 | -/// </li> | ||
777 | -/// </ul> | ||
778 | -@property (nonatomic) BOOL editAfterSelectThumbnailImage; | ||
779 | -/// Only valid when allowMixSelect is false and allowEditVideo is true. Defaults to true. | ||
780 | -/// Just like the Wechat-Timeline selection style. If you want to crop the video after select thumbnail under allowMixSelect = true, please use <em>editAfterSelectThumbnailImage</em>. | ||
781 | -@property (nonatomic) BOOL cropVideoAfterSelectThumbnail; | ||
782 | -/// If image edit tools only has clip and this property is true. When you click edit, the cropping interface (i.e. ZLClipImageViewController) will be displayed. Defaults to false. | ||
783 | -@property (nonatomic) BOOL showClipDirectlyIfOnlyHasClipTool; | ||
784 | -/// Save the edited image to the album after editing. Defaults to true. | ||
785 | -@property (nonatomic) BOOL saveNewImageAfterEdit; | ||
786 | -/// If true, you can slide select photos in album. Defaults to true. | ||
787 | -@property (nonatomic) BOOL allowSlideSelect; | ||
788 | -/// When slide select is active, will auto scroll to top or bottom when your finger at the top or bottom. Defaults to true. | ||
789 | -@property (nonatomic) BOOL autoScrollWhenSlideSelectIsActive; | ||
790 | -/// The max speed (pt/s) of auto scroll. Defaults to 600. | ||
791 | -@property (nonatomic) CGFloat autoScrollMaxSpeed; | ||
792 | -/// If true, you can drag select photo when preview selection style. Defaults to false. | ||
793 | -@property (nonatomic) BOOL allowDragSelect; | ||
794 | -/// Allow select full image. Defaults to true. | ||
795 | -@property (nonatomic) BOOL allowSelectOriginal; | ||
796 | -/// Allow access to the preview large image interface (That is, whether to allow access to the large image interface after clicking the thumbnail image). Defaults to true. | ||
797 | -@property (nonatomic) BOOL allowPreviewPhotos; | ||
798 | -/// Whether to show the preview button (i.e. the preview button in the lower left corner of the thumbnail interface). Defaults to true. | ||
799 | -@property (nonatomic) BOOL showPreviewButtonInAlbum; | ||
800 | -/// Whether to display the selected count on the button. Defaults to true. | ||
801 | -@property (nonatomic) BOOL showSelectCountOnDoneBtn; | ||
802 | -/// The column count when iPhone is in portait mode. Minimum is 2, maximum is 6. Defaults to 4. | ||
803 | -/// \code | ||
804 | -/// iPhone landscape mode: columnCount += 2. | ||
805 | -/// iPad portait mode: columnCount += 2. | ||
806 | -/// iPad landscape mode: columnCount += 4. | ||
807 | -/// | ||
808 | -/// \endcode | ||
809 | -@property (nonatomic) NSInteger columnCount; | ||
810 | -/// Maximum cropping time when editing video, unit: second. Defaults to 10. | ||
811 | -@property (nonatomic) NSInteger maxEditVideoTime; | ||
812 | -/// Allow to choose the maximum duration of the video. Defaults to 120. | ||
813 | -@property (nonatomic) NSInteger maxSelectVideoDuration; | ||
814 | -/// Allow to choose the minimum duration of the video. Defaults to 0. | ||
815 | -@property (nonatomic) NSInteger minSelectVideoDuration; | ||
816 | -/// Image editor configuration. | ||
817 | -@property (nonatomic, strong) ZLEditImageConfiguration * _Nonnull editImageConfiguration; | ||
818 | -/// Show the image captured by the camera is displayed on the camera button inside the album. Defaults to false. | ||
819 | -@property (nonatomic) BOOL showCaptureImageOnTakePhotoBtn; | ||
820 | -/// In single selection mode, whether to display the selection button. Defaults to false. | ||
821 | -@property (nonatomic) BOOL showSelectBtnWhenSingleSelect; | ||
822 | -/// Overlay a mask layer on top of the selected photos. Defaults to true. | ||
823 | -@property (nonatomic) BOOL showSelectedMask; | ||
824 | -/// Display a border on the selected photos cell. Defaults to false. | ||
825 | -@property (nonatomic) BOOL showSelectedBorder; | ||
826 | -/// Overlay a mask layer above the cells that cannot be selected. Defaults to true. | ||
827 | -@property (nonatomic) BOOL showInvalidMask; | ||
828 | -/// Display the index of the selected photos. Defaults to true. | ||
829 | -@property (nonatomic) BOOL showSelectedIndex; | ||
830 | -/// Display the selected photos at the bottom of the preview large photos interface. Defaults to true. | ||
831 | -@property (nonatomic) BOOL showSelectedPhotoPreview; | ||
832 | -/// Allow framework fetch photos when callback. Defaults to true. | ||
833 | -@property (nonatomic) BOOL shouldAnialysisAsset; | ||
834 | -/// Timeout for image parsing. Defaults to 20. | ||
835 | -@property (nonatomic) NSTimeInterval timeout; | ||
836 | -/// Language for framework. | ||
837 | -@property (nonatomic) enum ZLLanguageType languageType; | ||
838 | -/// Whether to use custom camera. Defaults to true. | ||
839 | -@property (nonatomic) BOOL useCustomCamera; | ||
840 | -/// Allow taking photos in the camera (Need allowSelectImage to be true). Defaults to true. | ||
841 | -@property (nonatomic) BOOL allowTakePhoto; | ||
842 | -/// Allow recording in the camera (Need allowSelectVideo to be true). Defaults to true. | ||
843 | -@property (nonatomic) BOOL allowRecordVideo; | ||
844 | -/// Minimum recording duration. Defaults to 0. | ||
845 | -@property (nonatomic) NSInteger minRecordDuration; | ||
846 | -/// Maximum recording duration. Defaults to 10, minimum is 1. | ||
847 | -@property (nonatomic) NSInteger maxRecordDuration; | ||
848 | -/// The configuration for camera. | ||
849 | -@property (nonatomic, strong) ZLCameraConfiguration * _Nonnull cameraConfiguration; | ||
850 | -/// Hud style. Defaults to lightBlur. | ||
851 | -@property (nonatomic) enum HUDStyle hudStyle; | ||
852 | -/// This block will be called before selecting an image, the developer can first determine whether the asset is allowed to be selected. | ||
853 | -/// Only control whether it is allowed to be selected, and will not affect the selection logic in the framework. | ||
854 | -/// <ul> | ||
855 | -/// <li> | ||
856 | -/// Tips: If the choice is not allowed, the developer can toast prompt the user for relevant information. | ||
857 | -/// </li> | ||
858 | -/// </ul> | ||
859 | -@property (nonatomic, copy) BOOL (^ _Nullable canSelectAsset)(PHAsset * _Nonnull); | ||
860 | -/// If user choose limited Photo mode, a button with ‘+’ will be added to the ZLThumbnailViewController. It will call PHPhotoLibrary.shared().presentLimitedLibraryPicker(from:) to add photo. Defaults to true. | ||
861 | -/// E.g., Sina Weibo’s ImagePicker | ||
862 | -@property (nonatomic) BOOL showAddPhotoButton; | ||
863 | -/// iOS14 limited Photo mode, will show collection footer view in ZLThumbnailViewController. | ||
864 | -/// Will go to system setting if clicked. Defaults to true. | ||
865 | -@property (nonatomic) BOOL showEnterSettingTips; | ||
866 | -/// Callback after the no authority alert dismiss. | ||
867 | -@property (nonatomic, copy) void (^ _Nullable noAuthorityCallback)(enum ZLNoAuthorityType); | ||
868 | -/// Allow user to do something before select photo result callback. | ||
869 | -/// And you must call the second parameter of this block to continue the photos selection. | ||
870 | -/// The first parameter is the current controller. | ||
871 | -/// The second parameter is the block that needs to be called after the user completes the operation. | ||
872 | -@property (nonatomic, copy) void (^ _Nullable operateBeforeDoneAction)(UIViewController * _Nonnull, void (^ _Nonnull)(void)); | ||
873 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
874 | -@end | ||
875 | - | ||
876 | - | ||
877 | -@interface ZLPhotoConfiguration (SWIFT_EXTENSION(HHPhotoPicker)) | ||
878 | -- (ZLPhotoConfiguration * _Nonnull)allowSelectVideo:(BOOL)value; | ||
879 | -- (ZLPhotoConfiguration * _Nonnull)canSelectAsset:(BOOL (^ _Nullable)(PHAsset * _Nonnull))block; | ||
880 | -- (ZLPhotoConfiguration * _Nonnull)showAddPhotoButton:(BOOL)value; | ||
881 | -- (ZLPhotoConfiguration * _Nonnull)showEnterSettingTips:(BOOL)value; | ||
882 | -- (ZLPhotoConfiguration * _Nonnull)noAuthorityCallback:(void (^ _Nullable)(enum ZLNoAuthorityType))callback; | ||
883 | -- (ZLPhotoConfiguration * _Nonnull)operateBeforeDoneAction:(void (^ _Nullable)(UIViewController * _Nonnull, void (^ _Nonnull)(void)))block; | ||
884 | -@end | ||
885 | - | ||
886 | -@class ZLPhotoModel; | ||
887 | -@class NSData; | ||
888 | -@class PHLivePhoto; | ||
889 | -@class AVPlayerItem; | ||
890 | - | ||
891 | -SWIFT_CLASS("_TtC13HHPhotoPicker14ZLPhotoManager") | ||
892 | -@interface ZLPhotoManager : NSObject | ||
893 | -/// Save image to album. | ||
894 | -+ (void)saveImageToAlbumWithImage:(UIImage * _Nonnull)image completion:(void (^ _Nullable)(BOOL, PHAsset * _Nullable))completion; | ||
895 | -/// Save video to album. | ||
896 | -+ (void)saveVideoToAlbumWithUrl:(NSURL * _Nonnull)url completion:(void (^ _Nullable)(BOOL, PHAsset * _Nullable))completion; | ||
897 | -/// Fetch photos from result. | ||
898 | -+ (NSArray<ZLPhotoModel *> * _Nonnull)fetchPhotoIn:(PHFetchResult<PHAsset *> * _Nonnull)result ascending:(BOOL)ascending allowSelectImage:(BOOL)allowSelectImage allowSelectVideo:(BOOL)allowSelectVideo limitCount:(NSInteger)limitCount SWIFT_WARN_UNUSED_RESULT; | ||
899 | -/// Fetch all album list. | ||
900 | -+ (void)getPhotoAlbumListWithAscending:(BOOL)ascending allowSelectImage:(BOOL)allowSelectImage allowSelectVideo:(BOOL)allowSelectVideo completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSArray<ZLAlbumListModel *> * _Nonnull))completion; | ||
901 | -/// Fetch camera roll album. | ||
902 | -+ (void)getCameraRollAlbumWithAllowSelectImage:(BOOL)allowSelectImage allowSelectVideo:(BOOL)allowSelectVideo completion:(void (^ _Nonnull)(ZLAlbumListModel * _Nonnull))completion; | ||
903 | -+ (PHImageRequestID)fetchImageFor:(PHAsset * _Nonnull)asset size:(CGSize)size progress:(void (^ _Nullable)(CGFloat, NSError * _Nullable, BOOL * _Nonnull, NSDictionary * _Nullable))progress completion:(void (^ _Nonnull)(UIImage * _Nullable, BOOL))completion; | ||
904 | -+ (PHImageRequestID)fetchOriginalImageFor:(PHAsset * _Nonnull)asset progress:(void (^ _Nullable)(CGFloat, NSError * _Nullable, BOOL * _Nonnull, NSDictionary * _Nullable))progress completion:(void (^ _Nonnull)(UIImage * _Nullable, BOOL))completion; | ||
905 | -/// Fetch asset data. | ||
906 | -+ (PHImageRequestID)fetchOriginalImageDataFor:(PHAsset * _Nonnull)asset progress:(void (^ _Nullable)(CGFloat, NSError * _Nullable, BOOL * _Nonnull, NSDictionary * _Nullable))progress completion:(void (^ _Nonnull)(NSData * _Nonnull, NSDictionary * _Nullable, BOOL))completion; | ||
907 | -+ (PHImageRequestID)fetchLivePhotoFor:(PHAsset * _Nonnull)asset completion:(void (^ _Nonnull)(PHLivePhoto * _Nullable, NSDictionary * _Nullable, BOOL))completion SWIFT_WARN_UNUSED_RESULT; | ||
908 | -+ (PHImageRequestID)fetchVideoFor:(PHAsset * _Nonnull)asset progress:(void (^ _Nullable)(CGFloat, NSError * _Nullable, BOOL * _Nonnull, NSDictionary * _Nullable))progress completion:(void (^ _Nonnull)(AVPlayerItem * _Nullable, NSDictionary * _Nullable, BOOL))completion SWIFT_WARN_UNUSED_RESULT; | ||
909 | -+ (PHImageRequestID)fetchAVAssetForVideo:(PHAsset * _Nonnull)asset completion:(void (^ _Nonnull)(AVAsset * _Nullable, NSDictionary * _Nullable))completion SWIFT_WARN_UNUSED_RESULT; | ||
910 | -/// Fetch asset local file path. | ||
911 | -+ (void)fetchAssetFilePathWithAsset:(PHAsset * _Nonnull)asset completion:(void (^ _Nonnull)(NSString * _Nullable))completion; | ||
912 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
913 | -@end | ||
914 | - | ||
915 | - | ||
916 | -@interface ZLPhotoManager (SWIFT_EXTENSION(HHPhotoPicker)) | ||
917 | -+ (BOOL)hasPhotoLibratyAuthority SWIFT_WARN_UNUSED_RESULT; | ||
918 | -+ (BOOL)hasCameraAuthority SWIFT_WARN_UNUSED_RESULT; | ||
919 | -+ (BOOL)hasMicrophoneAuthority SWIFT_WARN_UNUSED_RESULT; | ||
920 | -@end | ||
921 | - | ||
922 | - | ||
923 | -SWIFT_CLASS("_TtC13HHPhotoPicker12ZLPhotoModel") | ||
924 | -@interface ZLPhotoModel : NSObject | ||
925 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
926 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
927 | -@end | ||
928 | - | ||
929 | - | ||
930 | - | ||
931 | - | ||
932 | -SWIFT_CLASS("_TtC13HHPhotoPicker19ZLPhotoPreviewSheet") | ||
933 | -@interface ZLPhotoPreviewSheet : UIView | ||
934 | -/// Success callback | ||
935 | -/// block params | ||
936 | -/// <ul> | ||
937 | -/// <li> | ||
938 | -/// params1: images for asset. | ||
939 | -/// </li> | ||
940 | -/// <li> | ||
941 | -/// params2: selected assets | ||
942 | -/// </li> | ||
943 | -/// <li> | ||
944 | -/// params3: is full image | ||
945 | -/// </li> | ||
946 | -/// </ul> | ||
947 | -@property (nonatomic, copy) void (^ _Nullable selectImageBlock)(NSArray<UIImage *> * _Nonnull, NSArray<PHAsset *> * _Nonnull, BOOL); | ||
948 | -/// Callback for photos that failed to parse | ||
949 | -/// block params | ||
950 | -/// <ul> | ||
951 | -/// <li> | ||
952 | -/// params1: failed assets. | ||
953 | -/// </li> | ||
954 | -/// <li> | ||
955 | -/// params2: index for asset | ||
956 | -/// </li> | ||
957 | -/// </ul> | ||
958 | -@property (nonatomic, copy) void (^ _Nullable selectImageRequestErrorBlock)(NSArray<PHAsset *> * _Nonnull, NSArray<NSNumber *> * _Nonnull); | ||
959 | -@property (nonatomic, copy) void (^ _Nullable cancelBlock)(void); | ||
960 | -- (nonnull instancetype)initWithFrame:(CGRect)frame; | ||
961 | -/// \param selectedAssets preselected assets | ||
962 | -/// | ||
963 | -- (nonnull instancetype)initWithSelectedAssets:(NSArray<PHAsset *> * _Nullable)selectedAssets OBJC_DESIGNATED_INITIALIZER; | ||
964 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; | ||
965 | -- (void)layoutSubviews; | ||
966 | -- (void)showPreviewWithAnimate:(BOOL)animate sender:(UIViewController * _Nonnull)sender; | ||
967 | -- (void)showPhotoLibraryWithSender:(UIViewController * _Nonnull)sender; | ||
968 | -/// 传入已选择的assets,并预览 | ||
969 | -- (void)previewAssetsWithSender:(UIViewController * _Nonnull)sender assets:(NSArray<PHAsset *> * _Nonnull)assets index:(NSInteger)index isOriginal:(BOOL)isOriginal showBottomViewAndSelectBtn:(BOOL)showBottomViewAndSelectBtn; | ||
970 | -@end | ||
971 | - | ||
972 | -@class PHChange; | ||
973 | - | ||
974 | -@interface ZLPhotoPreviewSheet (SWIFT_EXTENSION(HHPhotoPicker)) <PHPhotoLibraryChangeObserver> | ||
975 | -- (void)photoLibraryDidChange:(PHChange * _Nonnull)changeInstance; | ||
976 | -@end | ||
977 | - | ||
978 | - | ||
979 | -@interface ZLPhotoPreviewSheet (SWIFT_EXTENSION(HHPhotoPicker)) <UIGestureRecognizerDelegate> | ||
980 | -- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer * _Nonnull)gestureRecognizer SWIFT_WARN_UNUSED_RESULT; | ||
981 | -@end | ||
982 | - | ||
983 | -@class UIImagePickerController; | ||
984 | - | ||
985 | -@interface ZLPhotoPreviewSheet (SWIFT_EXTENSION(HHPhotoPicker)) <UIImagePickerControllerDelegate, UINavigationControllerDelegate> | ||
986 | -- (void)imagePickerController:(UIImagePickerController * _Nonnull)picker didFinishPickingMediaWithInfo:(NSDictionary<UIImagePickerControllerInfoKey, id> * _Nonnull)info; | ||
987 | -@end | ||
988 | - | ||
989 | - | ||
990 | -@interface ZLPhotoPreviewSheet (SWIFT_EXTENSION(HHPhotoPicker)) <UICollectionViewDataSource, UICollectionViewDelegateFlowLayout> | ||
991 | -- (CGSize)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
992 | -- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
993 | -- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
994 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
995 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView didSelectItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
996 | -@end | ||
997 | - | ||
998 | -enum CancelButtonStyle : NSInteger; | ||
999 | -@class UIBlurEffect; | ||
1000 | - | ||
1001 | -/// Custom UI configuration (include colors, images, text, font) | ||
1002 | -SWIFT_CLASS("_TtC13HHPhotoPicker22ZLPhotoUIConfiguration") | ||
1003 | -@interface ZLPhotoUIConfiguration : NSObject | ||
1004 | -+ (ZLPhotoUIConfiguration * _Nonnull)default SWIFT_WARN_UNUSED_RESULT; | ||
1005 | -+ (void)resetConfiguration; | ||
1006 | -@property (nonatomic) enum ZLPhotoBrowserStyle style; | ||
1007 | -@property (nonatomic) UIStatusBarStyle statusBarStyle; | ||
1008 | -/// text: Cancel. image: ‘x’. Default to image. | ||
1009 | -@property (nonatomic) enum CancelButtonStyle navCancelButtonStyle; | ||
1010 | -/// Whether to show the status bar when previewing photos. Defaults to false. | ||
1011 | -@property (nonatomic) BOOL showStatusBarInPreviewInterface; | ||
1012 | -/// The blur effect of the navigation bar in the album list | ||
1013 | -@property (nonatomic, strong) UIBlurEffect * _Nullable navViewBlurEffectOfAlbumList; | ||
1014 | -/// The blur effect of the navigation bar in the preview interface | ||
1015 | -@property (nonatomic, strong) UIBlurEffect * _Nullable navViewBlurEffectOfPreview; | ||
1016 | -/// The blur effect of the bottom tool bar in the album list | ||
1017 | -@property (nonatomic, strong) UIBlurEffect * _Nullable bottomViewBlurEffectOfAlbumList; | ||
1018 | -/// The blur effect of the bottom tool bar in the preview interface | ||
1019 | -@property (nonatomic, strong) UIBlurEffect * _Nullable bottomViewBlurEffectOfPreview; | ||
1020 | -/// Developers can customize images, but the name of the custom image resource must be consistent with the image name in the replaced bundle. | ||
1021 | -/// <ul> | ||
1022 | -/// <li> | ||
1023 | -/// example: Developers need to replace the selected and unselected image resources, and the array that needs to be passed in is | ||
1024 | -/// [“zl_btn_selected”, “zl_btn_unselected”]. | ||
1025 | -/// </li> | ||
1026 | -/// </ul> | ||
1027 | -@property (nonatomic, copy) NSArray<NSString *> * _Nonnull customImageNames; | ||
1028 | -/// Developers can customize images, but the name of the custom image resource must be consistent with the image name in the replaced bundle. | ||
1029 | -/// <ul> | ||
1030 | -/// <li> | ||
1031 | -/// example: Developers need to replace the selected and unselected image resources, and the array that needs to be passed in is | ||
1032 | -/// [“zl_btn_selected”: selectedImage, “zl_btn_unselected”: unselectedImage]. | ||
1033 | -/// </li> | ||
1034 | -/// </ul> | ||
1035 | -@property (nonatomic, copy) NSDictionary<NSString *, UIImage *> * _Nonnull customImageForKey_objc; | ||
1036 | -/// Developers can customize languages (This property is only for objc). | ||
1037 | -/// warning: | ||
1038 | -/// Please pay attention to the placeholders contained in languages when changing, such as %ld, %@. | ||
1039 | -/// <ul> | ||
1040 | -/// <li> | ||
1041 | -/// example: If you needs to replace | ||
1042 | -/// key: @“loading”, value: @“loading, waiting please” language, | ||
1043 | -/// The dictionary that needs to be passed in is @[@“loading”: @“text to be replaced”]. | ||
1044 | -/// </li> | ||
1045 | -/// </ul> | ||
1046 | -@property (nonatomic, copy) NSDictionary<NSString *, NSString *> * _Nonnull customLanguageKeyValue_objc; | ||
1047 | -/// Font name. | ||
1048 | -@property (nonatomic, copy) NSString * _Nullable themeFontName; | ||
1049 | -/// Preview selection mode, translucent background color above. | ||
1050 | -/// 预览快速选择模式下,上方透明区域背景色 | ||
1051 | -@property (nonatomic, strong) UIColor * _Nonnull sheetTranslucentColor; | ||
1052 | -/// Preview selection mode, a background color for <code>Camera</code>, <code>Album</code>, <code>Cancel</code> buttons. | ||
1053 | -/// 预览快速选择模式下,按钮背景颜色 | ||
1054 | -@property (nonatomic, strong) UIColor * _Nonnull sheetBtnBgColor; | ||
1055 | -/// Preview selection mode, a text color for <code>Camera</code>, <code>Album</code>, <code>Cancel</code> buttons. | ||
1056 | -/// 预览快速选择模式下,按钮标题颜色 | ||
1057 | -@property (nonatomic, strong) UIColor * _Nonnull sheetBtnTitleColor; | ||
1058 | -/// Preview selection mode, cancel button title color when the selection amount is superior than 0. | ||
1059 | -/// 预览快速选择模式下,按钮标题高亮颜色 | ||
1060 | -@property (nonatomic, strong) UIColor * _Nonnull sheetBtnTitleTintColor; | ||
1061 | -/// A color for navigation bar. | ||
1062 | -/// 相册列表及小图界面导航条背景色 | ||
1063 | -@property (nonatomic, strong) UIColor * _Nonnull navBarColor; | ||
1064 | -/// A color for navigation bar in preview interface. | ||
1065 | -/// 预览大图界面的导航条背景色 | ||
1066 | -@property (nonatomic, strong) UIColor * _Nonnull navBarColorOfPreviewVC; | ||
1067 | -/// A color for Navigation bar text. | ||
1068 | -/// 相册列表及小图界面导航栏标题颜色 | ||
1069 | -@property (nonatomic, strong) UIColor * _Nonnull navTitleColor; | ||
1070 | -/// A color for Navigation bar text of preview vc. | ||
1071 | -/// 预览大图界面导航栏标题颜色 | ||
1072 | -@property (nonatomic, strong) UIColor * _Nonnull navTitleColorOfPreviewVC; | ||
1073 | -/// The background color of the title view when the frame style is embedAlbumList. | ||
1074 | -/// 下拉选择相册列表模式下,选择区域的背景色 | ||
1075 | -@property (nonatomic, strong) UIColor * _Nonnull navEmbedTitleViewBgColor; | ||
1076 | -/// A color for background in album list. | ||
1077 | -/// 相册列表背景色 | ||
1078 | -@property (nonatomic, strong) UIColor * _Nonnull albumListBgColor; | ||
1079 | -/// A color of the translucent area below the embed album list. | ||
1080 | -/// 嵌入式相册列表下方透明区域颜色 | ||
1081 | -@property (nonatomic, strong) UIColor * _Nonnull embedAlbumListTranslucentColor; | ||
1082 | -/// A color for album list title label. | ||
1083 | -/// 相册列表标题颜色 | ||
1084 | -@property (nonatomic, strong) UIColor * _Nonnull albumListTitleColor; | ||
1085 | -/// A color for album list count label. | ||
1086 | -/// 相册列表数量label的颜色 | ||
1087 | -@property (nonatomic, strong) UIColor * _Nonnull albumListCountColor; | ||
1088 | -/// A color for album list separator. | ||
1089 | -/// 相册列表分割线颜色 | ||
1090 | -@property (nonatomic, strong) UIColor * _Nonnull separatorColor; | ||
1091 | -/// A color for background in thumbnail interface. | ||
1092 | -/// 相册小图界面背景色 | ||
1093 | -@property (nonatomic, strong) UIColor * _Nonnull thumbnailBgColor; | ||
1094 | -/// A color for background in preview interface.. | ||
1095 | -/// 预览大图界面背景色 | ||
1096 | -@property (nonatomic, strong) UIColor * _Nonnull previewVCBgColor; | ||
1097 | -/// A color for background in bottom tool view. | ||
1098 | -/// 相册小图界面底部工具条背景色 | ||
1099 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBgColor; | ||
1100 | -/// A color for background in bottom tool view in preview interface. | ||
1101 | -/// 预览大图界面底部工具条背景色 | ||
1102 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBgColorOfPreviewVC; | ||
1103 | -/// The normal state title color of bottom tool view buttons. Without done button. | ||
1104 | -/// 相册小图界面底部按钮可交互状态下标题颜色,不包括 <code>完成</code> 按钮 | ||
1105 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnNormalTitleColor; | ||
1106 | -/// The normal state title color of bottom tool view done button. | ||
1107 | -/// 相册小图界面底部 <code>完成</code> 按钮可交互状态下标题颜色 | ||
1108 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewDoneBtnNormalTitleColor; | ||
1109 | -/// The normal state title color of bottom tool view buttons in preview interface. Without done button. | ||
1110 | -/// 预览大图界面底部按钮可交互状态下标题颜色,不包括 <code>完成</code> 按钮 | ||
1111 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnNormalTitleColorOfPreviewVC; | ||
1112 | -/// The normal state title color of bottom tool view done button. | ||
1113 | -/// 预览大图界面底部 <code>完成</code> 按钮可交互状态下标题颜色 | ||
1114 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewDoneBtnNormalTitleColorOfPreviewVC; | ||
1115 | -/// The disable state title color of bottom tool view buttons. Without done button. | ||
1116 | -/// 相册小图界面底部按钮不可交互状态下标题颜色,不包括 <code>完成</code> 按钮 | ||
1117 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnDisableTitleColor; | ||
1118 | -/// The disable state title color of bottom tool view done button. | ||
1119 | -/// 相册小图界面底部 <code>完成</code> 按钮不可交互状态下标题颜色 | ||
1120 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewDoneBtnDisableTitleColor; | ||
1121 | -/// The disable state title color of bottom tool view buttons in preview interface. Without done button. | ||
1122 | -/// 预览大图界面底部按钮不可交互状态下标题颜色,不包括 <code>完成</code> 按钮 | ||
1123 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnDisableTitleColorOfPreviewVC; | ||
1124 | -/// The disable state title color of bottom tool view done button in preview interface. | ||
1125 | -/// 预览大图界面底部 <code>完成</code> 按钮不可交互状态下标题颜色 | ||
1126 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewDoneBtnDisableTitleColorOfPreviewVC; | ||
1127 | -/// The normal state background color of bottom tool view buttons. | ||
1128 | -/// 相册小图界面底部按钮可交互状态下背景色 | ||
1129 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnNormalBgColor; | ||
1130 | -/// The normal state background color of bottom tool view buttons in preview interface. | ||
1131 | -/// 预览大图界面底部按钮可交互状态下背景色 | ||
1132 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnNormalBgColorOfPreviewVC; | ||
1133 | -/// The disable state background color of bottom tool view buttons. | ||
1134 | -/// 相册小图界面底部按钮不可交互状态下背景色 | ||
1135 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnDisableBgColor; | ||
1136 | -/// The disable state background color of bottom tool view buttons in preview interface. | ||
1137 | -/// 预览大图界面底部按钮不可交互状态下背景色 | ||
1138 | -@property (nonatomic, strong) UIColor * _Nonnull bottomToolViewBtnDisableBgColorOfPreviewVC; | ||
1139 | -/// With iOS14 limited authority, a color for select more photos at the bottom of the thumbnail interface. | ||
1140 | -/// iOS14 limited权限下,下方提示选择更多图片信息文字的颜色 | ||
1141 | -@property (nonatomic, strong) UIColor * _Nonnull selectMorePhotoWhenAuthIsLismitedTitleColor; | ||
1142 | -/// The record progress color of custom camera. | ||
1143 | -/// 自定义相机录制视频时进度条颜色 | ||
1144 | -@property (nonatomic, strong) UIColor * _Nonnull cameraRecodeProgressColor; | ||
1145 | -/// Mask layer color of selected cell. | ||
1146 | -/// 已选择照片上方遮罩阴影颜色 | ||
1147 | -@property (nonatomic, strong) UIColor * _Nonnull selectedMaskColor; | ||
1148 | -/// Border color of selected cell. | ||
1149 | -/// 已选择照片border颜色 | ||
1150 | -@property (nonatomic, strong) UIColor * _Nonnull selectedBorderColor; | ||
1151 | -/// Mask layer color of the cell that cannot be selected. | ||
1152 | -/// 不可选的照片上方遮罩阴影颜色 | ||
1153 | -@property (nonatomic, strong) UIColor * _Nonnull invalidMaskColor; | ||
1154 | -/// The text color of selected cell index label. | ||
1155 | -/// 已选照片右上角序号label背景色 | ||
1156 | -@property (nonatomic, strong) UIColor * _Nonnull indexLabelTextColor; | ||
1157 | -/// The background color of selected cell index label. | ||
1158 | -/// 已选照片右上角序号label背景色 | ||
1159 | -@property (nonatomic, strong) UIColor * _Nonnull indexLabelBgColor; | ||
1160 | -/// The background color of camera cell inside album. | ||
1161 | -/// 相册小图界面拍照按钮背景色 | ||
1162 | -@property (nonatomic, strong) UIColor * _Nonnull cameraCellBgColor; | ||
1163 | -/// The normal color of adjust slider. | ||
1164 | -/// 编辑图片,调整饱和度、对比度、亮度时,右侧slider背景色 | ||
1165 | -@property (nonatomic, strong) UIColor * _Nonnull adjustSliderNormalColor; | ||
1166 | -/// The tint color of adjust slider. | ||
1167 | -/// 编辑图片,调整饱和度、对比度、亮度时,右侧slider背景高亮色 | ||
1168 | -@property (nonatomic, strong) UIColor * _Nonnull adjustSliderTintColor; | ||
1169 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
1170 | -@end | ||
1171 | - | ||
1172 | -typedef SWIFT_ENUM(NSInteger, CancelButtonStyle, open) { | ||
1173 | - CancelButtonStyleText = 0, | ||
1174 | - CancelButtonStyleImage = 1, | ||
1175 | -}; | ||
1176 | - | ||
1177 | - | ||
1178 | - | ||
1179 | -SWIFT_CLASS("_TtC13HHPhotoPicker13ZLProgressHUD") | ||
1180 | -@interface ZLProgressHUD : UIView | ||
1181 | -- (nonnull instancetype)initWithStyle:(enum HUDStyle)style OBJC_DESIGNATED_INITIALIZER; | ||
1182 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; | ||
1183 | -- (void)showWithTimeout:(NSTimeInterval)timeout; | ||
1184 | -- (void)hide; | ||
1185 | -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; | ||
1186 | -@end | ||
1187 | - | ||
1188 | -typedef SWIFT_ENUM(NSInteger, HUDStyle, open) { | ||
1189 | - HUDStyleLight = 0, | ||
1190 | - HUDStyleLightBlur = 1, | ||
1191 | - HUDStyleDark = 2, | ||
1192 | - HUDStyleDarkBlur = 3, | ||
1193 | -}; | ||
1194 | - | ||
1195 | - | ||
1196 | -SWIFT_CLASS("_TtC13HHPhotoPicker18ZLTextStickerState") | ||
1197 | -@interface ZLTextStickerState : NSObject | ||
1198 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
1199 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
1200 | -@end | ||
1201 | - | ||
1202 | -typedef SWIFT_ENUM(NSInteger, ZLURLType, open) { | ||
1203 | - ZLURLTypeImage = 0, | ||
1204 | - ZLURLTypeVideo = 1, | ||
1205 | -}; | ||
1206 | - | ||
1207 | - | ||
1208 | -SWIFT_CLASS("_TtC13HHPhotoPicker14ZLVideoManager") | ||
1209 | -@interface ZLVideoManager : NSObject | ||
1210 | -/// 没有针对不同分辨率视频做处理,仅用于处理相机拍照的视频 | ||
1211 | -+ (void)mergeVideosWithFileUrls:(NSArray<NSURL *> * _Nonnull)fileUrls completion:(void (^ _Nonnull)(NSURL * _Nullable, NSError * _Nullable))completion; | ||
1212 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
1213 | -@end | ||
1214 | - | ||
1215 | - | ||
1216 | -@interface ZLVideoManager (SWIFT_EXTENSION(HHPhotoPicker)) | ||
1217 | -@end | ||
1218 | - | ||
1219 | -typedef SWIFT_ENUM(NSInteger, ExportType, open) { | ||
1220 | - ExportTypeMov = 0, | ||
1221 | - ExportTypeMp4 = 1, | ||
1222 | -}; | ||
1223 | - | ||
1224 | - | ||
1225 | -@interface ZLVideoManager (SWIFT_EXTENSION(HHPhotoPicker)) | ||
1226 | -+ (void)exportVideoFor:(PHAsset * _Nonnull)asset exportType:(enum ExportType)exportType presetName:(NSString * _Nonnull)presetName complete:(void (^ _Nonnull)(NSURL * _Nullable, NSError * _Nullable))complete; | ||
1227 | -+ (void)exportVideoFor:(AVAsset * _Nonnull)asset range:(CMTimeRange)range exportType:(enum ExportType)exportType presetName:(NSString * _Nonnull)presetName complete:(void (^ _Nonnull)(NSURL * _Nullable, NSError * _Nullable))complete; | ||
1228 | -@end | ||
1229 | - | ||
1230 | -#if __has_attribute(external_source_symbol) | ||
1231 | -# pragma clang attribute pop | ||
1232 | -#endif | ||
1233 | -#pragma clang diagnostic pop | ||
1234 | -#endif |
1 | -#ifdef __OBJC__ | ||
2 | -#import <UIKit/UIKit.h> | ||
3 | -#else | ||
4 | -#ifndef FOUNDATION_EXPORT | ||
5 | -#if defined(__cplusplus) | ||
6 | -#define FOUNDATION_EXPORT extern "C" | ||
7 | -#else | ||
8 | -#define FOUNDATION_EXPORT extern | ||
9 | -#endif | ||
10 | -#endif | ||
11 | -#endif | ||
12 | - | ||
13 | - | ||
14 | -FOUNDATION_EXPORT double HHPhotoPickerVersionNumber; | ||
15 | -FOUNDATION_EXPORT const unsigned char HHPhotoPickerVersionString[]; | ||
16 | - |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
1 | -// swift-interface-format-version: 1.0 | ||
2 | -// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57) | ||
3 | -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name HHPhotoPicker | ||
4 | -import AVFoundation | ||
5 | -import Accelerate | ||
6 | -import CoreMotion | ||
7 | -import Foundation | ||
8 | -@_exported import HHPhotoPicker | ||
9 | -import Photos | ||
10 | -import PhotosUI | ||
11 | -import Swift | ||
12 | -import UIKit | ||
13 | -public protocol HHPhotoPickerManagerDelegate { | ||
14 | - func selectImage(_ selectedImages: [UIKit.UIImage]) | ||
15 | - func cancelImage() | ||
16 | - func selectImageRequestError(_ errorAssets: [Photos.PHAsset], errorIndexs: [Swift.Int]) | ||
17 | -} | ||
18 | -@objc public class HHPhotoPickerManager : ObjectiveC.NSObject { | ||
19 | - public var viewDelegate: HHPhotoPicker.HHPhotoPickerManagerDelegate? | ||
20 | - public var photoConfigModel: HHPhotoPicker.HHPhotoConfigModel | ||
21 | - public var photoUIConfigModel: HHPhotoPicker.HHPhotoUIConfigModel | ||
22 | - required public init(showVC: UIKit.UIViewController) | ||
23 | - public func showImagePicker() | ||
24 | - @objc override dynamic public init() | ||
25 | - @objc deinit | ||
26 | -} | ||
27 | -@objc @_inheritsConvenienceInitializers public class HHPhotoConfigModel : ObjectiveC.NSObject { | ||
28 | - public var maxPreviewCount: Swift.Int | ||
29 | - public var maxSelectCount: Swift.Int { | ||
30 | - get | ||
31 | - set(newValue) | ||
32 | - } | ||
33 | - public var minVideoSelectCount: Swift.Int { | ||
34 | - get | ||
35 | - set(newValue) | ||
36 | - } | ||
37 | - public var maxVideoSelectCount: Swift.Int { | ||
38 | - get | ||
39 | - set(newValue) | ||
40 | - } | ||
41 | - public var minSelectVideoDuration: Swift.Int | ||
42 | - public var maxSelectVideoDuration: Swift.Int | ||
43 | - public var cellCornerRadio: CoreGraphics.CGFloat | ||
44 | - public var languageType: HHPhotoPicker.ZLLanguageType { | ||
45 | - get | ||
46 | - set(value) | ||
47 | - } | ||
48 | - public var columnCount: Swift.Int { | ||
49 | - get | ||
50 | - set(newValue) | ||
51 | - } | ||
52 | - public var sortAscending: Swift.Bool | ||
53 | - public var allowSelectImage: Swift.Bool | ||
54 | - public var allowTakePhotoInLibrary: Swift.Bool | ||
55 | - public var allowSelectOriginal: Swift.Bool | ||
56 | - public var allowSelectGif: Swift.Bool | ||
57 | - public var allowSelectVideo: Swift.Bool | ||
58 | - public var allowSelectLivePhoto: Swift.Bool | ||
59 | - public var allowEditImage: Swift.Bool | ||
60 | - public var allowMixSelect: Swift.Bool | ||
61 | - public var allowPreviewPhotos: Swift.Bool | ||
62 | - public var editImageWithDraw: Swift.Bool | ||
63 | - public var editImageWithClip: Swift.Bool | ||
64 | - public var editImageWithImageSticker: Swift.Bool | ||
65 | - public var editImageWithTextSticker: Swift.Bool | ||
66 | - public var editImageWithMosaic: Swift.Bool | ||
67 | - public var editImageWithFilter: Swift.Bool | ||
68 | - public var editImageWithAdjust: Swift.Bool | ||
69 | - public var editImageWitAdjustBrightness: Swift.Bool | ||
70 | - public var editImageWitAdjustContrast: Swift.Bool | ||
71 | - public var editImageWitAdjustSaturation: Swift.Bool | ||
72 | - public var shouldAnialysisAsset: Swift.Bool | ||
73 | - public var allowEditVideo: Swift.Bool { | ||
74 | - get | ||
75 | - set(newValue) | ||
76 | - } | ||
77 | - public var saveNewImageAfterEdit: Swift.Bool | ||
78 | - public var allowDragSelect: Swift.Bool | ||
79 | - public var allowSlideSelect: Swift.Bool | ||
80 | - public var autoScrollWhenSlideSelectIsActive: Swift.Bool | ||
81 | - public var autoScrollMaxSpeed: CoreGraphics.CGFloat | ||
82 | - public var showCaptureImageOnTakePhotoBtn: Swift.Bool | ||
83 | - public var showSelectedIndex: Swift.Bool | ||
84 | - public var showSelectedMask: Swift.Bool | ||
85 | - public var showSelectedBorder: Swift.Bool | ||
86 | - public var showInvalidMask: Swift.Bool | ||
87 | - public var useCustomCamera: Swift.Bool | ||
88 | - public var flashMode: HHPhotoPicker.ZLCameraConfiguration.FlashMode | ||
89 | - @objc override dynamic public init() | ||
90 | - @objc deinit | ||
91 | -} | ||
92 | -@objc @_inheritsConvenienceInitializers public class HHPhotoUIConfigModel : ObjectiveC.NSObject { | ||
93 | - public var style: HHPhotoPicker.ZLPhotoBrowserStyle | ||
94 | - public var bottomToolViewBtnNormalBgColor: UIKit.UIColor | ||
95 | - public var bottomToolViewBtnNormalBgColorOfPreviewVC: UIKit.UIColor | ||
96 | - @objc public var indexLabelBgColor: UIKit.UIColor | ||
97 | - @objc override dynamic public init() | ||
98 | - @objc deinit | ||
99 | -} | ||
100 | -@objc public class ZLAlbumListModel : ObjectiveC.NSObject { | ||
101 | - final public let title: Swift.String | ||
102 | - public var count: Swift.Int { | ||
103 | - get | ||
104 | - } | ||
105 | - public var result: Photos.PHFetchResult<Photos.PHAsset> | ||
106 | - final public let collection: Photos.PHAssetCollection | ||
107 | - final public let option: Photos.PHFetchOptions | ||
108 | - final public let isCameraRoll: Swift.Bool | ||
109 | - public var headImageAsset: Photos.PHAsset? { | ||
110 | - get | ||
111 | - } | ||
112 | - public var models: [HHPhotoPicker.ZLPhotoModel] | ||
113 | - public init(title: Swift.String, result: Photos.PHFetchResult<Photos.PHAsset>, collection: Photos.PHAssetCollection, option: Photos.PHFetchOptions, isCameraRoll: Swift.Bool) | ||
114 | - public func refetchPhotos() | ||
115 | - @objc override dynamic public init() | ||
116 | - @objc deinit | ||
117 | -} | ||
118 | -@objc @_inheritsConvenienceInitializers public class ZLCameraConfiguration : ObjectiveC.NSObject { | ||
119 | - @objc public enum CaptureSessionPreset : Swift.Int { | ||
120 | - case cif352x288 | ||
121 | - case vga640x480 | ||
122 | - case hd1280x720 | ||
123 | - case hd1920x1080 | ||
124 | - case hd4K3840x2160 | ||
125 | - public init?(rawValue: Swift.Int) | ||
126 | - public typealias RawValue = Swift.Int | ||
127 | - public var rawValue: Swift.Int { | ||
128 | - get | ||
129 | - } | ||
130 | - } | ||
131 | - @objc public enum FocusMode : Swift.Int { | ||
132 | - case autoFocus | ||
133 | - case continuousAutoFocus | ||
134 | - public init?(rawValue: Swift.Int) | ||
135 | - public typealias RawValue = Swift.Int | ||
136 | - public var rawValue: Swift.Int { | ||
137 | - get | ||
138 | - } | ||
139 | - } | ||
140 | - @objc public enum ExposureMode : Swift.Int { | ||
141 | - case autoExpose | ||
142 | - case continuousAutoExposure | ||
143 | - public init?(rawValue: Swift.Int) | ||
144 | - public typealias RawValue = Swift.Int | ||
145 | - public var rawValue: Swift.Int { | ||
146 | - get | ||
147 | - } | ||
148 | - } | ||
149 | - @objc public enum FlashMode : Swift.Int { | ||
150 | - case auto | ||
151 | - case on | ||
152 | - case off | ||
153 | - public init?(rawValue: Swift.Int) | ||
154 | - public typealias RawValue = Swift.Int | ||
155 | - public var rawValue: Swift.Int { | ||
156 | - get | ||
157 | - } | ||
158 | - } | ||
159 | - @objc public enum VideoExportType : Swift.Int { | ||
160 | - case mov | ||
161 | - case mp4 | ||
162 | - public init?(rawValue: Swift.Int) | ||
163 | - public typealias RawValue = Swift.Int | ||
164 | - public var rawValue: Swift.Int { | ||
165 | - get | ||
166 | - } | ||
167 | - } | ||
168 | - @objc public var sessionPreset: HHPhotoPicker.ZLCameraConfiguration.CaptureSessionPreset | ||
169 | - @objc public var focusMode: HHPhotoPicker.ZLCameraConfiguration.FocusMode | ||
170 | - @objc public var exposureMode: HHPhotoPicker.ZLCameraConfiguration.ExposureMode | ||
171 | - @objc public var flashMode: HHPhotoPicker.ZLCameraConfiguration.FlashMode | ||
172 | - @objc public var videoExportType: HHPhotoPicker.ZLCameraConfiguration.VideoExportType | ||
173 | - @objc override dynamic public init() | ||
174 | - @objc deinit | ||
175 | -} | ||
176 | -extension ZLCameraConfiguration { | ||
177 | - @discardableResult | ||
178 | - public func sessionPreset(_ sessionPreset: HHPhotoPicker.ZLCameraConfiguration.CaptureSessionPreset) -> HHPhotoPicker.ZLCameraConfiguration | ||
179 | - @discardableResult | ||
180 | - public func focusMode(_ mode: HHPhotoPicker.ZLCameraConfiguration.FocusMode) -> HHPhotoPicker.ZLCameraConfiguration | ||
181 | - @discardableResult | ||
182 | - public func exposureMode(_ mode: HHPhotoPicker.ZLCameraConfiguration.ExposureMode) -> HHPhotoPicker.ZLCameraConfiguration | ||
183 | - @discardableResult | ||
184 | - public func flashMode(_ mode: HHPhotoPicker.ZLCameraConfiguration.FlashMode) -> HHPhotoPicker.ZLCameraConfiguration | ||
185 | - @discardableResult | ||
186 | - public func videoExportType(_ type: HHPhotoPicker.ZLCameraConfiguration.VideoExportType) -> HHPhotoPicker.ZLCameraConfiguration | ||
187 | -} | ||
188 | -@objc open class ZLCustomCamera : UIKit.UIViewController, QuartzCore.CAAnimationDelegate { | ||
189 | - @objc public var takeDoneBlock: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)? | ||
190 | - @objc public var cancelBlock: (() -> Swift.Void)? | ||
191 | - public var tipsLabel: UIKit.UILabel { | ||
192 | - get | ||
193 | - set(value) | ||
194 | - } | ||
195 | - public var bottomView: UIKit.UIView { | ||
196 | - get | ||
197 | - set(value) | ||
198 | - } | ||
199 | - public var largeCircleView: UIKit.UIVisualEffectView { | ||
200 | - get | ||
201 | - set(value) | ||
202 | - } | ||
203 | - public var smallCircleView: UIKit.UIView { | ||
204 | - get | ||
205 | - set(value) | ||
206 | - } | ||
207 | - public var animateLayer: QuartzCore.CAShapeLayer { | ||
208 | - get | ||
209 | - set(value) | ||
210 | - } | ||
211 | - public var retakeBtn: HHPhotoPicker.ZLEnlargeButton { | ||
212 | - get | ||
213 | - set(value) | ||
214 | - } | ||
215 | - public var doneBtn: UIKit.UIButton { | ||
216 | - get | ||
217 | - set(value) | ||
218 | - } | ||
219 | - public var dismissBtn: HHPhotoPicker.ZLEnlargeButton { | ||
220 | - get | ||
221 | - set(value) | ||
222 | - } | ||
223 | - public var switchCameraBtn: HHPhotoPicker.ZLEnlargeButton { | ||
224 | - get | ||
225 | - set(value) | ||
226 | - } | ||
227 | - public var focusCursorView: UIKit.UIImageView { | ||
228 | - get | ||
229 | - set(value) | ||
230 | - } | ||
231 | - public var takedImageView: UIKit.UIImageView { | ||
232 | - get | ||
233 | - set(value) | ||
234 | - } | ||
235 | - @objc override dynamic public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask { | ||
236 | - @objc get | ||
237 | - } | ||
238 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
239 | - @objc get | ||
240 | - } | ||
241 | - @objc deinit | ||
242 | - @objc dynamic public init() | ||
243 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
244 | - @objc override dynamic open func viewDidLoad() | ||
245 | - @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool) | ||
246 | - @objc override dynamic open func viewDidAppear(_ animated: Swift.Bool) | ||
247 | - @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool) | ||
248 | - @objc override dynamic open func viewDidDisappear(_ animated: Swift.Bool) | ||
249 | - @objc override dynamic open func viewDidLayoutSubviews() | ||
250 | - @objc public func animationDidStop(_ anim: QuartzCore.CAAnimation, finished flag: Swift.Bool) | ||
251 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
252 | -} | ||
253 | -extension ZLCustomCamera : AVFoundation.AVCapturePhotoCaptureDelegate { | ||
254 | - @objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings) | ||
255 | - @objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, didFinishProcessingPhoto photoSampleBuffer: CoreMedia.CMSampleBuffer?, previewPhoto previewPhotoSampleBuffer: CoreMedia.CMSampleBuffer?, resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings, bracketSettings: AVFoundation.AVCaptureBracketedStillImageSettings?, error: Swift.Error?) | ||
256 | -} | ||
257 | -extension ZLCustomCamera : AVFoundation.AVCaptureFileOutputRecordingDelegate { | ||
258 | - @objc dynamic public func fileOutput(_ output: AVFoundation.AVCaptureFileOutput, didStartRecordingTo fileURL: Foundation.URL, from connections: [AVFoundation.AVCaptureConnection]) | ||
259 | - @objc dynamic public func fileOutput(_ output: AVFoundation.AVCaptureFileOutput, didFinishRecordingTo outputFileURL: Foundation.URL, from connections: [AVFoundation.AVCaptureConnection], error: Swift.Error?) | ||
260 | -} | ||
261 | -extension ZLCustomCamera : UIKit.UIGestureRecognizerDelegate { | ||
262 | - @objc dynamic public func gestureRecognizer(_ gestureRecognizer: UIKit.UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
263 | -} | ||
264 | -@objc public protocol ZLImageStickerContainerDelegate { | ||
265 | - @objc var selectImageBlock: ((UIKit.UIImage) -> Swift.Void)? { get set } | ||
266 | - @objc var hideBlock: (() -> Swift.Void)? { get set } | ||
267 | - @objc func show(in view: UIKit.UIView) | ||
268 | -} | ||
269 | -@objc @_inheritsConvenienceInitializers public class ZLEditImageConfiguration : ObjectiveC.NSObject { | ||
270 | - @objc public enum EditTool : Swift.Int, Swift.CaseIterable { | ||
271 | - case draw | ||
272 | - case clip | ||
273 | - case imageSticker | ||
274 | - case textSticker | ||
275 | - case mosaic | ||
276 | - case filter | ||
277 | - case adjust | ||
278 | - public init?(rawValue: Swift.Int) | ||
279 | - public typealias AllCases = [HHPhotoPicker.ZLEditImageConfiguration.EditTool] | ||
280 | - public typealias RawValue = Swift.Int | ||
281 | - public static var allCases: [HHPhotoPicker.ZLEditImageConfiguration.EditTool] { | ||
282 | - get | ||
283 | - } | ||
284 | - public var rawValue: Swift.Int { | ||
285 | - get | ||
286 | - } | ||
287 | - } | ||
288 | - @objc public enum AdjustTool : Swift.Int, Swift.CaseIterable { | ||
289 | - case brightness | ||
290 | - case contrast | ||
291 | - case saturation | ||
292 | - public init?(rawValue: Swift.Int) | ||
293 | - public typealias AllCases = [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool] | ||
294 | - public typealias RawValue = Swift.Int | ||
295 | - public static var allCases: [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool] { | ||
296 | - get | ||
297 | - } | ||
298 | - public var rawValue: Swift.Int { | ||
299 | - get | ||
300 | - } | ||
301 | - } | ||
302 | - public var tools: [HHPhotoPicker.ZLEditImageConfiguration.EditTool] { | ||
303 | - get | ||
304 | - set(newValue) | ||
305 | - } | ||
306 | - @objc public var tools_objc: [Swift.Int] { | ||
307 | - @objc get | ||
308 | - @objc set(value) | ||
309 | - } | ||
310 | - @objc public var drawColors: [UIKit.UIColor] { | ||
311 | - @objc get | ||
312 | - @objc set(newValue) | ||
313 | - } | ||
314 | - @objc public var defaultDrawColor: UIKit.UIColor | ||
315 | - @objc public var clipRatios: [HHPhotoPicker.ZLImageClipRatio] { | ||
316 | - @objc get | ||
317 | - @objc set(newValue) | ||
318 | - } | ||
319 | - @objc public var textStickerTextColors: [UIKit.UIColor] { | ||
320 | - @objc get | ||
321 | - @objc set(newValue) | ||
322 | - } | ||
323 | - @objc public var textStickerDefaultTextColor: UIKit.UIColor | ||
324 | - @objc public var filters: [HHPhotoPicker.ZLFilter] { | ||
325 | - @objc get | ||
326 | - @objc set(newValue) | ||
327 | - } | ||
328 | - @objc public var imageStickerContainerView: (UIKit.UIView & HHPhotoPicker.ZLImageStickerContainerDelegate)? | ||
329 | - public var adjustTools: [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool] { | ||
330 | - get | ||
331 | - set(newValue) | ||
332 | - } | ||
333 | - @objc public var adjustTools_objc: [Swift.Int] { | ||
334 | - @objc get | ||
335 | - @objc set(value) | ||
336 | - } | ||
337 | - @objc public var impactFeedbackWhenAdjustSliderValueIsZero: Swift.Bool | ||
338 | - @objc public var impactFeedbackStyle: UIKit.UIImpactFeedbackGenerator.FeedbackStyle | ||
339 | - @objc override dynamic public init() | ||
340 | - @objc deinit | ||
341 | -} | ||
342 | -extension ZLEditImageConfiguration { | ||
343 | - @discardableResult | ||
344 | - public func tools(_ tools: [HHPhotoPicker.ZLEditImageConfiguration.EditTool]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
345 | - @discardableResult | ||
346 | - public func drawColors(_ colors: [UIKit.UIColor]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
347 | - public func defaultDrawColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLEditImageConfiguration | ||
348 | - @discardableResult | ||
349 | - public func clipRatios(_ ratios: [HHPhotoPicker.ZLImageClipRatio]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
350 | - @discardableResult | ||
351 | - public func textStickerTextColors(_ colors: [UIKit.UIColor]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
352 | - @discardableResult | ||
353 | - public func textStickerDefaultTextColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLEditImageConfiguration | ||
354 | - @discardableResult | ||
355 | - public func filters(_ filters: [HHPhotoPicker.ZLFilter]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
356 | - @discardableResult | ||
357 | - public func imageStickerContainerView(_ view: (UIKit.UIView & HHPhotoPicker.ZLImageStickerContainerDelegate)?) -> HHPhotoPicker.ZLEditImageConfiguration | ||
358 | - @discardableResult | ||
359 | - public func adjustTools(_ tools: [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
360 | - @discardableResult | ||
361 | - public func impactFeedbackWhenAdjustSliderValueIsZero(_ value: Swift.Bool) -> HHPhotoPicker.ZLEditImageConfiguration | ||
362 | - @discardableResult | ||
363 | - public func impactFeedbackStyle(_ style: UIKit.UIImpactFeedbackGenerator.FeedbackStyle) -> HHPhotoPicker.ZLEditImageConfiguration | ||
364 | -} | ||
365 | -@objc public class ZLImageClipRatio : ObjectiveC.NSObject { | ||
366 | - public var title: Swift.String | ||
367 | - final public let whRatio: CoreGraphics.CGFloat | ||
368 | - @objc public init(title: Swift.String, whRatio: CoreGraphics.CGFloat, isCircle: Swift.Bool = false) | ||
369 | - @objc override dynamic public init() | ||
370 | - @objc deinit | ||
371 | -} | ||
372 | -extension ZLImageClipRatio { | ||
373 | - @objc public static var custom: HHPhotoPicker.ZLImageClipRatio | ||
374 | - @objc public static var circle: HHPhotoPicker.ZLImageClipRatio | ||
375 | - @objc public static var wh1x1: HHPhotoPicker.ZLImageClipRatio | ||
376 | - @objc public static var wh3x4: HHPhotoPicker.ZLImageClipRatio | ||
377 | - @objc public static var wh4x3: HHPhotoPicker.ZLImageClipRatio | ||
378 | - @objc public static var wh2x3: HHPhotoPicker.ZLImageClipRatio | ||
379 | - @objc public static var wh3x2: HHPhotoPicker.ZLImageClipRatio | ||
380 | - @objc public static var wh9x16: HHPhotoPicker.ZLImageClipRatio | ||
381 | - @objc public static var wh16x9: HHPhotoPicker.ZLImageClipRatio | ||
382 | -} | ||
383 | -@objc public class ZLEditImageModel : ObjectiveC.NSObject { | ||
384 | - final public let drawPaths: [HHPhotoPicker.ZLDrawPath] | ||
385 | - final public let mosaicPaths: [HHPhotoPicker.ZLMosaicPath] | ||
386 | - final public let editRect: CoreGraphics.CGRect? | ||
387 | - final public let angle: CoreGraphics.CGFloat | ||
388 | - final public let brightness: Swift.Float | ||
389 | - final public let contrast: Swift.Float | ||
390 | - final public let saturation: Swift.Float | ||
391 | - final public let selectRatio: HHPhotoPicker.ZLImageClipRatio? | ||
392 | - final public let selectFilter: HHPhotoPicker.ZLFilter? | ||
393 | - final public let textStickers: [(state: HHPhotoPicker.ZLTextStickerState, index: Swift.Int)]? | ||
394 | - final public let imageStickers: [(state: HHPhotoPicker.ZLImageStickerState, index: Swift.Int)]? | ||
395 | - public init(drawPaths: [HHPhotoPicker.ZLDrawPath], mosaicPaths: [HHPhotoPicker.ZLMosaicPath], editRect: CoreGraphics.CGRect?, angle: CoreGraphics.CGFloat, brightness: Swift.Float, contrast: Swift.Float, saturation: Swift.Float, selectRatio: HHPhotoPicker.ZLImageClipRatio?, selectFilter: HHPhotoPicker.ZLFilter, textStickers: [(state: HHPhotoPicker.ZLTextStickerState, index: Swift.Int)]?, imageStickers: [(state: HHPhotoPicker.ZLImageStickerState, index: Swift.Int)]?) | ||
396 | - @objc override dynamic public init() | ||
397 | - @objc deinit | ||
398 | -} | ||
399 | -@objc open class ZLEditImageViewController : UIKit.UIViewController { | ||
400 | - @objc public var drawColViewH: CoreGraphics.CGFloat | ||
401 | - @objc public var filterColViewH: CoreGraphics.CGFloat | ||
402 | - @objc public var adjustColViewH: CoreGraphics.CGFloat | ||
403 | - @objc public var ashbinNormalBgColor: UIKit.UIColor | ||
404 | - @objc public var cancelBtn: HHPhotoPicker.ZLEnlargeButton { | ||
405 | - @objc get | ||
406 | - @objc set(value) | ||
407 | - } | ||
408 | - @objc public var mainScrollView: UIKit.UIScrollView { | ||
409 | - @objc get | ||
410 | - @objc set(value) | ||
411 | - } | ||
412 | - @objc public var topShadowView: UIKit.UIView { | ||
413 | - @objc get | ||
414 | - @objc set(value) | ||
415 | - } | ||
416 | - @objc public var topShadowLayer: QuartzCore.CAGradientLayer { | ||
417 | - @objc get | ||
418 | - @objc set(value) | ||
419 | - } | ||
420 | - @objc public var bottomShadowView: UIKit.UIView | ||
421 | - @objc public var bottomShadowLayer: QuartzCore.CAGradientLayer | ||
422 | - @objc public var doneBtn: UIKit.UIButton | ||
423 | - @objc public var revokeBtn: UIKit.UIButton | ||
424 | - @objc public var ashbinView: UIKit.UIView { | ||
425 | - @objc get | ||
426 | - @objc set(value) | ||
427 | - } | ||
428 | - @objc public var ashbinImgView: UIKit.UIImageView { | ||
429 | - @objc get | ||
430 | - @objc set(value) | ||
431 | - } | ||
432 | - @objc public var drawLineWidth: CoreGraphics.CGFloat | ||
433 | - @objc public var mosaicLineWidth: CoreGraphics.CGFloat | ||
434 | - @objc public var editFinishBlock: ((UIKit.UIImage, HHPhotoPicker.ZLEditImageModel?) -> Swift.Void)? | ||
435 | - @objc public var cancelEditBlock: (() -> Swift.Void)? | ||
436 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
437 | - @objc get | ||
438 | - } | ||
439 | - @objc override dynamic public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask { | ||
440 | - @objc get | ||
441 | - } | ||
442 | - @objc deinit | ||
443 | - @objc public class func showEditImageVC(parentVC: UIKit.UIViewController?, animate: Swift.Bool = false, image: UIKit.UIImage, editModel: HHPhotoPicker.ZLEditImageModel? = nil, cancel: (() -> Swift.Void)? = nil, completion: ((UIKit.UIImage, HHPhotoPicker.ZLEditImageModel?) -> Swift.Void)?) | ||
444 | - @objc public init(image: UIKit.UIImage, editModel: HHPhotoPicker.ZLEditImageModel? = nil) | ||
445 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
446 | - @objc override dynamic open func viewDidLoad() | ||
447 | - @objc override dynamic open func viewDidLayoutSubviews() | ||
448 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
449 | -} | ||
450 | -extension ZLEditImageViewController : UIKit.UIGestureRecognizerDelegate { | ||
451 | - @objc dynamic public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
452 | -} | ||
453 | -extension ZLEditImageViewController : UIKit.UIScrollViewDelegate { | ||
454 | - @objc dynamic public func viewForZooming(in scrollView: UIKit.UIScrollView) -> UIKit.UIView? | ||
455 | - @objc dynamic public func scrollViewDidZoom(_ scrollView: UIKit.UIScrollView) | ||
456 | - @objc dynamic public func scrollViewDidEndZooming(_ scrollView: UIKit.UIScrollView, with view: UIKit.UIView?, atScale scale: CoreGraphics.CGFloat) | ||
457 | - @objc dynamic public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView) | ||
458 | - @objc dynamic public func scrollViewDidEndDragging(_ scrollView: UIKit.UIScrollView, willDecelerate decelerate: Swift.Bool) | ||
459 | - @objc dynamic public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView) | ||
460 | - @objc dynamic public func scrollViewDidEndScrollingAnimation(_ scrollView: UIKit.UIScrollView) | ||
461 | -} | ||
462 | -extension ZLEditImageViewController : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate { | ||
463 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
464 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
465 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, didSelectItemAt indexPath: Foundation.IndexPath) | ||
466 | -} | ||
467 | -@objc @_hasMissingDesignatedInitializers public class ZLDrawPath : ObjectiveC.NSObject { | ||
468 | - @objc override dynamic public init() | ||
469 | - @objc deinit | ||
470 | -} | ||
471 | -@objc @_hasMissingDesignatedInitializers public class ZLMosaicPath : ObjectiveC.NSObject { | ||
472 | - @objc override dynamic public init() | ||
473 | - @objc deinit | ||
474 | -} | ||
475 | -@objc @_hasMissingDesignatedInitializers public class ZLEditVideoViewController : UIKit.UIViewController { | ||
476 | - @objc public var editFinishBlock: ((Foundation.URL?) -> Swift.Void)? | ||
477 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
478 | - @objc get | ||
479 | - } | ||
480 | - @objc override dynamic public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask { | ||
481 | - @objc get | ||
482 | - } | ||
483 | - @objc deinit | ||
484 | - @objc public init(avAsset: AVFoundation.AVAsset, animateDismiss: Swift.Bool = false) | ||
485 | - @objc override dynamic public func viewDidLoad() | ||
486 | - @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) | ||
487 | - @objc override dynamic public func viewDidLayoutSubviews() | ||
488 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
489 | -} | ||
490 | -extension ZLEditVideoViewController : UIKit.UIGestureRecognizerDelegate { | ||
491 | - @objc dynamic public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
492 | -} | ||
493 | -extension ZLEditVideoViewController : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegateFlowLayout { | ||
494 | - @objc dynamic public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView) | ||
495 | - @objc dynamic public func scrollViewDidEndDragging(_ scrollView: UIKit.UIScrollView, willDecelerate decelerate: Swift.Bool) | ||
496 | - @objc dynamic public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView) | ||
497 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, insetForSectionAt section: Swift.Int) -> UIKit.UIEdgeInsets | ||
498 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
499 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
500 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
501 | -} | ||
502 | -@objc @_inheritsConvenienceInitializers public class ZLEnlargeButton : UIKit.UIButton { | ||
503 | - public var enlargeInsets: UIKit.UIEdgeInsets | ||
504 | - public var enlargeInset: CoreGraphics.CGFloat { | ||
505 | - get | ||
506 | - set(value) | ||
507 | - } | ||
508 | - @objc override dynamic public func point(inside point: CoreGraphics.CGPoint, with event: UIKit.UIEvent?) -> Swift.Bool | ||
509 | - @objc override dynamic public init(frame: CoreGraphics.CGRect) | ||
510 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
511 | - @objc deinit | ||
512 | -} | ||
513 | -public typealias ZLFilterApplierType = ((UIKit.UIImage) -> UIKit.UIImage) | ||
514 | -@objc public enum ZLFilterType : Swift.Int { | ||
515 | - case normal | ||
516 | - case chrome | ||
517 | - case fade | ||
518 | - case instant | ||
519 | - case process | ||
520 | - case transfer | ||
521 | - case tone | ||
522 | - case linear | ||
523 | - case sepia | ||
524 | - case mono | ||
525 | - case noir | ||
526 | - case tonal | ||
527 | - public init?(rawValue: Swift.Int) | ||
528 | - public typealias RawValue = Swift.Int | ||
529 | - public var rawValue: Swift.Int { | ||
530 | - get | ||
531 | - } | ||
532 | -} | ||
533 | -@objc public class ZLFilter : ObjectiveC.NSObject { | ||
534 | - public var name: Swift.String | ||
535 | - @objc public init(name: Swift.String, filterType: HHPhotoPicker.ZLFilterType) | ||
536 | - @objc public init(name: Swift.String, applier: HHPhotoPicker.ZLFilterApplierType?) | ||
537 | - @objc override dynamic public init() | ||
538 | - @objc deinit | ||
539 | -} | ||
540 | -extension ZLFilter { | ||
541 | - @objc public static var all: [HHPhotoPicker.ZLFilter] | ||
542 | - @objc public static var normal: HHPhotoPicker.ZLFilter | ||
543 | - @objc public static var clarendon: HHPhotoPicker.ZLFilter | ||
544 | - @objc public static var nashville: HHPhotoPicker.ZLFilter | ||
545 | - @objc public static var apply1977: HHPhotoPicker.ZLFilter | ||
546 | - @objc public static var toaster: HHPhotoPicker.ZLFilter | ||
547 | - @objc public static var chrome: HHPhotoPicker.ZLFilter | ||
548 | - @objc public static var fade: HHPhotoPicker.ZLFilter | ||
549 | - @objc public static var instant: HHPhotoPicker.ZLFilter | ||
550 | - @objc public static var process: HHPhotoPicker.ZLFilter | ||
551 | - @objc public static var transfer: HHPhotoPicker.ZLFilter | ||
552 | - @objc public static var tone: HHPhotoPicker.ZLFilter | ||
553 | - @objc public static var linear: HHPhotoPicker.ZLFilter | ||
554 | - @objc public static var sepia: HHPhotoPicker.ZLFilter | ||
555 | - @objc public static var mono: HHPhotoPicker.ZLFilter | ||
556 | - @objc public static var noir: HHPhotoPicker.ZLFilter | ||
557 | - @objc public static var tonal: HHPhotoPicker.ZLFilter | ||
558 | -} | ||
559 | -@objc public enum ZLURLType : Swift.Int { | ||
560 | - case image | ||
561 | - case video | ||
562 | - public init?(rawValue: Swift.Int) | ||
563 | - public typealias RawValue = Swift.Int | ||
564 | - public var rawValue: Swift.Int { | ||
565 | - get | ||
566 | - } | ||
567 | -} | ||
568 | -@objc @_hasMissingDesignatedInitializers public class ZLImagePreviewController : UIKit.UIViewController { | ||
569 | - @objc public var longPressBlock: ((HHPhotoPicker.ZLImagePreviewController?, UIKit.UIImage?, Swift.Int) -> Swift.Void)? | ||
570 | - @objc public var doneBlock: (([Any]) -> Swift.Void)? | ||
571 | - @objc public var videoHttpHeader: [Swift.String : Any]? | ||
572 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
573 | - @objc get | ||
574 | - } | ||
575 | - @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { | ||
576 | - @objc get | ||
577 | - } | ||
578 | - @objc public init(datas: [Any], index: Swift.Int = 0, showSelectBtn: Swift.Bool = true, showBottomView: Swift.Bool = true, urlType: ((Foundation.URL) -> HHPhotoPicker.ZLURLType)? = nil, urlImageLoader: ((Foundation.URL, UIKit.UIImageView, @escaping (CoreGraphics.CGFloat) -> Swift.Void, @escaping () -> Swift.Void) -> Swift.Void)? = nil) | ||
579 | - @objc override dynamic public func viewDidLoad() | ||
580 | - @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) | ||
581 | - @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) | ||
582 | - @objc override dynamic public func viewDidLayoutSubviews() | ||
583 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
584 | - @objc deinit | ||
585 | -} | ||
586 | -extension ZLImagePreviewController { | ||
587 | - @objc dynamic public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView) | ||
588 | - @objc dynamic public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView) | ||
589 | -} | ||
590 | -extension ZLImagePreviewController : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegateFlowLayout { | ||
591 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Swift.Int) -> CoreGraphics.CGFloat | ||
592 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, minimumLineSpacingForSectionAt section: Swift.Int) -> CoreGraphics.CGFloat | ||
593 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, insetForSectionAt section: Swift.Int) -> UIKit.UIEdgeInsets | ||
594 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, sizeForItemAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGSize | ||
595 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
596 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
597 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, didEndDisplaying cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
598 | -} | ||
599 | -@objc @_hasMissingDesignatedInitializers public class ZLImageStickerState : ObjectiveC.NSObject { | ||
600 | - @objc override dynamic public init() | ||
601 | - @objc deinit | ||
602 | -} | ||
603 | -@objc public enum ZLLanguageType : Swift.Int { | ||
604 | - case system | ||
605 | - case chineseSimplified | ||
606 | - case chineseTraditional | ||
607 | - case english | ||
608 | - case japanese | ||
609 | - case french | ||
610 | - case german | ||
611 | - case russian | ||
612 | - case vietnamese | ||
613 | - case korean | ||
614 | - case malay | ||
615 | - case italian | ||
616 | - case indonesian | ||
617 | - case portuguese | ||
618 | - case spanish | ||
619 | - case turkish | ||
620 | - public init?(rawValue: Swift.Int) | ||
621 | - public typealias RawValue = Swift.Int | ||
622 | - public var rawValue: Swift.Int { | ||
623 | - get | ||
624 | - } | ||
625 | -} | ||
626 | -public struct ZLLocalLanguageKey : Swift.Hashable { | ||
627 | - public let rawValue: Swift.String | ||
628 | - public init(rawValue: Swift.String) | ||
629 | - public static var previewCamera: HHPhotoPicker.ZLLocalLanguageKey | ||
630 | - public static var previewCameraRecord: HHPhotoPicker.ZLLocalLanguageKey | ||
631 | - public static var previewAlbum: HHPhotoPicker.ZLLocalLanguageKey | ||
632 | - public static var cancel: HHPhotoPicker.ZLLocalLanguageKey | ||
633 | - public static var noPhotoTips: HHPhotoPicker.ZLLocalLanguageKey | ||
634 | - public static var loading: HHPhotoPicker.ZLLocalLanguageKey | ||
635 | - public static var hudLoading: HHPhotoPicker.ZLLocalLanguageKey | ||
636 | - public static var done: HHPhotoPicker.ZLLocalLanguageKey | ||
637 | - public static var ok: HHPhotoPicker.ZLLocalLanguageKey | ||
638 | - public static var timeout: HHPhotoPicker.ZLLocalLanguageKey | ||
639 | - public static var noPhotoLibratyAuthority: HHPhotoPicker.ZLLocalLanguageKey | ||
640 | - public static var noCameraAuthority: HHPhotoPicker.ZLLocalLanguageKey | ||
641 | - public static var noMicrophoneAuthority: HHPhotoPicker.ZLLocalLanguageKey | ||
642 | - public static var cameraUnavailable: HHPhotoPicker.ZLLocalLanguageKey | ||
643 | - public static var keepRecording: HHPhotoPicker.ZLLocalLanguageKey | ||
644 | - public static var gotoSettings: HHPhotoPicker.ZLLocalLanguageKey | ||
645 | - public static var photo: HHPhotoPicker.ZLLocalLanguageKey | ||
646 | - public static var originalPhoto: HHPhotoPicker.ZLLocalLanguageKey | ||
647 | - public static var back: HHPhotoPicker.ZLLocalLanguageKey | ||
648 | - public static var edit: HHPhotoPicker.ZLLocalLanguageKey | ||
649 | - public static var editFinish: HHPhotoPicker.ZLLocalLanguageKey | ||
650 | - public static var revert: HHPhotoPicker.ZLLocalLanguageKey | ||
651 | - public static var brightness: HHPhotoPicker.ZLLocalLanguageKey | ||
652 | - public static var contrast: HHPhotoPicker.ZLLocalLanguageKey | ||
653 | - public static var saturation: HHPhotoPicker.ZLLocalLanguageKey | ||
654 | - public static var preview: HHPhotoPicker.ZLLocalLanguageKey | ||
655 | - public static var notAllowMixSelect: HHPhotoPicker.ZLLocalLanguageKey | ||
656 | - public static var save: HHPhotoPicker.ZLLocalLanguageKey | ||
657 | - public static var saveImageError: HHPhotoPicker.ZLLocalLanguageKey | ||
658 | - public static var saveVideoError: HHPhotoPicker.ZLLocalLanguageKey | ||
659 | - public static var exceededMaxSelectCount: HHPhotoPicker.ZLLocalLanguageKey | ||
660 | - public static var exceededMaxVideoSelectCount: HHPhotoPicker.ZLLocalLanguageKey | ||
661 | - public static var lessThanMinVideoSelectCount: HHPhotoPicker.ZLLocalLanguageKey | ||
662 | - public static var longerThanMaxVideoDuration: HHPhotoPicker.ZLLocalLanguageKey | ||
663 | - public static var shorterThanMaxVideoDuration: HHPhotoPicker.ZLLocalLanguageKey | ||
664 | - public static var iCloudVideoLoadFaild: HHPhotoPicker.ZLLocalLanguageKey | ||
665 | - public static var imageLoadFailed: HHPhotoPicker.ZLLocalLanguageKey | ||
666 | - public static var customCameraTips: HHPhotoPicker.ZLLocalLanguageKey | ||
667 | - public static var customCameraTakePhotoTips: HHPhotoPicker.ZLLocalLanguageKey | ||
668 | - public static var customCameraRecordVideoTips: HHPhotoPicker.ZLLocalLanguageKey | ||
669 | - public static var minRecordTimeTips: HHPhotoPicker.ZLLocalLanguageKey | ||
670 | - public static var cameraRoll: HHPhotoPicker.ZLLocalLanguageKey | ||
671 | - public static var panoramas: HHPhotoPicker.ZLLocalLanguageKey | ||
672 | - public static var videos: HHPhotoPicker.ZLLocalLanguageKey | ||
673 | - public static var favorites: HHPhotoPicker.ZLLocalLanguageKey | ||
674 | - public static var timelapses: HHPhotoPicker.ZLLocalLanguageKey | ||
675 | - public static var recentlyAdded: HHPhotoPicker.ZLLocalLanguageKey | ||
676 | - public static var bursts: HHPhotoPicker.ZLLocalLanguageKey | ||
677 | - public static var slomoVideos: HHPhotoPicker.ZLLocalLanguageKey | ||
678 | - public static var selfPortraits: HHPhotoPicker.ZLLocalLanguageKey | ||
679 | - public static var screenshots: HHPhotoPicker.ZLLocalLanguageKey | ||
680 | - public static var depthEffect: HHPhotoPicker.ZLLocalLanguageKey | ||
681 | - public static var livePhotos: HHPhotoPicker.ZLLocalLanguageKey | ||
682 | - public static var animated: HHPhotoPicker.ZLLocalLanguageKey | ||
683 | - public static var myPhotoStream: HHPhotoPicker.ZLLocalLanguageKey | ||
684 | - public static var noTitleAlbumListPlaceholder: HHPhotoPicker.ZLLocalLanguageKey | ||
685 | - public static var unableToAccessAllPhotos: HHPhotoPicker.ZLLocalLanguageKey | ||
686 | - public static var textStickerRemoveTips: HHPhotoPicker.ZLLocalLanguageKey | ||
687 | - public func hash(into hasher: inout Swift.Hasher) | ||
688 | - public static func == (a: HHPhotoPicker.ZLLocalLanguageKey, b: HHPhotoPicker.ZLLocalLanguageKey) -> Swift.Bool | ||
689 | - public var hashValue: Swift.Int { | ||
690 | - get | ||
691 | - } | ||
692 | -} | ||
693 | -public typealias Second = Swift.Int | ||
694 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoConfiguration : ObjectiveC.NSObject { | ||
695 | - @objc public class func `default`() -> HHPhotoPicker.ZLPhotoConfiguration | ||
696 | - @objc public class func resetConfiguration() | ||
697 | - @objc public var sortAscending: Swift.Bool | ||
698 | - @objc public var maxSelectCount: Swift.Int { | ||
699 | - @objc get | ||
700 | - @objc set(newValue) | ||
701 | - } | ||
702 | - @objc public var maxVideoSelectCount: Swift.Int { | ||
703 | - @objc get | ||
704 | - @objc set(newValue) | ||
705 | - } | ||
706 | - @objc public var minVideoSelectCount: Swift.Int { | ||
707 | - @objc get | ||
708 | - @objc set(newValue) | ||
709 | - } | ||
710 | - @objc public var allowMixSelect: Swift.Bool | ||
711 | - @objc public var maxPreviewCount: Swift.Int | ||
712 | - @objc public var cellCornerRadio: CoreGraphics.CGFloat | ||
713 | - @objc public var allowSelectImage: Swift.Bool | ||
714 | - @objc public var allowSelectVideo: Swift.Bool | ||
715 | - @objc public var allowSelectGif: Swift.Bool | ||
716 | - @objc public var allowSelectLivePhoto: Swift.Bool | ||
717 | - @objc public var allowTakePhotoInLibrary: Swift.Bool { | ||
718 | - @objc get | ||
719 | - @objc set(newValue) | ||
720 | - } | ||
721 | - @objc public var allowEditImage: Swift.Bool { | ||
722 | - @objc get | ||
723 | - @objc set(newValue) | ||
724 | - } | ||
725 | - @objc public var allowEditVideo: Swift.Bool { | ||
726 | - @objc get | ||
727 | - @objc set(newValue) | ||
728 | - } | ||
729 | - @objc public var animateSelectBtnWhenSelect: Swift.Bool | ||
730 | - @objc public var selectBtnAnimationDuration: Swift.Double | ||
731 | - @objc public var editAfterSelectThumbnailImage: Swift.Bool | ||
732 | - @objc public var cropVideoAfterSelectThumbnail: Swift.Bool | ||
733 | - @objc public var showClipDirectlyIfOnlyHasClipTool: Swift.Bool | ||
734 | - @objc public var saveNewImageAfterEdit: Swift.Bool | ||
735 | - @objc public var allowSlideSelect: Swift.Bool | ||
736 | - @objc public var autoScrollWhenSlideSelectIsActive: Swift.Bool | ||
737 | - @objc public var autoScrollMaxSpeed: CoreGraphics.CGFloat | ||
738 | - @objc public var allowDragSelect: Swift.Bool | ||
739 | - @objc public var allowSelectOriginal: Swift.Bool | ||
740 | - @objc public var allowPreviewPhotos: Swift.Bool | ||
741 | - @objc public var showPreviewButtonInAlbum: Swift.Bool | ||
742 | - @objc public var showSelectCountOnDoneBtn: Swift.Bool | ||
743 | - @objc public var columnCount: Swift.Int { | ||
744 | - @objc get | ||
745 | - @objc set(newValue) | ||
746 | - } | ||
747 | - @objc public var maxEditVideoTime: Swift.Int | ||
748 | - @objc public var maxSelectVideoDuration: Swift.Int | ||
749 | - @objc public var minSelectVideoDuration: Swift.Int | ||
750 | - @objc public var editImageConfiguration: HHPhotoPicker.ZLEditImageConfiguration | ||
751 | - @objc public var showCaptureImageOnTakePhotoBtn: Swift.Bool | ||
752 | - @objc public var showSelectBtnWhenSingleSelect: Swift.Bool | ||
753 | - @objc public var showSelectedMask: Swift.Bool | ||
754 | - @objc public var showSelectedBorder: Swift.Bool | ||
755 | - @objc public var showInvalidMask: Swift.Bool | ||
756 | - @objc public var showSelectedIndex: Swift.Bool | ||
757 | - @objc public var showSelectedPhotoPreview: Swift.Bool | ||
758 | - @objc public var shouldAnialysisAsset: Swift.Bool | ||
759 | - @objc public var timeout: Swift.Double | ||
760 | - @objc public var languageType: HHPhotoPicker.ZLLanguageType { | ||
761 | - @objc get | ||
762 | - @objc set(value) | ||
763 | - } | ||
764 | - @objc public var useCustomCamera: Swift.Bool | ||
765 | - @objc public var allowTakePhoto: Swift.Bool { | ||
766 | - @objc get | ||
767 | - @objc set(newValue) | ||
768 | - } | ||
769 | - @objc public var allowRecordVideo: Swift.Bool { | ||
770 | - @objc get | ||
771 | - @objc set(newValue) | ||
772 | - } | ||
773 | - @objc public var minRecordDuration: HHPhotoPicker.Second { | ||
774 | - @objc get | ||
775 | - @objc set(newValue) | ||
776 | - } | ||
777 | - @objc public var maxRecordDuration: HHPhotoPicker.Second { | ||
778 | - @objc get | ||
779 | - @objc set(newValue) | ||
780 | - } | ||
781 | - @objc public var cameraConfiguration: HHPhotoPicker.ZLCameraConfiguration | ||
782 | - @objc public var hudStyle: HHPhotoPicker.ZLProgressHUD.HUDStyle | ||
783 | - @objc public var canSelectAsset: ((Photos.PHAsset) -> Swift.Bool)? | ||
784 | - @objc public var showAddPhotoButton: Swift.Bool | ||
785 | - @objc public var showEnterSettingTips: Swift.Bool | ||
786 | - @objc public var noAuthorityCallback: ((HHPhotoPicker.ZLNoAuthorityType) -> Swift.Void)? | ||
787 | - @objc public var operateBeforeDoneAction: ((UIKit.UIViewController, @escaping () -> Swift.Void) -> Swift.Void)? | ||
788 | - @objc override dynamic public init() | ||
789 | - @objc deinit | ||
790 | -} | ||
791 | -@objc public enum ZLNoAuthorityType : Swift.Int { | ||
792 | - case library | ||
793 | - case camera | ||
794 | - case microphone | ||
795 | - public init?(rawValue: Swift.Int) | ||
796 | - public typealias RawValue = Swift.Int | ||
797 | - public var rawValue: Swift.Int { | ||
798 | - get | ||
799 | - } | ||
800 | -} | ||
801 | -extension ZLPhotoConfiguration { | ||
802 | - @discardableResult | ||
803 | - public func sortAscending(_ ascending: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
804 | - @discardableResult | ||
805 | - public func maxSelectCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
806 | - @discardableResult | ||
807 | - public func maxVideoSelectCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
808 | - @discardableResult | ||
809 | - public func minVideoSelectCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
810 | - @discardableResult | ||
811 | - public func allowMixSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
812 | - @discardableResult | ||
813 | - public func maxPreviewCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
814 | - @discardableResult | ||
815 | - public func cellCornerRadio(_ cornerRadio: CoreGraphics.CGFloat) -> HHPhotoPicker.ZLPhotoConfiguration | ||
816 | - @discardableResult | ||
817 | - public func allowSelectImage(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
818 | - @discardableResult | ||
819 | - @objc dynamic public func allowSelectVideo(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
820 | - @discardableResult | ||
821 | - public func allowSelectGif(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
822 | - @discardableResult | ||
823 | - public func allowSelectLivePhoto(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
824 | - @discardableResult | ||
825 | - public func allowTakePhotoInLibrary(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
826 | - @discardableResult | ||
827 | - public func allowEditImage(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
828 | - @discardableResult | ||
829 | - public func allowEditVideo(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
830 | - @discardableResult | ||
831 | - public func animateSelectBtnWhenSelect(_ animate: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
832 | - @discardableResult | ||
833 | - public func selectBtnAnimationDuration(_ duration: CoreFoundation.CFTimeInterval) -> HHPhotoPicker.ZLPhotoConfiguration | ||
834 | - @discardableResult | ||
835 | - public func editAfterSelectThumbnailImage(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
836 | - @discardableResult | ||
837 | - public func cropVideoAfterSelectThumbnail(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
838 | - @discardableResult | ||
839 | - public func showClipDirectlyIfOnlyHasClipTool(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
840 | - @discardableResult | ||
841 | - public func saveNewImageAfterEdit(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
842 | - @discardableResult | ||
843 | - public func allowSlideSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
844 | - @discardableResult | ||
845 | - public func autoScrollWhenSlideSelectIsActive(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
846 | - @discardableResult | ||
847 | - public func autoScrollMaxSpeed(_ speed: CoreGraphics.CGFloat) -> HHPhotoPicker.ZLPhotoConfiguration | ||
848 | - @discardableResult | ||
849 | - public func allowDragSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
850 | - @discardableResult | ||
851 | - public func allowSelectOriginal(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
852 | - @discardableResult | ||
853 | - public func allowPreviewPhotos(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
854 | - @discardableResult | ||
855 | - public func showPreviewButtonInAlbum(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
856 | - @discardableResult | ||
857 | - public func showSelectCountOnDoneBtn(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
858 | - @discardableResult | ||
859 | - public func columnCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
860 | - @discardableResult | ||
861 | - public func maxEditVideoTime(_ second: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
862 | - @discardableResult | ||
863 | - public func maxSelectVideoDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
864 | - @discardableResult | ||
865 | - public func minSelectVideoDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
866 | - @discardableResult | ||
867 | - public func editImageConfiguration(_ configuration: HHPhotoPicker.ZLEditImageConfiguration) -> HHPhotoPicker.ZLPhotoConfiguration | ||
868 | - @discardableResult | ||
869 | - public func showCaptureImageOnTakePhotoBtn(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
870 | - @discardableResult | ||
871 | - public func showSelectBtnWhenSingleSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
872 | - @discardableResult | ||
873 | - public func showSelectedMask(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
874 | - @discardableResult | ||
875 | - public func showSelectedBorder(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
876 | - @discardableResult | ||
877 | - public func showInvalidMask(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
878 | - @discardableResult | ||
879 | - public func showSelectedIndex(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
880 | - @discardableResult | ||
881 | - public func showSelectedPhotoPreview(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
882 | - @discardableResult | ||
883 | - public func shouldAnialysisAsset(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
884 | - @discardableResult | ||
885 | - public func timeout(_ timeout: Foundation.TimeInterval) -> HHPhotoPicker.ZLPhotoConfiguration | ||
886 | - @discardableResult | ||
887 | - public func languageType(_ type: HHPhotoPicker.ZLLanguageType) -> HHPhotoPicker.ZLPhotoConfiguration | ||
888 | - @discardableResult | ||
889 | - public func useCustomCamera(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
890 | - @discardableResult | ||
891 | - public func allowTakePhoto(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
892 | - @discardableResult | ||
893 | - public func allowRecordVideo(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
894 | - @discardableResult | ||
895 | - public func minRecordDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
896 | - @discardableResult | ||
897 | - public func maxRecordDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
898 | - @discardableResult | ||
899 | - public func cameraConfiguration(_ configuration: HHPhotoPicker.ZLCameraConfiguration) -> HHPhotoPicker.ZLPhotoConfiguration | ||
900 | - @discardableResult | ||
901 | - public func hudStyle(_ style: HHPhotoPicker.ZLProgressHUD.HUDStyle) -> HHPhotoPicker.ZLPhotoConfiguration | ||
902 | - @discardableResult | ||
903 | - @objc dynamic public func canSelectAsset(_ block: ((Photos.PHAsset) -> Swift.Bool)?) -> HHPhotoPicker.ZLPhotoConfiguration | ||
904 | - @discardableResult | ||
905 | - @objc dynamic public func showAddPhotoButton(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
906 | - @discardableResult | ||
907 | - @objc dynamic public func showEnterSettingTips(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
908 | - @discardableResult | ||
909 | - @objc dynamic public func noAuthorityCallback(_ callback: ((HHPhotoPicker.ZLNoAuthorityType) -> Swift.Void)?) -> HHPhotoPicker.ZLPhotoConfiguration | ||
910 | - @discardableResult | ||
911 | - @objc dynamic public func operateBeforeDoneAction(_ block: ((UIKit.UIViewController, @escaping () -> Swift.Void) -> Swift.Void)?) -> HHPhotoPicker.ZLPhotoConfiguration | ||
912 | -} | ||
913 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoManager : ObjectiveC.NSObject { | ||
914 | - @objc public class func saveImageToAlbum(image: UIKit.UIImage, completion: ((Swift.Bool, Photos.PHAsset?) -> Swift.Void)?) | ||
915 | - @objc public class func saveVideoToAlbum(url: Foundation.URL, completion: ((Swift.Bool, Photos.PHAsset?) -> Swift.Void)?) | ||
916 | - @objc public class func fetchPhoto(in result: Photos.PHFetchResult<Photos.PHAsset>, ascending: Swift.Bool, allowSelectImage: Swift.Bool, allowSelectVideo: Swift.Bool, limitCount: Swift.Int = .max) -> [HHPhotoPicker.ZLPhotoModel] | ||
917 | - @objc public class func getPhotoAlbumList(ascending: Swift.Bool, allowSelectImage: Swift.Bool, allowSelectVideo: Swift.Bool, completion: ([HHPhotoPicker.ZLAlbumListModel]) -> Swift.Void) | ||
918 | - @objc public class func getCameraRollAlbum(allowSelectImage: Swift.Bool, allowSelectVideo: Swift.Bool, completion: @escaping (HHPhotoPicker.ZLAlbumListModel) -> Swift.Void) | ||
919 | - @discardableResult | ||
920 | - @objc public class func fetchImage(for asset: Photos.PHAsset, size: CoreGraphics.CGSize, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (UIKit.UIImage?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
921 | - @discardableResult | ||
922 | - @objc public class func fetchOriginalImage(for asset: Photos.PHAsset, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (UIKit.UIImage?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
923 | - @discardableResult | ||
924 | - @objc public class func fetchOriginalImageData(for asset: Photos.PHAsset, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (Foundation.Data, [Swift.AnyHashable : Any]?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
925 | - @objc public class func fetchLivePhoto(for asset: Photos.PHAsset, completion: @escaping (Photos.PHLivePhoto?, [Swift.AnyHashable : Any]?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
926 | - @objc public class func fetchVideo(for asset: Photos.PHAsset, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (AVFoundation.AVPlayerItem?, [Swift.AnyHashable : Any]?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
927 | - @objc public class func fetchAVAsset(forVideo asset: Photos.PHAsset, completion: @escaping (AVFoundation.AVAsset?, [Swift.AnyHashable : Any]?) -> Swift.Void) -> Photos.PHImageRequestID | ||
928 | - @objc public class func fetchAssetFilePath(asset: Photos.PHAsset, completion: @escaping (Swift.String?) -> Swift.Void) | ||
929 | - @objc override dynamic public init() | ||
930 | - @objc deinit | ||
931 | -} | ||
932 | -extension ZLPhotoManager { | ||
933 | - @objc dynamic public class func hasPhotoLibratyAuthority() -> Swift.Bool | ||
934 | - @objc dynamic public class func hasCameraAuthority() -> Swift.Bool | ||
935 | - @objc dynamic public class func hasMicrophoneAuthority() -> Swift.Bool | ||
936 | -} | ||
937 | -extension ZLPhotoModel { | ||
938 | - public enum MediaType : Swift.Int { | ||
939 | - case unknown | ||
940 | - case image | ||
941 | - case gif | ||
942 | - case livePhoto | ||
943 | - case video | ||
944 | - public init?(rawValue: Swift.Int) | ||
945 | - public typealias RawValue = Swift.Int | ||
946 | - public var rawValue: Swift.Int { | ||
947 | - get | ||
948 | - } | ||
949 | - } | ||
950 | -} | ||
951 | -@objc public class ZLPhotoModel : ObjectiveC.NSObject { | ||
952 | - final public let ident: Swift.String | ||
953 | - final public let asset: Photos.PHAsset | ||
954 | - public var type: HHPhotoPicker.ZLPhotoModel.MediaType | ||
955 | - public var duration: Swift.String | ||
956 | - public var isSelected: Swift.Bool | ||
957 | - public var editImage: UIKit.UIImage? { | ||
958 | - get | ||
959 | - set(newValue) | ||
960 | - } | ||
961 | - public var second: HHPhotoPicker.Second { | ||
962 | - get | ||
963 | - } | ||
964 | - public var whRatio: CoreGraphics.CGFloat { | ||
965 | - get | ||
966 | - } | ||
967 | - public var previewSize: CoreGraphics.CGSize { | ||
968 | - get | ||
969 | - } | ||
970 | - public var editImageModel: HHPhotoPicker.ZLEditImageModel? | ||
971 | - public init(asset: Photos.PHAsset) | ||
972 | - public func transformAssetType(for asset: Photos.PHAsset) -> HHPhotoPicker.ZLPhotoModel.MediaType | ||
973 | - public func transformDuration(for asset: Photos.PHAsset) -> Swift.String | ||
974 | - @objc override dynamic public init() | ||
975 | - @objc deinit | ||
976 | -} | ||
977 | -extension ZLPhotoModel { | ||
978 | - public static func == (lhs: HHPhotoPicker.ZLPhotoModel, rhs: HHPhotoPicker.ZLPhotoModel) -> Swift.Bool | ||
979 | -} | ||
980 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoPreviewSheet : UIKit.UIView { | ||
981 | - @objc public var selectImageBlock: (([UIKit.UIImage], [Photos.PHAsset], Swift.Bool) -> Swift.Void)? | ||
982 | - @objc public var selectImageRequestErrorBlock: (([Photos.PHAsset], [Swift.Int]) -> Swift.Void)? | ||
983 | - @objc public var cancelBlock: (() -> Swift.Void)? | ||
984 | - @objc deinit | ||
985 | - @objc override dynamic public convenience init(frame: CoreGraphics.CGRect) | ||
986 | - @objc public init(selectedAssets: [Photos.PHAsset]? = nil) | ||
987 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
988 | - @objc override dynamic public func layoutSubviews() | ||
989 | - @objc public func showPreview(animate: Swift.Bool = true, sender: UIKit.UIViewController) | ||
990 | - @objc public func showPhotoLibrary(sender: UIKit.UIViewController) | ||
991 | - @objc public func previewAssets(sender: UIKit.UIViewController, assets: [Photos.PHAsset], index: Swift.Int, isOriginal: Swift.Bool, showBottomViewAndSelectBtn: Swift.Bool = true) | ||
992 | -} | ||
993 | -extension ZLPhotoPreviewSheet : UIKit.UIGestureRecognizerDelegate { | ||
994 | - @objc override dynamic public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
995 | -} | ||
996 | -extension ZLPhotoPreviewSheet : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegateFlowLayout { | ||
997 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, sizeForItemAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGSize | ||
998 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
999 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
1000 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
1001 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, didSelectItemAt indexPath: Foundation.IndexPath) | ||
1002 | -} | ||
1003 | -extension ZLPhotoPreviewSheet : UIKit.UIImagePickerControllerDelegate, UIKit.UINavigationControllerDelegate { | ||
1004 | - @objc dynamic public func imagePickerController(_ picker: UIKit.UIImagePickerController, didFinishPickingMediaWithInfo info: [UIKit.UIImagePickerController.InfoKey : Any]) | ||
1005 | -} | ||
1006 | -extension ZLPhotoPreviewSheet : Photos.PHPhotoLibraryChangeObserver { | ||
1007 | - @objc dynamic public func photoLibraryDidChange(_ changeInstance: Photos.PHChange) | ||
1008 | -} | ||
1009 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoUIConfiguration : ObjectiveC.NSObject { | ||
1010 | - @objc public enum CancelButtonStyle : Swift.Int { | ||
1011 | - case text | ||
1012 | - case image | ||
1013 | - public init?(rawValue: Swift.Int) | ||
1014 | - public typealias RawValue = Swift.Int | ||
1015 | - public var rawValue: Swift.Int { | ||
1016 | - get | ||
1017 | - } | ||
1018 | - } | ||
1019 | - @objc public class func `default`() -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1020 | - @objc public class func resetConfiguration() | ||
1021 | - @objc public var style: HHPhotoPicker.ZLPhotoBrowserStyle | ||
1022 | - @objc public var statusBarStyle: UIKit.UIStatusBarStyle | ||
1023 | - @objc public var navCancelButtonStyle: HHPhotoPicker.ZLPhotoUIConfiguration.CancelButtonStyle | ||
1024 | - @objc public var showStatusBarInPreviewInterface: Swift.Bool | ||
1025 | - @objc public var navViewBlurEffectOfAlbumList: UIKit.UIBlurEffect? | ||
1026 | - @objc public var navViewBlurEffectOfPreview: UIKit.UIBlurEffect? | ||
1027 | - @objc public var bottomViewBlurEffectOfAlbumList: UIKit.UIBlurEffect? | ||
1028 | - @objc public var bottomViewBlurEffectOfPreview: UIKit.UIBlurEffect? | ||
1029 | - @objc public var customImageNames: [Swift.String] { | ||
1030 | - @objc get | ||
1031 | - @objc set(value) | ||
1032 | - } | ||
1033 | - public var customImageForKey: [Swift.String : UIKit.UIImage?] { | ||
1034 | - get | ||
1035 | - set(value) | ||
1036 | - } | ||
1037 | - @objc public var customImageForKey_objc: [Swift.String : UIKit.UIImage] { | ||
1038 | - @objc get | ||
1039 | - @objc set(value) | ||
1040 | - } | ||
1041 | - public var customLanguageKeyValue: [HHPhotoPicker.ZLLocalLanguageKey : Swift.String] { | ||
1042 | - get | ||
1043 | - set(value) | ||
1044 | - } | ||
1045 | - @objc public var customLanguageKeyValue_objc: [Swift.String : Swift.String] { | ||
1046 | - @objc get | ||
1047 | - @objc set(value) | ||
1048 | - } | ||
1049 | - @objc public var themeFontName: Swift.String? { | ||
1050 | - @objc get | ||
1051 | - @objc set(value) | ||
1052 | - } | ||
1053 | - @objc public var sheetTranslucentColor: UIKit.UIColor | ||
1054 | - @objc public var sheetBtnBgColor: UIKit.UIColor | ||
1055 | - @objc public var sheetBtnTitleColor: UIKit.UIColor | ||
1056 | - @objc public var sheetBtnTitleTintColor: UIKit.UIColor | ||
1057 | - @objc public var navBarColor: UIKit.UIColor | ||
1058 | - @objc public var navBarColorOfPreviewVC: UIKit.UIColor | ||
1059 | - @objc public var navTitleColor: UIKit.UIColor | ||
1060 | - @objc public var navTitleColorOfPreviewVC: UIKit.UIColor | ||
1061 | - @objc public var navEmbedTitleViewBgColor: UIKit.UIColor | ||
1062 | - @objc public var albumListBgColor: UIKit.UIColor | ||
1063 | - @objc public var embedAlbumListTranslucentColor: UIKit.UIColor | ||
1064 | - @objc public var albumListTitleColor: UIKit.UIColor | ||
1065 | - @objc public var albumListCountColor: UIKit.UIColor | ||
1066 | - @objc public var separatorColor: UIKit.UIColor | ||
1067 | - @objc public var thumbnailBgColor: UIKit.UIColor | ||
1068 | - @objc public var previewVCBgColor: UIKit.UIColor | ||
1069 | - @objc public var bottomToolViewBgColor: UIKit.UIColor | ||
1070 | - @objc public var bottomToolViewBgColorOfPreviewVC: UIKit.UIColor | ||
1071 | - @objc public var bottomToolViewBtnNormalTitleColor: UIKit.UIColor | ||
1072 | - @objc public var bottomToolViewDoneBtnNormalTitleColor: UIKit.UIColor | ||
1073 | - @objc public var bottomToolViewBtnNormalTitleColorOfPreviewVC: UIKit.UIColor | ||
1074 | - @objc public var bottomToolViewDoneBtnNormalTitleColorOfPreviewVC: UIKit.UIColor | ||
1075 | - @objc public var bottomToolViewBtnDisableTitleColor: UIKit.UIColor | ||
1076 | - @objc public var bottomToolViewDoneBtnDisableTitleColor: UIKit.UIColor | ||
1077 | - @objc public var bottomToolViewBtnDisableTitleColorOfPreviewVC: UIKit.UIColor | ||
1078 | - @objc public var bottomToolViewDoneBtnDisableTitleColorOfPreviewVC: UIKit.UIColor | ||
1079 | - @objc public var bottomToolViewBtnNormalBgColor: UIKit.UIColor | ||
1080 | - @objc public var bottomToolViewBtnNormalBgColorOfPreviewVC: UIKit.UIColor | ||
1081 | - @objc public var bottomToolViewBtnDisableBgColor: UIKit.UIColor | ||
1082 | - @objc public var bottomToolViewBtnDisableBgColorOfPreviewVC: UIKit.UIColor | ||
1083 | - @objc public var selectMorePhotoWhenAuthIsLismitedTitleColor: UIKit.UIColor | ||
1084 | - @objc public var cameraRecodeProgressColor: UIKit.UIColor | ||
1085 | - @objc public var selectedMaskColor: UIKit.UIColor | ||
1086 | - @objc public var selectedBorderColor: UIKit.UIColor | ||
1087 | - @objc public var invalidMaskColor: UIKit.UIColor | ||
1088 | - @objc public var indexLabelTextColor: UIKit.UIColor | ||
1089 | - @objc public var indexLabelBgColor: UIKit.UIColor | ||
1090 | - @objc public var cameraCellBgColor: UIKit.UIColor | ||
1091 | - @objc public var adjustSliderNormalColor: UIKit.UIColor | ||
1092 | - @objc public var adjustSliderTintColor: UIKit.UIColor | ||
1093 | - @objc override dynamic public init() | ||
1094 | - @objc deinit | ||
1095 | -} | ||
1096 | -@objc public enum ZLPhotoBrowserStyle : Swift.Int { | ||
1097 | - case embedAlbumList | ||
1098 | - case externalAlbumList | ||
1099 | - public init?(rawValue: Swift.Int) | ||
1100 | - public typealias RawValue = Swift.Int | ||
1101 | - public var rawValue: Swift.Int { | ||
1102 | - get | ||
1103 | - } | ||
1104 | -} | ||
1105 | -extension ZLPhotoUIConfiguration { | ||
1106 | - @discardableResult | ||
1107 | - public func style(_ style: HHPhotoPicker.ZLPhotoBrowserStyle) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1108 | - @discardableResult | ||
1109 | - public func statusBarStyle(_ statusBarStyle: UIKit.UIStatusBarStyle) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1110 | - @discardableResult | ||
1111 | - public func navCancelButtonStyle(_ style: HHPhotoPicker.ZLPhotoUIConfiguration.CancelButtonStyle) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1112 | - @discardableResult | ||
1113 | - public func showStatusBarInPreviewInterface(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1114 | - @discardableResult | ||
1115 | - public func navViewBlurEffectOfAlbumList(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1116 | - @discardableResult | ||
1117 | - public func navViewBlurEffectOfPreview(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1118 | - @discardableResult | ||
1119 | - public func bottomViewBlurEffectOfAlbumList(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1120 | - @discardableResult | ||
1121 | - public func bottomViewBlurEffectOfPreview(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1122 | - @discardableResult | ||
1123 | - public func customImageNames(_ names: [Swift.String]) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1124 | - @discardableResult | ||
1125 | - public func customImageForKey(_ map: [Swift.String : UIKit.UIImage?]) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1126 | - @discardableResult | ||
1127 | - public func customLanguageKeyValue(_ map: [HHPhotoPicker.ZLLocalLanguageKey : Swift.String]) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1128 | - @discardableResult | ||
1129 | - public func themeFontName(_ name: Swift.String) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1130 | - @discardableResult | ||
1131 | - public func sheetTranslucentColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1132 | - @discardableResult | ||
1133 | - public func sheetBtnBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1134 | - @discardableResult | ||
1135 | - public func sheetBtnTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1136 | - @discardableResult | ||
1137 | - public func sheetBtnTitleTintColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1138 | - @discardableResult | ||
1139 | - public func navBarColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1140 | - @discardableResult | ||
1141 | - public func navBarColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1142 | - @discardableResult | ||
1143 | - public func navTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1144 | - @discardableResult | ||
1145 | - public func navTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1146 | - @discardableResult | ||
1147 | - public func navEmbedTitleViewBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1148 | - @discardableResult | ||
1149 | - public func albumListBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1150 | - @discardableResult | ||
1151 | - public func embedAlbumListTranslucentColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1152 | - @discardableResult | ||
1153 | - public func albumListTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1154 | - @discardableResult | ||
1155 | - public func albumListCountColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1156 | - @discardableResult | ||
1157 | - public func separatorColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1158 | - @discardableResult | ||
1159 | - public func thumbnailBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1160 | - @discardableResult | ||
1161 | - public func previewVCBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1162 | - @discardableResult | ||
1163 | - public func bottomToolViewBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1164 | - @discardableResult | ||
1165 | - public func bottomToolViewBgColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1166 | - @discardableResult | ||
1167 | - public func bottomToolViewBtnNormalTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1168 | - @discardableResult | ||
1169 | - public func bottomToolViewDoneBtnNormalTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1170 | - @discardableResult | ||
1171 | - public func bottomToolViewBtnNormalTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1172 | - @discardableResult | ||
1173 | - public func bottomToolViewDoneBtnNormalTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1174 | - @discardableResult | ||
1175 | - public func bottomToolViewBtnDisableTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1176 | - @discardableResult | ||
1177 | - public func bottomToolViewDoneBtnDisableTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1178 | - @discardableResult | ||
1179 | - public func bottomToolViewBtnDisableTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1180 | - @discardableResult | ||
1181 | - public func bottomToolViewDoneBtnDisableTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1182 | - @discardableResult | ||
1183 | - public func bottomToolViewBtnNormalBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1184 | - @discardableResult | ||
1185 | - public func bottomToolViewBtnNormalBgColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1186 | - @discardableResult | ||
1187 | - public func bottomToolViewBtnDisableBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1188 | - @discardableResult | ||
1189 | - public func bottomToolViewBtnDisableBgColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1190 | - @discardableResult | ||
1191 | - public func selectMorePhotoWhenAuthIsLismitedTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1192 | - @discardableResult | ||
1193 | - public func cameraRecodeProgressColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1194 | - @discardableResult | ||
1195 | - public func selectedMaskColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1196 | - @discardableResult | ||
1197 | - public func selectedBorderColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1198 | - @discardableResult | ||
1199 | - public func invalidMaskColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1200 | - @discardableResult | ||
1201 | - public func indexLabelTextColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1202 | - @discardableResult | ||
1203 | - public func indexLabelBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1204 | - @discardableResult | ||
1205 | - public func cameraCellBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1206 | - @discardableResult | ||
1207 | - public func adjustSliderNormalColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1208 | - @discardableResult | ||
1209 | - public func adjustSliderTintColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1210 | -} | ||
1211 | -@objc @_hasMissingDesignatedInitializers public class ZLProgressHUD : UIKit.UIView { | ||
1212 | - @objc public enum HUDStyle : Swift.Int { | ||
1213 | - case light | ||
1214 | - case lightBlur | ||
1215 | - case dark | ||
1216 | - case darkBlur | ||
1217 | - public init?(rawValue: Swift.Int) | ||
1218 | - public typealias RawValue = Swift.Int | ||
1219 | - public var rawValue: Swift.Int { | ||
1220 | - get | ||
1221 | - } | ||
1222 | - } | ||
1223 | - @objc deinit | ||
1224 | - @objc public init(style: HHPhotoPicker.ZLProgressHUD.HUDStyle) | ||
1225 | - @objc public func show(timeout: Foundation.TimeInterval = 100) | ||
1226 | - @objc public func hide() | ||
1227 | - @objc override dynamic public init(frame: CoreGraphics.CGRect) | ||
1228 | -} | ||
1229 | -@objc @_hasMissingDesignatedInitializers public class ZLTextStickerState : ObjectiveC.NSObject { | ||
1230 | - @objc override dynamic public init() | ||
1231 | - @objc deinit | ||
1232 | -} | ||
1233 | -@objc @_inheritsConvenienceInitializers public class ZLVideoManager : ObjectiveC.NSObject { | ||
1234 | - @objc public class func mergeVideos(fileUrls: [Foundation.URL], completion: @escaping ((Foundation.URL?, Swift.Error?) -> Swift.Void)) | ||
1235 | - @objc override dynamic public init() | ||
1236 | - @objc deinit | ||
1237 | -} | ||
1238 | -extension ZLVideoManager { | ||
1239 | - @objc dynamic public class func exportVideo(for asset: Photos.PHAsset, exportType: HHPhotoPicker.ZLVideoManager.ExportType = .mov, presetName: Swift.String = AVAssetExportPresetMediumQuality, complete: @escaping ((Foundation.URL?, Swift.Error?) -> Swift.Void)) | ||
1240 | - @objc dynamic public class func exportVideo(for asset: AVFoundation.AVAsset, range: CoreMedia.CMTimeRange = CMTimeRange(start: .zero, duration: .positiveInfinity), exportType: HHPhotoPicker.ZLVideoManager.ExportType = .mov, presetName: Swift.String = AVAssetExportPresetMediumQuality, complete: @escaping ((Foundation.URL?, Swift.Error?) -> Swift.Void)) | ||
1241 | -} | ||
1242 | -extension ZLVideoManager { | ||
1243 | - @objc public enum ExportType : Swift.Int { | ||
1244 | - case mov | ||
1245 | - case mp4 | ||
1246 | - public init?(rawValue: Swift.Int) | ||
1247 | - public typealias RawValue = Swift.Int | ||
1248 | - public var rawValue: Swift.Int { | ||
1249 | - get | ||
1250 | - } | ||
1251 | - } | ||
1252 | -} |
No preview for this file type
HHVDoctorSDK/HHPhotoPicker.framework/Modules/HHPhotoPicker.swiftmodule/arm64.swiftdoc
deleted
100644 → 0
No preview for this file type
HHVDoctorSDK/HHPhotoPicker.framework/Modules/HHPhotoPicker.swiftmodule/arm64.swiftinterface
deleted
100644 → 0
1 | -// swift-interface-format-version: 1.0 | ||
2 | -// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57) | ||
3 | -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name HHPhotoPicker | ||
4 | -import AVFoundation | ||
5 | -import Accelerate | ||
6 | -import CoreMotion | ||
7 | -import Foundation | ||
8 | -@_exported import HHPhotoPicker | ||
9 | -import Photos | ||
10 | -import PhotosUI | ||
11 | -import Swift | ||
12 | -import UIKit | ||
13 | -public protocol HHPhotoPickerManagerDelegate { | ||
14 | - func selectImage(_ selectedImages: [UIKit.UIImage]) | ||
15 | - func cancelImage() | ||
16 | - func selectImageRequestError(_ errorAssets: [Photos.PHAsset], errorIndexs: [Swift.Int]) | ||
17 | -} | ||
18 | -@objc public class HHPhotoPickerManager : ObjectiveC.NSObject { | ||
19 | - public var viewDelegate: HHPhotoPicker.HHPhotoPickerManagerDelegate? | ||
20 | - public var photoConfigModel: HHPhotoPicker.HHPhotoConfigModel | ||
21 | - public var photoUIConfigModel: HHPhotoPicker.HHPhotoUIConfigModel | ||
22 | - required public init(showVC: UIKit.UIViewController) | ||
23 | - public func showImagePicker() | ||
24 | - @objc override dynamic public init() | ||
25 | - @objc deinit | ||
26 | -} | ||
27 | -@objc @_inheritsConvenienceInitializers public class HHPhotoConfigModel : ObjectiveC.NSObject { | ||
28 | - public var maxPreviewCount: Swift.Int | ||
29 | - public var maxSelectCount: Swift.Int { | ||
30 | - get | ||
31 | - set(newValue) | ||
32 | - } | ||
33 | - public var minVideoSelectCount: Swift.Int { | ||
34 | - get | ||
35 | - set(newValue) | ||
36 | - } | ||
37 | - public var maxVideoSelectCount: Swift.Int { | ||
38 | - get | ||
39 | - set(newValue) | ||
40 | - } | ||
41 | - public var minSelectVideoDuration: Swift.Int | ||
42 | - public var maxSelectVideoDuration: Swift.Int | ||
43 | - public var cellCornerRadio: CoreGraphics.CGFloat | ||
44 | - public var languageType: HHPhotoPicker.ZLLanguageType { | ||
45 | - get | ||
46 | - set(value) | ||
47 | - } | ||
48 | - public var columnCount: Swift.Int { | ||
49 | - get | ||
50 | - set(newValue) | ||
51 | - } | ||
52 | - public var sortAscending: Swift.Bool | ||
53 | - public var allowSelectImage: Swift.Bool | ||
54 | - public var allowTakePhotoInLibrary: Swift.Bool | ||
55 | - public var allowSelectOriginal: Swift.Bool | ||
56 | - public var allowSelectGif: Swift.Bool | ||
57 | - public var allowSelectVideo: Swift.Bool | ||
58 | - public var allowSelectLivePhoto: Swift.Bool | ||
59 | - public var allowEditImage: Swift.Bool | ||
60 | - public var allowMixSelect: Swift.Bool | ||
61 | - public var allowPreviewPhotos: Swift.Bool | ||
62 | - public var editImageWithDraw: Swift.Bool | ||
63 | - public var editImageWithClip: Swift.Bool | ||
64 | - public var editImageWithImageSticker: Swift.Bool | ||
65 | - public var editImageWithTextSticker: Swift.Bool | ||
66 | - public var editImageWithMosaic: Swift.Bool | ||
67 | - public var editImageWithFilter: Swift.Bool | ||
68 | - public var editImageWithAdjust: Swift.Bool | ||
69 | - public var editImageWitAdjustBrightness: Swift.Bool | ||
70 | - public var editImageWitAdjustContrast: Swift.Bool | ||
71 | - public var editImageWitAdjustSaturation: Swift.Bool | ||
72 | - public var shouldAnialysisAsset: Swift.Bool | ||
73 | - public var allowEditVideo: Swift.Bool { | ||
74 | - get | ||
75 | - set(newValue) | ||
76 | - } | ||
77 | - public var saveNewImageAfterEdit: Swift.Bool | ||
78 | - public var allowDragSelect: Swift.Bool | ||
79 | - public var allowSlideSelect: Swift.Bool | ||
80 | - public var autoScrollWhenSlideSelectIsActive: Swift.Bool | ||
81 | - public var autoScrollMaxSpeed: CoreGraphics.CGFloat | ||
82 | - public var showCaptureImageOnTakePhotoBtn: Swift.Bool | ||
83 | - public var showSelectedIndex: Swift.Bool | ||
84 | - public var showSelectedMask: Swift.Bool | ||
85 | - public var showSelectedBorder: Swift.Bool | ||
86 | - public var showInvalidMask: Swift.Bool | ||
87 | - public var useCustomCamera: Swift.Bool | ||
88 | - public var flashMode: HHPhotoPicker.ZLCameraConfiguration.FlashMode | ||
89 | - @objc override dynamic public init() | ||
90 | - @objc deinit | ||
91 | -} | ||
92 | -@objc @_inheritsConvenienceInitializers public class HHPhotoUIConfigModel : ObjectiveC.NSObject { | ||
93 | - public var style: HHPhotoPicker.ZLPhotoBrowserStyle | ||
94 | - public var bottomToolViewBtnNormalBgColor: UIKit.UIColor | ||
95 | - public var bottomToolViewBtnNormalBgColorOfPreviewVC: UIKit.UIColor | ||
96 | - @objc public var indexLabelBgColor: UIKit.UIColor | ||
97 | - @objc override dynamic public init() | ||
98 | - @objc deinit | ||
99 | -} | ||
100 | -@objc public class ZLAlbumListModel : ObjectiveC.NSObject { | ||
101 | - final public let title: Swift.String | ||
102 | - public var count: Swift.Int { | ||
103 | - get | ||
104 | - } | ||
105 | - public var result: Photos.PHFetchResult<Photos.PHAsset> | ||
106 | - final public let collection: Photos.PHAssetCollection | ||
107 | - final public let option: Photos.PHFetchOptions | ||
108 | - final public let isCameraRoll: Swift.Bool | ||
109 | - public var headImageAsset: Photos.PHAsset? { | ||
110 | - get | ||
111 | - } | ||
112 | - public var models: [HHPhotoPicker.ZLPhotoModel] | ||
113 | - public init(title: Swift.String, result: Photos.PHFetchResult<Photos.PHAsset>, collection: Photos.PHAssetCollection, option: Photos.PHFetchOptions, isCameraRoll: Swift.Bool) | ||
114 | - public func refetchPhotos() | ||
115 | - @objc override dynamic public init() | ||
116 | - @objc deinit | ||
117 | -} | ||
118 | -@objc @_inheritsConvenienceInitializers public class ZLCameraConfiguration : ObjectiveC.NSObject { | ||
119 | - @objc public enum CaptureSessionPreset : Swift.Int { | ||
120 | - case cif352x288 | ||
121 | - case vga640x480 | ||
122 | - case hd1280x720 | ||
123 | - case hd1920x1080 | ||
124 | - case hd4K3840x2160 | ||
125 | - public init?(rawValue: Swift.Int) | ||
126 | - public typealias RawValue = Swift.Int | ||
127 | - public var rawValue: Swift.Int { | ||
128 | - get | ||
129 | - } | ||
130 | - } | ||
131 | - @objc public enum FocusMode : Swift.Int { | ||
132 | - case autoFocus | ||
133 | - case continuousAutoFocus | ||
134 | - public init?(rawValue: Swift.Int) | ||
135 | - public typealias RawValue = Swift.Int | ||
136 | - public var rawValue: Swift.Int { | ||
137 | - get | ||
138 | - } | ||
139 | - } | ||
140 | - @objc public enum ExposureMode : Swift.Int { | ||
141 | - case autoExpose | ||
142 | - case continuousAutoExposure | ||
143 | - public init?(rawValue: Swift.Int) | ||
144 | - public typealias RawValue = Swift.Int | ||
145 | - public var rawValue: Swift.Int { | ||
146 | - get | ||
147 | - } | ||
148 | - } | ||
149 | - @objc public enum FlashMode : Swift.Int { | ||
150 | - case auto | ||
151 | - case on | ||
152 | - case off | ||
153 | - public init?(rawValue: Swift.Int) | ||
154 | - public typealias RawValue = Swift.Int | ||
155 | - public var rawValue: Swift.Int { | ||
156 | - get | ||
157 | - } | ||
158 | - } | ||
159 | - @objc public enum VideoExportType : Swift.Int { | ||
160 | - case mov | ||
161 | - case mp4 | ||
162 | - public init?(rawValue: Swift.Int) | ||
163 | - public typealias RawValue = Swift.Int | ||
164 | - public var rawValue: Swift.Int { | ||
165 | - get | ||
166 | - } | ||
167 | - } | ||
168 | - @objc public var sessionPreset: HHPhotoPicker.ZLCameraConfiguration.CaptureSessionPreset | ||
169 | - @objc public var focusMode: HHPhotoPicker.ZLCameraConfiguration.FocusMode | ||
170 | - @objc public var exposureMode: HHPhotoPicker.ZLCameraConfiguration.ExposureMode | ||
171 | - @objc public var flashMode: HHPhotoPicker.ZLCameraConfiguration.FlashMode | ||
172 | - @objc public var videoExportType: HHPhotoPicker.ZLCameraConfiguration.VideoExportType | ||
173 | - @objc override dynamic public init() | ||
174 | - @objc deinit | ||
175 | -} | ||
176 | -extension ZLCameraConfiguration { | ||
177 | - @discardableResult | ||
178 | - public func sessionPreset(_ sessionPreset: HHPhotoPicker.ZLCameraConfiguration.CaptureSessionPreset) -> HHPhotoPicker.ZLCameraConfiguration | ||
179 | - @discardableResult | ||
180 | - public func focusMode(_ mode: HHPhotoPicker.ZLCameraConfiguration.FocusMode) -> HHPhotoPicker.ZLCameraConfiguration | ||
181 | - @discardableResult | ||
182 | - public func exposureMode(_ mode: HHPhotoPicker.ZLCameraConfiguration.ExposureMode) -> HHPhotoPicker.ZLCameraConfiguration | ||
183 | - @discardableResult | ||
184 | - public func flashMode(_ mode: HHPhotoPicker.ZLCameraConfiguration.FlashMode) -> HHPhotoPicker.ZLCameraConfiguration | ||
185 | - @discardableResult | ||
186 | - public func videoExportType(_ type: HHPhotoPicker.ZLCameraConfiguration.VideoExportType) -> HHPhotoPicker.ZLCameraConfiguration | ||
187 | -} | ||
188 | -@objc open class ZLCustomCamera : UIKit.UIViewController, QuartzCore.CAAnimationDelegate { | ||
189 | - @objc public var takeDoneBlock: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)? | ||
190 | - @objc public var cancelBlock: (() -> Swift.Void)? | ||
191 | - public var tipsLabel: UIKit.UILabel { | ||
192 | - get | ||
193 | - set(value) | ||
194 | - } | ||
195 | - public var bottomView: UIKit.UIView { | ||
196 | - get | ||
197 | - set(value) | ||
198 | - } | ||
199 | - public var largeCircleView: UIKit.UIVisualEffectView { | ||
200 | - get | ||
201 | - set(value) | ||
202 | - } | ||
203 | - public var smallCircleView: UIKit.UIView { | ||
204 | - get | ||
205 | - set(value) | ||
206 | - } | ||
207 | - public var animateLayer: QuartzCore.CAShapeLayer { | ||
208 | - get | ||
209 | - set(value) | ||
210 | - } | ||
211 | - public var retakeBtn: HHPhotoPicker.ZLEnlargeButton { | ||
212 | - get | ||
213 | - set(value) | ||
214 | - } | ||
215 | - public var doneBtn: UIKit.UIButton { | ||
216 | - get | ||
217 | - set(value) | ||
218 | - } | ||
219 | - public var dismissBtn: HHPhotoPicker.ZLEnlargeButton { | ||
220 | - get | ||
221 | - set(value) | ||
222 | - } | ||
223 | - public var switchCameraBtn: HHPhotoPicker.ZLEnlargeButton { | ||
224 | - get | ||
225 | - set(value) | ||
226 | - } | ||
227 | - public var focusCursorView: UIKit.UIImageView { | ||
228 | - get | ||
229 | - set(value) | ||
230 | - } | ||
231 | - public var takedImageView: UIKit.UIImageView { | ||
232 | - get | ||
233 | - set(value) | ||
234 | - } | ||
235 | - @objc override dynamic public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask { | ||
236 | - @objc get | ||
237 | - } | ||
238 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
239 | - @objc get | ||
240 | - } | ||
241 | - @objc deinit | ||
242 | - @objc dynamic public init() | ||
243 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
244 | - @objc override dynamic open func viewDidLoad() | ||
245 | - @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool) | ||
246 | - @objc override dynamic open func viewDidAppear(_ animated: Swift.Bool) | ||
247 | - @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool) | ||
248 | - @objc override dynamic open func viewDidDisappear(_ animated: Swift.Bool) | ||
249 | - @objc override dynamic open func viewDidLayoutSubviews() | ||
250 | - @objc public func animationDidStop(_ anim: QuartzCore.CAAnimation, finished flag: Swift.Bool) | ||
251 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
252 | -} | ||
253 | -extension ZLCustomCamera : AVFoundation.AVCapturePhotoCaptureDelegate { | ||
254 | - @objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings) | ||
255 | - @objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, didFinishProcessingPhoto photoSampleBuffer: CoreMedia.CMSampleBuffer?, previewPhoto previewPhotoSampleBuffer: CoreMedia.CMSampleBuffer?, resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings, bracketSettings: AVFoundation.AVCaptureBracketedStillImageSettings?, error: Swift.Error?) | ||
256 | -} | ||
257 | -extension ZLCustomCamera : AVFoundation.AVCaptureFileOutputRecordingDelegate { | ||
258 | - @objc dynamic public func fileOutput(_ output: AVFoundation.AVCaptureFileOutput, didStartRecordingTo fileURL: Foundation.URL, from connections: [AVFoundation.AVCaptureConnection]) | ||
259 | - @objc dynamic public func fileOutput(_ output: AVFoundation.AVCaptureFileOutput, didFinishRecordingTo outputFileURL: Foundation.URL, from connections: [AVFoundation.AVCaptureConnection], error: Swift.Error?) | ||
260 | -} | ||
261 | -extension ZLCustomCamera : UIKit.UIGestureRecognizerDelegate { | ||
262 | - @objc dynamic public func gestureRecognizer(_ gestureRecognizer: UIKit.UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
263 | -} | ||
264 | -@objc public protocol ZLImageStickerContainerDelegate { | ||
265 | - @objc var selectImageBlock: ((UIKit.UIImage) -> Swift.Void)? { get set } | ||
266 | - @objc var hideBlock: (() -> Swift.Void)? { get set } | ||
267 | - @objc func show(in view: UIKit.UIView) | ||
268 | -} | ||
269 | -@objc @_inheritsConvenienceInitializers public class ZLEditImageConfiguration : ObjectiveC.NSObject { | ||
270 | - @objc public enum EditTool : Swift.Int, Swift.CaseIterable { | ||
271 | - case draw | ||
272 | - case clip | ||
273 | - case imageSticker | ||
274 | - case textSticker | ||
275 | - case mosaic | ||
276 | - case filter | ||
277 | - case adjust | ||
278 | - public init?(rawValue: Swift.Int) | ||
279 | - public typealias AllCases = [HHPhotoPicker.ZLEditImageConfiguration.EditTool] | ||
280 | - public typealias RawValue = Swift.Int | ||
281 | - public static var allCases: [HHPhotoPicker.ZLEditImageConfiguration.EditTool] { | ||
282 | - get | ||
283 | - } | ||
284 | - public var rawValue: Swift.Int { | ||
285 | - get | ||
286 | - } | ||
287 | - } | ||
288 | - @objc public enum AdjustTool : Swift.Int, Swift.CaseIterable { | ||
289 | - case brightness | ||
290 | - case contrast | ||
291 | - case saturation | ||
292 | - public init?(rawValue: Swift.Int) | ||
293 | - public typealias AllCases = [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool] | ||
294 | - public typealias RawValue = Swift.Int | ||
295 | - public static var allCases: [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool] { | ||
296 | - get | ||
297 | - } | ||
298 | - public var rawValue: Swift.Int { | ||
299 | - get | ||
300 | - } | ||
301 | - } | ||
302 | - public var tools: [HHPhotoPicker.ZLEditImageConfiguration.EditTool] { | ||
303 | - get | ||
304 | - set(newValue) | ||
305 | - } | ||
306 | - @objc public var tools_objc: [Swift.Int] { | ||
307 | - @objc get | ||
308 | - @objc set(value) | ||
309 | - } | ||
310 | - @objc public var drawColors: [UIKit.UIColor] { | ||
311 | - @objc get | ||
312 | - @objc set(newValue) | ||
313 | - } | ||
314 | - @objc public var defaultDrawColor: UIKit.UIColor | ||
315 | - @objc public var clipRatios: [HHPhotoPicker.ZLImageClipRatio] { | ||
316 | - @objc get | ||
317 | - @objc set(newValue) | ||
318 | - } | ||
319 | - @objc public var textStickerTextColors: [UIKit.UIColor] { | ||
320 | - @objc get | ||
321 | - @objc set(newValue) | ||
322 | - } | ||
323 | - @objc public var textStickerDefaultTextColor: UIKit.UIColor | ||
324 | - @objc public var filters: [HHPhotoPicker.ZLFilter] { | ||
325 | - @objc get | ||
326 | - @objc set(newValue) | ||
327 | - } | ||
328 | - @objc public var imageStickerContainerView: (UIKit.UIView & HHPhotoPicker.ZLImageStickerContainerDelegate)? | ||
329 | - public var adjustTools: [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool] { | ||
330 | - get | ||
331 | - set(newValue) | ||
332 | - } | ||
333 | - @objc public var adjustTools_objc: [Swift.Int] { | ||
334 | - @objc get | ||
335 | - @objc set(value) | ||
336 | - } | ||
337 | - @objc public var impactFeedbackWhenAdjustSliderValueIsZero: Swift.Bool | ||
338 | - @objc public var impactFeedbackStyle: UIKit.UIImpactFeedbackGenerator.FeedbackStyle | ||
339 | - @objc override dynamic public init() | ||
340 | - @objc deinit | ||
341 | -} | ||
342 | -extension ZLEditImageConfiguration { | ||
343 | - @discardableResult | ||
344 | - public func tools(_ tools: [HHPhotoPicker.ZLEditImageConfiguration.EditTool]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
345 | - @discardableResult | ||
346 | - public func drawColors(_ colors: [UIKit.UIColor]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
347 | - public func defaultDrawColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLEditImageConfiguration | ||
348 | - @discardableResult | ||
349 | - public func clipRatios(_ ratios: [HHPhotoPicker.ZLImageClipRatio]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
350 | - @discardableResult | ||
351 | - public func textStickerTextColors(_ colors: [UIKit.UIColor]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
352 | - @discardableResult | ||
353 | - public func textStickerDefaultTextColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLEditImageConfiguration | ||
354 | - @discardableResult | ||
355 | - public func filters(_ filters: [HHPhotoPicker.ZLFilter]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
356 | - @discardableResult | ||
357 | - public func imageStickerContainerView(_ view: (UIKit.UIView & HHPhotoPicker.ZLImageStickerContainerDelegate)?) -> HHPhotoPicker.ZLEditImageConfiguration | ||
358 | - @discardableResult | ||
359 | - public func adjustTools(_ tools: [HHPhotoPicker.ZLEditImageConfiguration.AdjustTool]) -> HHPhotoPicker.ZLEditImageConfiguration | ||
360 | - @discardableResult | ||
361 | - public func impactFeedbackWhenAdjustSliderValueIsZero(_ value: Swift.Bool) -> HHPhotoPicker.ZLEditImageConfiguration | ||
362 | - @discardableResult | ||
363 | - public func impactFeedbackStyle(_ style: UIKit.UIImpactFeedbackGenerator.FeedbackStyle) -> HHPhotoPicker.ZLEditImageConfiguration | ||
364 | -} | ||
365 | -@objc public class ZLImageClipRatio : ObjectiveC.NSObject { | ||
366 | - public var title: Swift.String | ||
367 | - final public let whRatio: CoreGraphics.CGFloat | ||
368 | - @objc public init(title: Swift.String, whRatio: CoreGraphics.CGFloat, isCircle: Swift.Bool = false) | ||
369 | - @objc override dynamic public init() | ||
370 | - @objc deinit | ||
371 | -} | ||
372 | -extension ZLImageClipRatio { | ||
373 | - @objc public static var custom: HHPhotoPicker.ZLImageClipRatio | ||
374 | - @objc public static var circle: HHPhotoPicker.ZLImageClipRatio | ||
375 | - @objc public static var wh1x1: HHPhotoPicker.ZLImageClipRatio | ||
376 | - @objc public static var wh3x4: HHPhotoPicker.ZLImageClipRatio | ||
377 | - @objc public static var wh4x3: HHPhotoPicker.ZLImageClipRatio | ||
378 | - @objc public static var wh2x3: HHPhotoPicker.ZLImageClipRatio | ||
379 | - @objc public static var wh3x2: HHPhotoPicker.ZLImageClipRatio | ||
380 | - @objc public static var wh9x16: HHPhotoPicker.ZLImageClipRatio | ||
381 | - @objc public static var wh16x9: HHPhotoPicker.ZLImageClipRatio | ||
382 | -} | ||
383 | -@objc public class ZLEditImageModel : ObjectiveC.NSObject { | ||
384 | - final public let drawPaths: [HHPhotoPicker.ZLDrawPath] | ||
385 | - final public let mosaicPaths: [HHPhotoPicker.ZLMosaicPath] | ||
386 | - final public let editRect: CoreGraphics.CGRect? | ||
387 | - final public let angle: CoreGraphics.CGFloat | ||
388 | - final public let brightness: Swift.Float | ||
389 | - final public let contrast: Swift.Float | ||
390 | - final public let saturation: Swift.Float | ||
391 | - final public let selectRatio: HHPhotoPicker.ZLImageClipRatio? | ||
392 | - final public let selectFilter: HHPhotoPicker.ZLFilter? | ||
393 | - final public let textStickers: [(state: HHPhotoPicker.ZLTextStickerState, index: Swift.Int)]? | ||
394 | - final public let imageStickers: [(state: HHPhotoPicker.ZLImageStickerState, index: Swift.Int)]? | ||
395 | - public init(drawPaths: [HHPhotoPicker.ZLDrawPath], mosaicPaths: [HHPhotoPicker.ZLMosaicPath], editRect: CoreGraphics.CGRect?, angle: CoreGraphics.CGFloat, brightness: Swift.Float, contrast: Swift.Float, saturation: Swift.Float, selectRatio: HHPhotoPicker.ZLImageClipRatio?, selectFilter: HHPhotoPicker.ZLFilter, textStickers: [(state: HHPhotoPicker.ZLTextStickerState, index: Swift.Int)]?, imageStickers: [(state: HHPhotoPicker.ZLImageStickerState, index: Swift.Int)]?) | ||
396 | - @objc override dynamic public init() | ||
397 | - @objc deinit | ||
398 | -} | ||
399 | -@objc open class ZLEditImageViewController : UIKit.UIViewController { | ||
400 | - @objc public var drawColViewH: CoreGraphics.CGFloat | ||
401 | - @objc public var filterColViewH: CoreGraphics.CGFloat | ||
402 | - @objc public var adjustColViewH: CoreGraphics.CGFloat | ||
403 | - @objc public var ashbinNormalBgColor: UIKit.UIColor | ||
404 | - @objc public var cancelBtn: HHPhotoPicker.ZLEnlargeButton { | ||
405 | - @objc get | ||
406 | - @objc set(value) | ||
407 | - } | ||
408 | - @objc public var mainScrollView: UIKit.UIScrollView { | ||
409 | - @objc get | ||
410 | - @objc set(value) | ||
411 | - } | ||
412 | - @objc public var topShadowView: UIKit.UIView { | ||
413 | - @objc get | ||
414 | - @objc set(value) | ||
415 | - } | ||
416 | - @objc public var topShadowLayer: QuartzCore.CAGradientLayer { | ||
417 | - @objc get | ||
418 | - @objc set(value) | ||
419 | - } | ||
420 | - @objc public var bottomShadowView: UIKit.UIView | ||
421 | - @objc public var bottomShadowLayer: QuartzCore.CAGradientLayer | ||
422 | - @objc public var doneBtn: UIKit.UIButton | ||
423 | - @objc public var revokeBtn: UIKit.UIButton | ||
424 | - @objc public var ashbinView: UIKit.UIView { | ||
425 | - @objc get | ||
426 | - @objc set(value) | ||
427 | - } | ||
428 | - @objc public var ashbinImgView: UIKit.UIImageView { | ||
429 | - @objc get | ||
430 | - @objc set(value) | ||
431 | - } | ||
432 | - @objc public var drawLineWidth: CoreGraphics.CGFloat | ||
433 | - @objc public var mosaicLineWidth: CoreGraphics.CGFloat | ||
434 | - @objc public var editFinishBlock: ((UIKit.UIImage, HHPhotoPicker.ZLEditImageModel?) -> Swift.Void)? | ||
435 | - @objc public var cancelEditBlock: (() -> Swift.Void)? | ||
436 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
437 | - @objc get | ||
438 | - } | ||
439 | - @objc override dynamic public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask { | ||
440 | - @objc get | ||
441 | - } | ||
442 | - @objc deinit | ||
443 | - @objc public class func showEditImageVC(parentVC: UIKit.UIViewController?, animate: Swift.Bool = false, image: UIKit.UIImage, editModel: HHPhotoPicker.ZLEditImageModel? = nil, cancel: (() -> Swift.Void)? = nil, completion: ((UIKit.UIImage, HHPhotoPicker.ZLEditImageModel?) -> Swift.Void)?) | ||
444 | - @objc public init(image: UIKit.UIImage, editModel: HHPhotoPicker.ZLEditImageModel? = nil) | ||
445 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
446 | - @objc override dynamic open func viewDidLoad() | ||
447 | - @objc override dynamic open func viewDidLayoutSubviews() | ||
448 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
449 | -} | ||
450 | -extension ZLEditImageViewController : UIKit.UIGestureRecognizerDelegate { | ||
451 | - @objc dynamic public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
452 | -} | ||
453 | -extension ZLEditImageViewController : UIKit.UIScrollViewDelegate { | ||
454 | - @objc dynamic public func viewForZooming(in scrollView: UIKit.UIScrollView) -> UIKit.UIView? | ||
455 | - @objc dynamic public func scrollViewDidZoom(_ scrollView: UIKit.UIScrollView) | ||
456 | - @objc dynamic public func scrollViewDidEndZooming(_ scrollView: UIKit.UIScrollView, with view: UIKit.UIView?, atScale scale: CoreGraphics.CGFloat) | ||
457 | - @objc dynamic public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView) | ||
458 | - @objc dynamic public func scrollViewDidEndDragging(_ scrollView: UIKit.UIScrollView, willDecelerate decelerate: Swift.Bool) | ||
459 | - @objc dynamic public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView) | ||
460 | - @objc dynamic public func scrollViewDidEndScrollingAnimation(_ scrollView: UIKit.UIScrollView) | ||
461 | -} | ||
462 | -extension ZLEditImageViewController : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate { | ||
463 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
464 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
465 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, didSelectItemAt indexPath: Foundation.IndexPath) | ||
466 | -} | ||
467 | -@objc @_hasMissingDesignatedInitializers public class ZLDrawPath : ObjectiveC.NSObject { | ||
468 | - @objc override dynamic public init() | ||
469 | - @objc deinit | ||
470 | -} | ||
471 | -@objc @_hasMissingDesignatedInitializers public class ZLMosaicPath : ObjectiveC.NSObject { | ||
472 | - @objc override dynamic public init() | ||
473 | - @objc deinit | ||
474 | -} | ||
475 | -@objc @_hasMissingDesignatedInitializers public class ZLEditVideoViewController : UIKit.UIViewController { | ||
476 | - @objc public var editFinishBlock: ((Foundation.URL?) -> Swift.Void)? | ||
477 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
478 | - @objc get | ||
479 | - } | ||
480 | - @objc override dynamic public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask { | ||
481 | - @objc get | ||
482 | - } | ||
483 | - @objc deinit | ||
484 | - @objc public init(avAsset: AVFoundation.AVAsset, animateDismiss: Swift.Bool = false) | ||
485 | - @objc override dynamic public func viewDidLoad() | ||
486 | - @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) | ||
487 | - @objc override dynamic public func viewDidLayoutSubviews() | ||
488 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
489 | -} | ||
490 | -extension ZLEditVideoViewController : UIKit.UIGestureRecognizerDelegate { | ||
491 | - @objc dynamic public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
492 | -} | ||
493 | -extension ZLEditVideoViewController : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegateFlowLayout { | ||
494 | - @objc dynamic public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView) | ||
495 | - @objc dynamic public func scrollViewDidEndDragging(_ scrollView: UIKit.UIScrollView, willDecelerate decelerate: Swift.Bool) | ||
496 | - @objc dynamic public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView) | ||
497 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, insetForSectionAt section: Swift.Int) -> UIKit.UIEdgeInsets | ||
498 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
499 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
500 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
501 | -} | ||
502 | -@objc @_inheritsConvenienceInitializers public class ZLEnlargeButton : UIKit.UIButton { | ||
503 | - public var enlargeInsets: UIKit.UIEdgeInsets | ||
504 | - public var enlargeInset: CoreGraphics.CGFloat { | ||
505 | - get | ||
506 | - set(value) | ||
507 | - } | ||
508 | - @objc override dynamic public func point(inside point: CoreGraphics.CGPoint, with event: UIKit.UIEvent?) -> Swift.Bool | ||
509 | - @objc override dynamic public init(frame: CoreGraphics.CGRect) | ||
510 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
511 | - @objc deinit | ||
512 | -} | ||
513 | -public typealias ZLFilterApplierType = ((UIKit.UIImage) -> UIKit.UIImage) | ||
514 | -@objc public enum ZLFilterType : Swift.Int { | ||
515 | - case normal | ||
516 | - case chrome | ||
517 | - case fade | ||
518 | - case instant | ||
519 | - case process | ||
520 | - case transfer | ||
521 | - case tone | ||
522 | - case linear | ||
523 | - case sepia | ||
524 | - case mono | ||
525 | - case noir | ||
526 | - case tonal | ||
527 | - public init?(rawValue: Swift.Int) | ||
528 | - public typealias RawValue = Swift.Int | ||
529 | - public var rawValue: Swift.Int { | ||
530 | - get | ||
531 | - } | ||
532 | -} | ||
533 | -@objc public class ZLFilter : ObjectiveC.NSObject { | ||
534 | - public var name: Swift.String | ||
535 | - @objc public init(name: Swift.String, filterType: HHPhotoPicker.ZLFilterType) | ||
536 | - @objc public init(name: Swift.String, applier: HHPhotoPicker.ZLFilterApplierType?) | ||
537 | - @objc override dynamic public init() | ||
538 | - @objc deinit | ||
539 | -} | ||
540 | -extension ZLFilter { | ||
541 | - @objc public static var all: [HHPhotoPicker.ZLFilter] | ||
542 | - @objc public static var normal: HHPhotoPicker.ZLFilter | ||
543 | - @objc public static var clarendon: HHPhotoPicker.ZLFilter | ||
544 | - @objc public static var nashville: HHPhotoPicker.ZLFilter | ||
545 | - @objc public static var apply1977: HHPhotoPicker.ZLFilter | ||
546 | - @objc public static var toaster: HHPhotoPicker.ZLFilter | ||
547 | - @objc public static var chrome: HHPhotoPicker.ZLFilter | ||
548 | - @objc public static var fade: HHPhotoPicker.ZLFilter | ||
549 | - @objc public static var instant: HHPhotoPicker.ZLFilter | ||
550 | - @objc public static var process: HHPhotoPicker.ZLFilter | ||
551 | - @objc public static var transfer: HHPhotoPicker.ZLFilter | ||
552 | - @objc public static var tone: HHPhotoPicker.ZLFilter | ||
553 | - @objc public static var linear: HHPhotoPicker.ZLFilter | ||
554 | - @objc public static var sepia: HHPhotoPicker.ZLFilter | ||
555 | - @objc public static var mono: HHPhotoPicker.ZLFilter | ||
556 | - @objc public static var noir: HHPhotoPicker.ZLFilter | ||
557 | - @objc public static var tonal: HHPhotoPicker.ZLFilter | ||
558 | -} | ||
559 | -@objc public enum ZLURLType : Swift.Int { | ||
560 | - case image | ||
561 | - case video | ||
562 | - public init?(rawValue: Swift.Int) | ||
563 | - public typealias RawValue = Swift.Int | ||
564 | - public var rawValue: Swift.Int { | ||
565 | - get | ||
566 | - } | ||
567 | -} | ||
568 | -@objc @_hasMissingDesignatedInitializers public class ZLImagePreviewController : UIKit.UIViewController { | ||
569 | - @objc public var longPressBlock: ((HHPhotoPicker.ZLImagePreviewController?, UIKit.UIImage?, Swift.Int) -> Swift.Void)? | ||
570 | - @objc public var doneBlock: (([Any]) -> Swift.Void)? | ||
571 | - @objc public var videoHttpHeader: [Swift.String : Any]? | ||
572 | - @objc override dynamic public var prefersStatusBarHidden: Swift.Bool { | ||
573 | - @objc get | ||
574 | - } | ||
575 | - @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { | ||
576 | - @objc get | ||
577 | - } | ||
578 | - @objc public init(datas: [Any], index: Swift.Int = 0, showSelectBtn: Swift.Bool = true, showBottomView: Swift.Bool = true, urlType: ((Foundation.URL) -> HHPhotoPicker.ZLURLType)? = nil, urlImageLoader: ((Foundation.URL, UIKit.UIImageView, @escaping (CoreGraphics.CGFloat) -> Swift.Void, @escaping () -> Swift.Void) -> Swift.Void)? = nil) | ||
579 | - @objc override dynamic public func viewDidLoad() | ||
580 | - @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) | ||
581 | - @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) | ||
582 | - @objc override dynamic public func viewDidLayoutSubviews() | ||
583 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
584 | - @objc deinit | ||
585 | -} | ||
586 | -extension ZLImagePreviewController { | ||
587 | - @objc dynamic public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView) | ||
588 | - @objc dynamic public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView) | ||
589 | -} | ||
590 | -extension ZLImagePreviewController : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegateFlowLayout { | ||
591 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Swift.Int) -> CoreGraphics.CGFloat | ||
592 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, minimumLineSpacingForSectionAt section: Swift.Int) -> CoreGraphics.CGFloat | ||
593 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, insetForSectionAt section: Swift.Int) -> UIKit.UIEdgeInsets | ||
594 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, sizeForItemAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGSize | ||
595 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
596 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
597 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, didEndDisplaying cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
598 | -} | ||
599 | -@objc @_hasMissingDesignatedInitializers public class ZLImageStickerState : ObjectiveC.NSObject { | ||
600 | - @objc override dynamic public init() | ||
601 | - @objc deinit | ||
602 | -} | ||
603 | -@objc public enum ZLLanguageType : Swift.Int { | ||
604 | - case system | ||
605 | - case chineseSimplified | ||
606 | - case chineseTraditional | ||
607 | - case english | ||
608 | - case japanese | ||
609 | - case french | ||
610 | - case german | ||
611 | - case russian | ||
612 | - case vietnamese | ||
613 | - case korean | ||
614 | - case malay | ||
615 | - case italian | ||
616 | - case indonesian | ||
617 | - case portuguese | ||
618 | - case spanish | ||
619 | - case turkish | ||
620 | - public init?(rawValue: Swift.Int) | ||
621 | - public typealias RawValue = Swift.Int | ||
622 | - public var rawValue: Swift.Int { | ||
623 | - get | ||
624 | - } | ||
625 | -} | ||
626 | -public struct ZLLocalLanguageKey : Swift.Hashable { | ||
627 | - public let rawValue: Swift.String | ||
628 | - public init(rawValue: Swift.String) | ||
629 | - public static var previewCamera: HHPhotoPicker.ZLLocalLanguageKey | ||
630 | - public static var previewCameraRecord: HHPhotoPicker.ZLLocalLanguageKey | ||
631 | - public static var previewAlbum: HHPhotoPicker.ZLLocalLanguageKey | ||
632 | - public static var cancel: HHPhotoPicker.ZLLocalLanguageKey | ||
633 | - public static var noPhotoTips: HHPhotoPicker.ZLLocalLanguageKey | ||
634 | - public static var loading: HHPhotoPicker.ZLLocalLanguageKey | ||
635 | - public static var hudLoading: HHPhotoPicker.ZLLocalLanguageKey | ||
636 | - public static var done: HHPhotoPicker.ZLLocalLanguageKey | ||
637 | - public static var ok: HHPhotoPicker.ZLLocalLanguageKey | ||
638 | - public static var timeout: HHPhotoPicker.ZLLocalLanguageKey | ||
639 | - public static var noPhotoLibratyAuthority: HHPhotoPicker.ZLLocalLanguageKey | ||
640 | - public static var noCameraAuthority: HHPhotoPicker.ZLLocalLanguageKey | ||
641 | - public static var noMicrophoneAuthority: HHPhotoPicker.ZLLocalLanguageKey | ||
642 | - public static var cameraUnavailable: HHPhotoPicker.ZLLocalLanguageKey | ||
643 | - public static var keepRecording: HHPhotoPicker.ZLLocalLanguageKey | ||
644 | - public static var gotoSettings: HHPhotoPicker.ZLLocalLanguageKey | ||
645 | - public static var photo: HHPhotoPicker.ZLLocalLanguageKey | ||
646 | - public static var originalPhoto: HHPhotoPicker.ZLLocalLanguageKey | ||
647 | - public static var back: HHPhotoPicker.ZLLocalLanguageKey | ||
648 | - public static var edit: HHPhotoPicker.ZLLocalLanguageKey | ||
649 | - public static var editFinish: HHPhotoPicker.ZLLocalLanguageKey | ||
650 | - public static var revert: HHPhotoPicker.ZLLocalLanguageKey | ||
651 | - public static var brightness: HHPhotoPicker.ZLLocalLanguageKey | ||
652 | - public static var contrast: HHPhotoPicker.ZLLocalLanguageKey | ||
653 | - public static var saturation: HHPhotoPicker.ZLLocalLanguageKey | ||
654 | - public static var preview: HHPhotoPicker.ZLLocalLanguageKey | ||
655 | - public static var notAllowMixSelect: HHPhotoPicker.ZLLocalLanguageKey | ||
656 | - public static var save: HHPhotoPicker.ZLLocalLanguageKey | ||
657 | - public static var saveImageError: HHPhotoPicker.ZLLocalLanguageKey | ||
658 | - public static var saveVideoError: HHPhotoPicker.ZLLocalLanguageKey | ||
659 | - public static var exceededMaxSelectCount: HHPhotoPicker.ZLLocalLanguageKey | ||
660 | - public static var exceededMaxVideoSelectCount: HHPhotoPicker.ZLLocalLanguageKey | ||
661 | - public static var lessThanMinVideoSelectCount: HHPhotoPicker.ZLLocalLanguageKey | ||
662 | - public static var longerThanMaxVideoDuration: HHPhotoPicker.ZLLocalLanguageKey | ||
663 | - public static var shorterThanMaxVideoDuration: HHPhotoPicker.ZLLocalLanguageKey | ||
664 | - public static var iCloudVideoLoadFaild: HHPhotoPicker.ZLLocalLanguageKey | ||
665 | - public static var imageLoadFailed: HHPhotoPicker.ZLLocalLanguageKey | ||
666 | - public static var customCameraTips: HHPhotoPicker.ZLLocalLanguageKey | ||
667 | - public static var customCameraTakePhotoTips: HHPhotoPicker.ZLLocalLanguageKey | ||
668 | - public static var customCameraRecordVideoTips: HHPhotoPicker.ZLLocalLanguageKey | ||
669 | - public static var minRecordTimeTips: HHPhotoPicker.ZLLocalLanguageKey | ||
670 | - public static var cameraRoll: HHPhotoPicker.ZLLocalLanguageKey | ||
671 | - public static var panoramas: HHPhotoPicker.ZLLocalLanguageKey | ||
672 | - public static var videos: HHPhotoPicker.ZLLocalLanguageKey | ||
673 | - public static var favorites: HHPhotoPicker.ZLLocalLanguageKey | ||
674 | - public static var timelapses: HHPhotoPicker.ZLLocalLanguageKey | ||
675 | - public static var recentlyAdded: HHPhotoPicker.ZLLocalLanguageKey | ||
676 | - public static var bursts: HHPhotoPicker.ZLLocalLanguageKey | ||
677 | - public static var slomoVideos: HHPhotoPicker.ZLLocalLanguageKey | ||
678 | - public static var selfPortraits: HHPhotoPicker.ZLLocalLanguageKey | ||
679 | - public static var screenshots: HHPhotoPicker.ZLLocalLanguageKey | ||
680 | - public static var depthEffect: HHPhotoPicker.ZLLocalLanguageKey | ||
681 | - public static var livePhotos: HHPhotoPicker.ZLLocalLanguageKey | ||
682 | - public static var animated: HHPhotoPicker.ZLLocalLanguageKey | ||
683 | - public static var myPhotoStream: HHPhotoPicker.ZLLocalLanguageKey | ||
684 | - public static var noTitleAlbumListPlaceholder: HHPhotoPicker.ZLLocalLanguageKey | ||
685 | - public static var unableToAccessAllPhotos: HHPhotoPicker.ZLLocalLanguageKey | ||
686 | - public static var textStickerRemoveTips: HHPhotoPicker.ZLLocalLanguageKey | ||
687 | - public func hash(into hasher: inout Swift.Hasher) | ||
688 | - public static func == (a: HHPhotoPicker.ZLLocalLanguageKey, b: HHPhotoPicker.ZLLocalLanguageKey) -> Swift.Bool | ||
689 | - public var hashValue: Swift.Int { | ||
690 | - get | ||
691 | - } | ||
692 | -} | ||
693 | -public typealias Second = Swift.Int | ||
694 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoConfiguration : ObjectiveC.NSObject { | ||
695 | - @objc public class func `default`() -> HHPhotoPicker.ZLPhotoConfiguration | ||
696 | - @objc public class func resetConfiguration() | ||
697 | - @objc public var sortAscending: Swift.Bool | ||
698 | - @objc public var maxSelectCount: Swift.Int { | ||
699 | - @objc get | ||
700 | - @objc set(newValue) | ||
701 | - } | ||
702 | - @objc public var maxVideoSelectCount: Swift.Int { | ||
703 | - @objc get | ||
704 | - @objc set(newValue) | ||
705 | - } | ||
706 | - @objc public var minVideoSelectCount: Swift.Int { | ||
707 | - @objc get | ||
708 | - @objc set(newValue) | ||
709 | - } | ||
710 | - @objc public var allowMixSelect: Swift.Bool | ||
711 | - @objc public var maxPreviewCount: Swift.Int | ||
712 | - @objc public var cellCornerRadio: CoreGraphics.CGFloat | ||
713 | - @objc public var allowSelectImage: Swift.Bool | ||
714 | - @objc public var allowSelectVideo: Swift.Bool | ||
715 | - @objc public var allowSelectGif: Swift.Bool | ||
716 | - @objc public var allowSelectLivePhoto: Swift.Bool | ||
717 | - @objc public var allowTakePhotoInLibrary: Swift.Bool { | ||
718 | - @objc get | ||
719 | - @objc set(newValue) | ||
720 | - } | ||
721 | - @objc public var allowEditImage: Swift.Bool { | ||
722 | - @objc get | ||
723 | - @objc set(newValue) | ||
724 | - } | ||
725 | - @objc public var allowEditVideo: Swift.Bool { | ||
726 | - @objc get | ||
727 | - @objc set(newValue) | ||
728 | - } | ||
729 | - @objc public var animateSelectBtnWhenSelect: Swift.Bool | ||
730 | - @objc public var selectBtnAnimationDuration: Swift.Double | ||
731 | - @objc public var editAfterSelectThumbnailImage: Swift.Bool | ||
732 | - @objc public var cropVideoAfterSelectThumbnail: Swift.Bool | ||
733 | - @objc public var showClipDirectlyIfOnlyHasClipTool: Swift.Bool | ||
734 | - @objc public var saveNewImageAfterEdit: Swift.Bool | ||
735 | - @objc public var allowSlideSelect: Swift.Bool | ||
736 | - @objc public var autoScrollWhenSlideSelectIsActive: Swift.Bool | ||
737 | - @objc public var autoScrollMaxSpeed: CoreGraphics.CGFloat | ||
738 | - @objc public var allowDragSelect: Swift.Bool | ||
739 | - @objc public var allowSelectOriginal: Swift.Bool | ||
740 | - @objc public var allowPreviewPhotos: Swift.Bool | ||
741 | - @objc public var showPreviewButtonInAlbum: Swift.Bool | ||
742 | - @objc public var showSelectCountOnDoneBtn: Swift.Bool | ||
743 | - @objc public var columnCount: Swift.Int { | ||
744 | - @objc get | ||
745 | - @objc set(newValue) | ||
746 | - } | ||
747 | - @objc public var maxEditVideoTime: Swift.Int | ||
748 | - @objc public var maxSelectVideoDuration: Swift.Int | ||
749 | - @objc public var minSelectVideoDuration: Swift.Int | ||
750 | - @objc public var editImageConfiguration: HHPhotoPicker.ZLEditImageConfiguration | ||
751 | - @objc public var showCaptureImageOnTakePhotoBtn: Swift.Bool | ||
752 | - @objc public var showSelectBtnWhenSingleSelect: Swift.Bool | ||
753 | - @objc public var showSelectedMask: Swift.Bool | ||
754 | - @objc public var showSelectedBorder: Swift.Bool | ||
755 | - @objc public var showInvalidMask: Swift.Bool | ||
756 | - @objc public var showSelectedIndex: Swift.Bool | ||
757 | - @objc public var showSelectedPhotoPreview: Swift.Bool | ||
758 | - @objc public var shouldAnialysisAsset: Swift.Bool | ||
759 | - @objc public var timeout: Swift.Double | ||
760 | - @objc public var languageType: HHPhotoPicker.ZLLanguageType { | ||
761 | - @objc get | ||
762 | - @objc set(value) | ||
763 | - } | ||
764 | - @objc public var useCustomCamera: Swift.Bool | ||
765 | - @objc public var allowTakePhoto: Swift.Bool { | ||
766 | - @objc get | ||
767 | - @objc set(newValue) | ||
768 | - } | ||
769 | - @objc public var allowRecordVideo: Swift.Bool { | ||
770 | - @objc get | ||
771 | - @objc set(newValue) | ||
772 | - } | ||
773 | - @objc public var minRecordDuration: HHPhotoPicker.Second { | ||
774 | - @objc get | ||
775 | - @objc set(newValue) | ||
776 | - } | ||
777 | - @objc public var maxRecordDuration: HHPhotoPicker.Second { | ||
778 | - @objc get | ||
779 | - @objc set(newValue) | ||
780 | - } | ||
781 | - @objc public var cameraConfiguration: HHPhotoPicker.ZLCameraConfiguration | ||
782 | - @objc public var hudStyle: HHPhotoPicker.ZLProgressHUD.HUDStyle | ||
783 | - @objc public var canSelectAsset: ((Photos.PHAsset) -> Swift.Bool)? | ||
784 | - @objc public var showAddPhotoButton: Swift.Bool | ||
785 | - @objc public var showEnterSettingTips: Swift.Bool | ||
786 | - @objc public var noAuthorityCallback: ((HHPhotoPicker.ZLNoAuthorityType) -> Swift.Void)? | ||
787 | - @objc public var operateBeforeDoneAction: ((UIKit.UIViewController, @escaping () -> Swift.Void) -> Swift.Void)? | ||
788 | - @objc override dynamic public init() | ||
789 | - @objc deinit | ||
790 | -} | ||
791 | -@objc public enum ZLNoAuthorityType : Swift.Int { | ||
792 | - case library | ||
793 | - case camera | ||
794 | - case microphone | ||
795 | - public init?(rawValue: Swift.Int) | ||
796 | - public typealias RawValue = Swift.Int | ||
797 | - public var rawValue: Swift.Int { | ||
798 | - get | ||
799 | - } | ||
800 | -} | ||
801 | -extension ZLPhotoConfiguration { | ||
802 | - @discardableResult | ||
803 | - public func sortAscending(_ ascending: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
804 | - @discardableResult | ||
805 | - public func maxSelectCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
806 | - @discardableResult | ||
807 | - public func maxVideoSelectCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
808 | - @discardableResult | ||
809 | - public func minVideoSelectCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
810 | - @discardableResult | ||
811 | - public func allowMixSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
812 | - @discardableResult | ||
813 | - public func maxPreviewCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
814 | - @discardableResult | ||
815 | - public func cellCornerRadio(_ cornerRadio: CoreGraphics.CGFloat) -> HHPhotoPicker.ZLPhotoConfiguration | ||
816 | - @discardableResult | ||
817 | - public func allowSelectImage(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
818 | - @discardableResult | ||
819 | - @objc dynamic public func allowSelectVideo(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
820 | - @discardableResult | ||
821 | - public func allowSelectGif(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
822 | - @discardableResult | ||
823 | - public func allowSelectLivePhoto(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
824 | - @discardableResult | ||
825 | - public func allowTakePhotoInLibrary(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
826 | - @discardableResult | ||
827 | - public func allowEditImage(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
828 | - @discardableResult | ||
829 | - public func allowEditVideo(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
830 | - @discardableResult | ||
831 | - public func animateSelectBtnWhenSelect(_ animate: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
832 | - @discardableResult | ||
833 | - public func selectBtnAnimationDuration(_ duration: CoreFoundation.CFTimeInterval) -> HHPhotoPicker.ZLPhotoConfiguration | ||
834 | - @discardableResult | ||
835 | - public func editAfterSelectThumbnailImage(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
836 | - @discardableResult | ||
837 | - public func cropVideoAfterSelectThumbnail(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
838 | - @discardableResult | ||
839 | - public func showClipDirectlyIfOnlyHasClipTool(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
840 | - @discardableResult | ||
841 | - public func saveNewImageAfterEdit(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
842 | - @discardableResult | ||
843 | - public func allowSlideSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
844 | - @discardableResult | ||
845 | - public func autoScrollWhenSlideSelectIsActive(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
846 | - @discardableResult | ||
847 | - public func autoScrollMaxSpeed(_ speed: CoreGraphics.CGFloat) -> HHPhotoPicker.ZLPhotoConfiguration | ||
848 | - @discardableResult | ||
849 | - public func allowDragSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
850 | - @discardableResult | ||
851 | - public func allowSelectOriginal(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
852 | - @discardableResult | ||
853 | - public func allowPreviewPhotos(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
854 | - @discardableResult | ||
855 | - public func showPreviewButtonInAlbum(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
856 | - @discardableResult | ||
857 | - public func showSelectCountOnDoneBtn(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
858 | - @discardableResult | ||
859 | - public func columnCount(_ count: Swift.Int) -> HHPhotoPicker.ZLPhotoConfiguration | ||
860 | - @discardableResult | ||
861 | - public func maxEditVideoTime(_ second: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
862 | - @discardableResult | ||
863 | - public func maxSelectVideoDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
864 | - @discardableResult | ||
865 | - public func minSelectVideoDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
866 | - @discardableResult | ||
867 | - public func editImageConfiguration(_ configuration: HHPhotoPicker.ZLEditImageConfiguration) -> HHPhotoPicker.ZLPhotoConfiguration | ||
868 | - @discardableResult | ||
869 | - public func showCaptureImageOnTakePhotoBtn(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
870 | - @discardableResult | ||
871 | - public func showSelectBtnWhenSingleSelect(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
872 | - @discardableResult | ||
873 | - public func showSelectedMask(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
874 | - @discardableResult | ||
875 | - public func showSelectedBorder(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
876 | - @discardableResult | ||
877 | - public func showInvalidMask(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
878 | - @discardableResult | ||
879 | - public func showSelectedIndex(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
880 | - @discardableResult | ||
881 | - public func showSelectedPhotoPreview(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
882 | - @discardableResult | ||
883 | - public func shouldAnialysisAsset(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
884 | - @discardableResult | ||
885 | - public func timeout(_ timeout: Foundation.TimeInterval) -> HHPhotoPicker.ZLPhotoConfiguration | ||
886 | - @discardableResult | ||
887 | - public func languageType(_ type: HHPhotoPicker.ZLLanguageType) -> HHPhotoPicker.ZLPhotoConfiguration | ||
888 | - @discardableResult | ||
889 | - public func useCustomCamera(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
890 | - @discardableResult | ||
891 | - public func allowTakePhoto(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
892 | - @discardableResult | ||
893 | - public func allowRecordVideo(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
894 | - @discardableResult | ||
895 | - public func minRecordDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
896 | - @discardableResult | ||
897 | - public func maxRecordDuration(_ duration: HHPhotoPicker.Second) -> HHPhotoPicker.ZLPhotoConfiguration | ||
898 | - @discardableResult | ||
899 | - public func cameraConfiguration(_ configuration: HHPhotoPicker.ZLCameraConfiguration) -> HHPhotoPicker.ZLPhotoConfiguration | ||
900 | - @discardableResult | ||
901 | - public func hudStyle(_ style: HHPhotoPicker.ZLProgressHUD.HUDStyle) -> HHPhotoPicker.ZLPhotoConfiguration | ||
902 | - @discardableResult | ||
903 | - @objc dynamic public func canSelectAsset(_ block: ((Photos.PHAsset) -> Swift.Bool)?) -> HHPhotoPicker.ZLPhotoConfiguration | ||
904 | - @discardableResult | ||
905 | - @objc dynamic public func showAddPhotoButton(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
906 | - @discardableResult | ||
907 | - @objc dynamic public func showEnterSettingTips(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoConfiguration | ||
908 | - @discardableResult | ||
909 | - @objc dynamic public func noAuthorityCallback(_ callback: ((HHPhotoPicker.ZLNoAuthorityType) -> Swift.Void)?) -> HHPhotoPicker.ZLPhotoConfiguration | ||
910 | - @discardableResult | ||
911 | - @objc dynamic public func operateBeforeDoneAction(_ block: ((UIKit.UIViewController, @escaping () -> Swift.Void) -> Swift.Void)?) -> HHPhotoPicker.ZLPhotoConfiguration | ||
912 | -} | ||
913 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoManager : ObjectiveC.NSObject { | ||
914 | - @objc public class func saveImageToAlbum(image: UIKit.UIImage, completion: ((Swift.Bool, Photos.PHAsset?) -> Swift.Void)?) | ||
915 | - @objc public class func saveVideoToAlbum(url: Foundation.URL, completion: ((Swift.Bool, Photos.PHAsset?) -> Swift.Void)?) | ||
916 | - @objc public class func fetchPhoto(in result: Photos.PHFetchResult<Photos.PHAsset>, ascending: Swift.Bool, allowSelectImage: Swift.Bool, allowSelectVideo: Swift.Bool, limitCount: Swift.Int = .max) -> [HHPhotoPicker.ZLPhotoModel] | ||
917 | - @objc public class func getPhotoAlbumList(ascending: Swift.Bool, allowSelectImage: Swift.Bool, allowSelectVideo: Swift.Bool, completion: ([HHPhotoPicker.ZLAlbumListModel]) -> Swift.Void) | ||
918 | - @objc public class func getCameraRollAlbum(allowSelectImage: Swift.Bool, allowSelectVideo: Swift.Bool, completion: @escaping (HHPhotoPicker.ZLAlbumListModel) -> Swift.Void) | ||
919 | - @discardableResult | ||
920 | - @objc public class func fetchImage(for asset: Photos.PHAsset, size: CoreGraphics.CGSize, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (UIKit.UIImage?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
921 | - @discardableResult | ||
922 | - @objc public class func fetchOriginalImage(for asset: Photos.PHAsset, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (UIKit.UIImage?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
923 | - @discardableResult | ||
924 | - @objc public class func fetchOriginalImageData(for asset: Photos.PHAsset, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (Foundation.Data, [Swift.AnyHashable : Any]?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
925 | - @objc public class func fetchLivePhoto(for asset: Photos.PHAsset, completion: @escaping (Photos.PHLivePhoto?, [Swift.AnyHashable : Any]?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
926 | - @objc public class func fetchVideo(for asset: Photos.PHAsset, progress: ((CoreGraphics.CGFloat, Swift.Error?, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>, [Swift.AnyHashable : Any]?) -> Swift.Void)? = nil, completion: @escaping (AVFoundation.AVPlayerItem?, [Swift.AnyHashable : Any]?, Swift.Bool) -> Swift.Void) -> Photos.PHImageRequestID | ||
927 | - @objc public class func fetchAVAsset(forVideo asset: Photos.PHAsset, completion: @escaping (AVFoundation.AVAsset?, [Swift.AnyHashable : Any]?) -> Swift.Void) -> Photos.PHImageRequestID | ||
928 | - @objc public class func fetchAssetFilePath(asset: Photos.PHAsset, completion: @escaping (Swift.String?) -> Swift.Void) | ||
929 | - @objc override dynamic public init() | ||
930 | - @objc deinit | ||
931 | -} | ||
932 | -extension ZLPhotoManager { | ||
933 | - @objc dynamic public class func hasPhotoLibratyAuthority() -> Swift.Bool | ||
934 | - @objc dynamic public class func hasCameraAuthority() -> Swift.Bool | ||
935 | - @objc dynamic public class func hasMicrophoneAuthority() -> Swift.Bool | ||
936 | -} | ||
937 | -extension ZLPhotoModel { | ||
938 | - public enum MediaType : Swift.Int { | ||
939 | - case unknown | ||
940 | - case image | ||
941 | - case gif | ||
942 | - case livePhoto | ||
943 | - case video | ||
944 | - public init?(rawValue: Swift.Int) | ||
945 | - public typealias RawValue = Swift.Int | ||
946 | - public var rawValue: Swift.Int { | ||
947 | - get | ||
948 | - } | ||
949 | - } | ||
950 | -} | ||
951 | -@objc public class ZLPhotoModel : ObjectiveC.NSObject { | ||
952 | - final public let ident: Swift.String | ||
953 | - final public let asset: Photos.PHAsset | ||
954 | - public var type: HHPhotoPicker.ZLPhotoModel.MediaType | ||
955 | - public var duration: Swift.String | ||
956 | - public var isSelected: Swift.Bool | ||
957 | - public var editImage: UIKit.UIImage? { | ||
958 | - get | ||
959 | - set(newValue) | ||
960 | - } | ||
961 | - public var second: HHPhotoPicker.Second { | ||
962 | - get | ||
963 | - } | ||
964 | - public var whRatio: CoreGraphics.CGFloat { | ||
965 | - get | ||
966 | - } | ||
967 | - public var previewSize: CoreGraphics.CGSize { | ||
968 | - get | ||
969 | - } | ||
970 | - public var editImageModel: HHPhotoPicker.ZLEditImageModel? | ||
971 | - public init(asset: Photos.PHAsset) | ||
972 | - public func transformAssetType(for asset: Photos.PHAsset) -> HHPhotoPicker.ZLPhotoModel.MediaType | ||
973 | - public func transformDuration(for asset: Photos.PHAsset) -> Swift.String | ||
974 | - @objc override dynamic public init() | ||
975 | - @objc deinit | ||
976 | -} | ||
977 | -extension ZLPhotoModel { | ||
978 | - public static func == (lhs: HHPhotoPicker.ZLPhotoModel, rhs: HHPhotoPicker.ZLPhotoModel) -> Swift.Bool | ||
979 | -} | ||
980 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoPreviewSheet : UIKit.UIView { | ||
981 | - @objc public var selectImageBlock: (([UIKit.UIImage], [Photos.PHAsset], Swift.Bool) -> Swift.Void)? | ||
982 | - @objc public var selectImageRequestErrorBlock: (([Photos.PHAsset], [Swift.Int]) -> Swift.Void)? | ||
983 | - @objc public var cancelBlock: (() -> Swift.Void)? | ||
984 | - @objc deinit | ||
985 | - @objc override dynamic public convenience init(frame: CoreGraphics.CGRect) | ||
986 | - @objc public init(selectedAssets: [Photos.PHAsset]? = nil) | ||
987 | - @objc required dynamic public init?(coder: Foundation.NSCoder) | ||
988 | - @objc override dynamic public func layoutSubviews() | ||
989 | - @objc public func showPreview(animate: Swift.Bool = true, sender: UIKit.UIViewController) | ||
990 | - @objc public func showPhotoLibrary(sender: UIKit.UIViewController) | ||
991 | - @objc public func previewAssets(sender: UIKit.UIViewController, assets: [Photos.PHAsset], index: Swift.Int, isOriginal: Swift.Bool, showBottomViewAndSelectBtn: Swift.Bool = true) | ||
992 | -} | ||
993 | -extension ZLPhotoPreviewSheet : UIKit.UIGestureRecognizerDelegate { | ||
994 | - @objc override dynamic public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIKit.UIGestureRecognizer) -> Swift.Bool | ||
995 | -} | ||
996 | -extension ZLPhotoPreviewSheet : UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegateFlowLayout { | ||
997 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, layout collectionViewLayout: UIKit.UICollectionViewLayout, sizeForItemAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGSize | ||
998 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
999 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
1000 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
1001 | - @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, didSelectItemAt indexPath: Foundation.IndexPath) | ||
1002 | -} | ||
1003 | -extension ZLPhotoPreviewSheet : UIKit.UIImagePickerControllerDelegate, UIKit.UINavigationControllerDelegate { | ||
1004 | - @objc dynamic public func imagePickerController(_ picker: UIKit.UIImagePickerController, didFinishPickingMediaWithInfo info: [UIKit.UIImagePickerController.InfoKey : Any]) | ||
1005 | -} | ||
1006 | -extension ZLPhotoPreviewSheet : Photos.PHPhotoLibraryChangeObserver { | ||
1007 | - @objc dynamic public func photoLibraryDidChange(_ changeInstance: Photos.PHChange) | ||
1008 | -} | ||
1009 | -@objc @_inheritsConvenienceInitializers public class ZLPhotoUIConfiguration : ObjectiveC.NSObject { | ||
1010 | - @objc public enum CancelButtonStyle : Swift.Int { | ||
1011 | - case text | ||
1012 | - case image | ||
1013 | - public init?(rawValue: Swift.Int) | ||
1014 | - public typealias RawValue = Swift.Int | ||
1015 | - public var rawValue: Swift.Int { | ||
1016 | - get | ||
1017 | - } | ||
1018 | - } | ||
1019 | - @objc public class func `default`() -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1020 | - @objc public class func resetConfiguration() | ||
1021 | - @objc public var style: HHPhotoPicker.ZLPhotoBrowserStyle | ||
1022 | - @objc public var statusBarStyle: UIKit.UIStatusBarStyle | ||
1023 | - @objc public var navCancelButtonStyle: HHPhotoPicker.ZLPhotoUIConfiguration.CancelButtonStyle | ||
1024 | - @objc public var showStatusBarInPreviewInterface: Swift.Bool | ||
1025 | - @objc public var navViewBlurEffectOfAlbumList: UIKit.UIBlurEffect? | ||
1026 | - @objc public var navViewBlurEffectOfPreview: UIKit.UIBlurEffect? | ||
1027 | - @objc public var bottomViewBlurEffectOfAlbumList: UIKit.UIBlurEffect? | ||
1028 | - @objc public var bottomViewBlurEffectOfPreview: UIKit.UIBlurEffect? | ||
1029 | - @objc public var customImageNames: [Swift.String] { | ||
1030 | - @objc get | ||
1031 | - @objc set(value) | ||
1032 | - } | ||
1033 | - public var customImageForKey: [Swift.String : UIKit.UIImage?] { | ||
1034 | - get | ||
1035 | - set(value) | ||
1036 | - } | ||
1037 | - @objc public var customImageForKey_objc: [Swift.String : UIKit.UIImage] { | ||
1038 | - @objc get | ||
1039 | - @objc set(value) | ||
1040 | - } | ||
1041 | - public var customLanguageKeyValue: [HHPhotoPicker.ZLLocalLanguageKey : Swift.String] { | ||
1042 | - get | ||
1043 | - set(value) | ||
1044 | - } | ||
1045 | - @objc public var customLanguageKeyValue_objc: [Swift.String : Swift.String] { | ||
1046 | - @objc get | ||
1047 | - @objc set(value) | ||
1048 | - } | ||
1049 | - @objc public var themeFontName: Swift.String? { | ||
1050 | - @objc get | ||
1051 | - @objc set(value) | ||
1052 | - } | ||
1053 | - @objc public var sheetTranslucentColor: UIKit.UIColor | ||
1054 | - @objc public var sheetBtnBgColor: UIKit.UIColor | ||
1055 | - @objc public var sheetBtnTitleColor: UIKit.UIColor | ||
1056 | - @objc public var sheetBtnTitleTintColor: UIKit.UIColor | ||
1057 | - @objc public var navBarColor: UIKit.UIColor | ||
1058 | - @objc public var navBarColorOfPreviewVC: UIKit.UIColor | ||
1059 | - @objc public var navTitleColor: UIKit.UIColor | ||
1060 | - @objc public var navTitleColorOfPreviewVC: UIKit.UIColor | ||
1061 | - @objc public var navEmbedTitleViewBgColor: UIKit.UIColor | ||
1062 | - @objc public var albumListBgColor: UIKit.UIColor | ||
1063 | - @objc public var embedAlbumListTranslucentColor: UIKit.UIColor | ||
1064 | - @objc public var albumListTitleColor: UIKit.UIColor | ||
1065 | - @objc public var albumListCountColor: UIKit.UIColor | ||
1066 | - @objc public var separatorColor: UIKit.UIColor | ||
1067 | - @objc public var thumbnailBgColor: UIKit.UIColor | ||
1068 | - @objc public var previewVCBgColor: UIKit.UIColor | ||
1069 | - @objc public var bottomToolViewBgColor: UIKit.UIColor | ||
1070 | - @objc public var bottomToolViewBgColorOfPreviewVC: UIKit.UIColor | ||
1071 | - @objc public var bottomToolViewBtnNormalTitleColor: UIKit.UIColor | ||
1072 | - @objc public var bottomToolViewDoneBtnNormalTitleColor: UIKit.UIColor | ||
1073 | - @objc public var bottomToolViewBtnNormalTitleColorOfPreviewVC: UIKit.UIColor | ||
1074 | - @objc public var bottomToolViewDoneBtnNormalTitleColorOfPreviewVC: UIKit.UIColor | ||
1075 | - @objc public var bottomToolViewBtnDisableTitleColor: UIKit.UIColor | ||
1076 | - @objc public var bottomToolViewDoneBtnDisableTitleColor: UIKit.UIColor | ||
1077 | - @objc public var bottomToolViewBtnDisableTitleColorOfPreviewVC: UIKit.UIColor | ||
1078 | - @objc public var bottomToolViewDoneBtnDisableTitleColorOfPreviewVC: UIKit.UIColor | ||
1079 | - @objc public var bottomToolViewBtnNormalBgColor: UIKit.UIColor | ||
1080 | - @objc public var bottomToolViewBtnNormalBgColorOfPreviewVC: UIKit.UIColor | ||
1081 | - @objc public var bottomToolViewBtnDisableBgColor: UIKit.UIColor | ||
1082 | - @objc public var bottomToolViewBtnDisableBgColorOfPreviewVC: UIKit.UIColor | ||
1083 | - @objc public var selectMorePhotoWhenAuthIsLismitedTitleColor: UIKit.UIColor | ||
1084 | - @objc public var cameraRecodeProgressColor: UIKit.UIColor | ||
1085 | - @objc public var selectedMaskColor: UIKit.UIColor | ||
1086 | - @objc public var selectedBorderColor: UIKit.UIColor | ||
1087 | - @objc public var invalidMaskColor: UIKit.UIColor | ||
1088 | - @objc public var indexLabelTextColor: UIKit.UIColor | ||
1089 | - @objc public var indexLabelBgColor: UIKit.UIColor | ||
1090 | - @objc public var cameraCellBgColor: UIKit.UIColor | ||
1091 | - @objc public var adjustSliderNormalColor: UIKit.UIColor | ||
1092 | - @objc public var adjustSliderTintColor: UIKit.UIColor | ||
1093 | - @objc override dynamic public init() | ||
1094 | - @objc deinit | ||
1095 | -} | ||
1096 | -@objc public enum ZLPhotoBrowserStyle : Swift.Int { | ||
1097 | - case embedAlbumList | ||
1098 | - case externalAlbumList | ||
1099 | - public init?(rawValue: Swift.Int) | ||
1100 | - public typealias RawValue = Swift.Int | ||
1101 | - public var rawValue: Swift.Int { | ||
1102 | - get | ||
1103 | - } | ||
1104 | -} | ||
1105 | -extension ZLPhotoUIConfiguration { | ||
1106 | - @discardableResult | ||
1107 | - public func style(_ style: HHPhotoPicker.ZLPhotoBrowserStyle) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1108 | - @discardableResult | ||
1109 | - public func statusBarStyle(_ statusBarStyle: UIKit.UIStatusBarStyle) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1110 | - @discardableResult | ||
1111 | - public func navCancelButtonStyle(_ style: HHPhotoPicker.ZLPhotoUIConfiguration.CancelButtonStyle) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1112 | - @discardableResult | ||
1113 | - public func showStatusBarInPreviewInterface(_ value: Swift.Bool) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1114 | - @discardableResult | ||
1115 | - public func navViewBlurEffectOfAlbumList(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1116 | - @discardableResult | ||
1117 | - public func navViewBlurEffectOfPreview(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1118 | - @discardableResult | ||
1119 | - public func bottomViewBlurEffectOfAlbumList(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1120 | - @discardableResult | ||
1121 | - public func bottomViewBlurEffectOfPreview(_ effect: UIKit.UIBlurEffect?) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1122 | - @discardableResult | ||
1123 | - public func customImageNames(_ names: [Swift.String]) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1124 | - @discardableResult | ||
1125 | - public func customImageForKey(_ map: [Swift.String : UIKit.UIImage?]) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1126 | - @discardableResult | ||
1127 | - public func customLanguageKeyValue(_ map: [HHPhotoPicker.ZLLocalLanguageKey : Swift.String]) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1128 | - @discardableResult | ||
1129 | - public func themeFontName(_ name: Swift.String) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1130 | - @discardableResult | ||
1131 | - public func sheetTranslucentColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1132 | - @discardableResult | ||
1133 | - public func sheetBtnBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1134 | - @discardableResult | ||
1135 | - public func sheetBtnTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1136 | - @discardableResult | ||
1137 | - public func sheetBtnTitleTintColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1138 | - @discardableResult | ||
1139 | - public func navBarColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1140 | - @discardableResult | ||
1141 | - public func navBarColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1142 | - @discardableResult | ||
1143 | - public func navTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1144 | - @discardableResult | ||
1145 | - public func navTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1146 | - @discardableResult | ||
1147 | - public func navEmbedTitleViewBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1148 | - @discardableResult | ||
1149 | - public func albumListBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1150 | - @discardableResult | ||
1151 | - public func embedAlbumListTranslucentColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1152 | - @discardableResult | ||
1153 | - public func albumListTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1154 | - @discardableResult | ||
1155 | - public func albumListCountColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1156 | - @discardableResult | ||
1157 | - public func separatorColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1158 | - @discardableResult | ||
1159 | - public func thumbnailBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1160 | - @discardableResult | ||
1161 | - public func previewVCBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1162 | - @discardableResult | ||
1163 | - public func bottomToolViewBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1164 | - @discardableResult | ||
1165 | - public func bottomToolViewBgColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1166 | - @discardableResult | ||
1167 | - public func bottomToolViewBtnNormalTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1168 | - @discardableResult | ||
1169 | - public func bottomToolViewDoneBtnNormalTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1170 | - @discardableResult | ||
1171 | - public func bottomToolViewBtnNormalTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1172 | - @discardableResult | ||
1173 | - public func bottomToolViewDoneBtnNormalTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1174 | - @discardableResult | ||
1175 | - public func bottomToolViewBtnDisableTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1176 | - @discardableResult | ||
1177 | - public func bottomToolViewDoneBtnDisableTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1178 | - @discardableResult | ||
1179 | - public func bottomToolViewBtnDisableTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1180 | - @discardableResult | ||
1181 | - public func bottomToolViewDoneBtnDisableTitleColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1182 | - @discardableResult | ||
1183 | - public func bottomToolViewBtnNormalBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1184 | - @discardableResult | ||
1185 | - public func bottomToolViewBtnNormalBgColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1186 | - @discardableResult | ||
1187 | - public func bottomToolViewBtnDisableBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1188 | - @discardableResult | ||
1189 | - public func bottomToolViewBtnDisableBgColorOfPreviewVC(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1190 | - @discardableResult | ||
1191 | - public func selectMorePhotoWhenAuthIsLismitedTitleColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1192 | - @discardableResult | ||
1193 | - public func cameraRecodeProgressColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1194 | - @discardableResult | ||
1195 | - public func selectedMaskColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1196 | - @discardableResult | ||
1197 | - public func selectedBorderColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1198 | - @discardableResult | ||
1199 | - public func invalidMaskColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1200 | - @discardableResult | ||
1201 | - public func indexLabelTextColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1202 | - @discardableResult | ||
1203 | - public func indexLabelBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1204 | - @discardableResult | ||
1205 | - public func cameraCellBgColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1206 | - @discardableResult | ||
1207 | - public func adjustSliderNormalColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1208 | - @discardableResult | ||
1209 | - public func adjustSliderTintColor(_ color: UIKit.UIColor) -> HHPhotoPicker.ZLPhotoUIConfiguration | ||
1210 | -} | ||
1211 | -@objc @_hasMissingDesignatedInitializers public class ZLProgressHUD : UIKit.UIView { | ||
1212 | - @objc public enum HUDStyle : Swift.Int { | ||
1213 | - case light | ||
1214 | - case lightBlur | ||
1215 | - case dark | ||
1216 | - case darkBlur | ||
1217 | - public init?(rawValue: Swift.Int) | ||
1218 | - public typealias RawValue = Swift.Int | ||
1219 | - public var rawValue: Swift.Int { | ||
1220 | - get | ||
1221 | - } | ||
1222 | - } | ||
1223 | - @objc deinit | ||
1224 | - @objc public init(style: HHPhotoPicker.ZLProgressHUD.HUDStyle) | ||
1225 | - @objc public func show(timeout: Foundation.TimeInterval = 100) | ||
1226 | - @objc public func hide() | ||
1227 | - @objc override dynamic public init(frame: CoreGraphics.CGRect) | ||
1228 | -} | ||
1229 | -@objc @_hasMissingDesignatedInitializers public class ZLTextStickerState : ObjectiveC.NSObject { | ||
1230 | - @objc override dynamic public init() | ||
1231 | - @objc deinit | ||
1232 | -} | ||
1233 | -@objc @_inheritsConvenienceInitializers public class ZLVideoManager : ObjectiveC.NSObject { | ||
1234 | - @objc public class func mergeVideos(fileUrls: [Foundation.URL], completion: @escaping ((Foundation.URL?, Swift.Error?) -> Swift.Void)) | ||
1235 | - @objc override dynamic public init() | ||
1236 | - @objc deinit | ||
1237 | -} | ||
1238 | -extension ZLVideoManager { | ||
1239 | - @objc dynamic public class func exportVideo(for asset: Photos.PHAsset, exportType: HHPhotoPicker.ZLVideoManager.ExportType = .mov, presetName: Swift.String = AVAssetExportPresetMediumQuality, complete: @escaping ((Foundation.URL?, Swift.Error?) -> Swift.Void)) | ||
1240 | - @objc dynamic public class func exportVideo(for asset: AVFoundation.AVAsset, range: CoreMedia.CMTimeRange = CMTimeRange(start: .zero, duration: .positiveInfinity), exportType: HHPhotoPicker.ZLVideoManager.ExportType = .mov, presetName: Swift.String = AVAssetExportPresetMediumQuality, complete: @escaping ((Foundation.URL?, Swift.Error?) -> Swift.Void)) | ||
1241 | -} | ||
1242 | -extension ZLVideoManager { | ||
1243 | - @objc public enum ExportType : Swift.Int { | ||
1244 | - case mov | ||
1245 | - case mp4 | ||
1246 | - public init?(rawValue: Swift.Int) | ||
1247 | - public typealias RawValue = Swift.Int | ||
1248 | - public var rawValue: Swift.Int { | ||
1249 | - get | ||
1250 | - } | ||
1251 | - } | ||
1252 | -} |
HHVDoctorSDK/HHPhotoPicker.framework/Modules/HHPhotoPicker.swiftmodule/arm64.swiftmodule
deleted
100644 → 0
No preview for this file type
No preview for this file type
No preview for this file type
1 | -// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57) | ||
2 | -#ifndef HHSDKBASE_SWIFT_H | ||
3 | -#define HHSDKBASE_SWIFT_H | ||
4 | -#pragma clang diagnostic push | ||
5 | -#pragma clang diagnostic ignored "-Wgcc-compat" | ||
6 | - | ||
7 | -#if !defined(__has_include) | ||
8 | -# define __has_include(x) 0 | ||
9 | -#endif | ||
10 | -#if !defined(__has_attribute) | ||
11 | -# define __has_attribute(x) 0 | ||
12 | -#endif | ||
13 | -#if !defined(__has_feature) | ||
14 | -# define __has_feature(x) 0 | ||
15 | -#endif | ||
16 | -#if !defined(__has_warning) | ||
17 | -# define __has_warning(x) 0 | ||
18 | -#endif | ||
19 | - | ||
20 | -#if __has_include(<swift/objc-prologue.h>) | ||
21 | -# include <swift/objc-prologue.h> | ||
22 | -#endif | ||
23 | - | ||
24 | -#pragma clang diagnostic ignored "-Wauto-import" | ||
25 | -#include <Foundation/Foundation.h> | ||
26 | -#include <stdint.h> | ||
27 | -#include <stddef.h> | ||
28 | -#include <stdbool.h> | ||
29 | - | ||
30 | -#if !defined(SWIFT_TYPEDEFS) | ||
31 | -# define SWIFT_TYPEDEFS 1 | ||
32 | -# if __has_include(<uchar.h>) | ||
33 | -# include <uchar.h> | ||
34 | -# elif !defined(__cplusplus) | ||
35 | -typedef uint_least16_t char16_t; | ||
36 | -typedef uint_least32_t char32_t; | ||
37 | -# endif | ||
38 | -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); | ||
39 | -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); | ||
40 | -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); | ||
41 | -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); | ||
42 | -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); | ||
43 | -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); | ||
44 | -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); | ||
45 | -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); | ||
46 | -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); | ||
47 | -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); | ||
48 | -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); | ||
49 | -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); | ||
50 | -#endif | ||
51 | - | ||
52 | -#if !defined(SWIFT_PASTE) | ||
53 | -# define SWIFT_PASTE_HELPER(x, y) x##y | ||
54 | -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) | ||
55 | -#endif | ||
56 | -#if !defined(SWIFT_METATYPE) | ||
57 | -# define SWIFT_METATYPE(X) Class | ||
58 | -#endif | ||
59 | -#if !defined(SWIFT_CLASS_PROPERTY) | ||
60 | -# if __has_feature(objc_class_property) | ||
61 | -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ | ||
62 | -# else | ||
63 | -# define SWIFT_CLASS_PROPERTY(...) | ||
64 | -# endif | ||
65 | -#endif | ||
66 | - | ||
67 | -#if __has_attribute(objc_runtime_name) | ||
68 | -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) | ||
69 | -#else | ||
70 | -# define SWIFT_RUNTIME_NAME(X) | ||
71 | -#endif | ||
72 | -#if __has_attribute(swift_name) | ||
73 | -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) | ||
74 | -#else | ||
75 | -# define SWIFT_COMPILE_NAME(X) | ||
76 | -#endif | ||
77 | -#if __has_attribute(objc_method_family) | ||
78 | -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) | ||
79 | -#else | ||
80 | -# define SWIFT_METHOD_FAMILY(X) | ||
81 | -#endif | ||
82 | -#if __has_attribute(noescape) | ||
83 | -# define SWIFT_NOESCAPE __attribute__((noescape)) | ||
84 | -#else | ||
85 | -# define SWIFT_NOESCAPE | ||
86 | -#endif | ||
87 | -#if __has_attribute(ns_consumed) | ||
88 | -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) | ||
89 | -#else | ||
90 | -# define SWIFT_RELEASES_ARGUMENT | ||
91 | -#endif | ||
92 | -#if __has_attribute(warn_unused_result) | ||
93 | -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | ||
94 | -#else | ||
95 | -# define SWIFT_WARN_UNUSED_RESULT | ||
96 | -#endif | ||
97 | -#if __has_attribute(noreturn) | ||
98 | -# define SWIFT_NORETURN __attribute__((noreturn)) | ||
99 | -#else | ||
100 | -# define SWIFT_NORETURN | ||
101 | -#endif | ||
102 | -#if !defined(SWIFT_CLASS_EXTRA) | ||
103 | -# define SWIFT_CLASS_EXTRA | ||
104 | -#endif | ||
105 | -#if !defined(SWIFT_PROTOCOL_EXTRA) | ||
106 | -# define SWIFT_PROTOCOL_EXTRA | ||
107 | -#endif | ||
108 | -#if !defined(SWIFT_ENUM_EXTRA) | ||
109 | -# define SWIFT_ENUM_EXTRA | ||
110 | -#endif | ||
111 | -#if !defined(SWIFT_CLASS) | ||
112 | -# if __has_attribute(objc_subclassing_restricted) | ||
113 | -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA | ||
114 | -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
115 | -# else | ||
116 | -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
117 | -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
118 | -# endif | ||
119 | -#endif | ||
120 | -#if !defined(SWIFT_RESILIENT_CLASS) | ||
121 | -# if __has_attribute(objc_class_stub) | ||
122 | -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) | ||
123 | -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) | ||
124 | -# else | ||
125 | -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) | ||
126 | -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) | ||
127 | -# endif | ||
128 | -#endif | ||
129 | - | ||
130 | -#if !defined(SWIFT_PROTOCOL) | ||
131 | -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
132 | -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
133 | -#endif | ||
134 | - | ||
135 | -#if !defined(SWIFT_EXTENSION) | ||
136 | -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) | ||
137 | -#endif | ||
138 | - | ||
139 | -#if !defined(OBJC_DESIGNATED_INITIALIZER) | ||
140 | -# if __has_attribute(objc_designated_initializer) | ||
141 | -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) | ||
142 | -# else | ||
143 | -# define OBJC_DESIGNATED_INITIALIZER | ||
144 | -# endif | ||
145 | -#endif | ||
146 | -#if !defined(SWIFT_ENUM_ATTR) | ||
147 | -# if defined(__has_attribute) && __has_attribute(enum_extensibility) | ||
148 | -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) | ||
149 | -# else | ||
150 | -# define SWIFT_ENUM_ATTR(_extensibility) | ||
151 | -# endif | ||
152 | -#endif | ||
153 | -#if !defined(SWIFT_ENUM) | ||
154 | -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type | ||
155 | -# if __has_feature(generalized_swift_name) | ||
156 | -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type | ||
157 | -# else | ||
158 | -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) | ||
159 | -# endif | ||
160 | -#endif | ||
161 | -#if !defined(SWIFT_UNAVAILABLE) | ||
162 | -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) | ||
163 | -#endif | ||
164 | -#if !defined(SWIFT_UNAVAILABLE_MSG) | ||
165 | -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) | ||
166 | -#endif | ||
167 | -#if !defined(SWIFT_AVAILABILITY) | ||
168 | -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) | ||
169 | -#endif | ||
170 | -#if !defined(SWIFT_WEAK_IMPORT) | ||
171 | -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) | ||
172 | -#endif | ||
173 | -#if !defined(SWIFT_DEPRECATED) | ||
174 | -# define SWIFT_DEPRECATED __attribute__((deprecated)) | ||
175 | -#endif | ||
176 | -#if !defined(SWIFT_DEPRECATED_MSG) | ||
177 | -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) | ||
178 | -#endif | ||
179 | -#if __has_feature(attribute_diagnose_if_objc) | ||
180 | -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) | ||
181 | -#else | ||
182 | -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) | ||
183 | -#endif | ||
184 | -#if !defined(IBSegueAction) | ||
185 | -# define IBSegueAction | ||
186 | -#endif | ||
187 | -#if __has_feature(modules) | ||
188 | -#if __has_warning("-Watimport-in-framework-header") | ||
189 | -#pragma clang diagnostic ignored "-Watimport-in-framework-header" | ||
190 | -#endif | ||
191 | -@import Foundation; | ||
192 | -@import ObjectiveC; | ||
193 | -@import UIKit; | ||
194 | -#endif | ||
195 | - | ||
196 | -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" | ||
197 | -#pragma clang diagnostic ignored "-Wduplicate-method-arg" | ||
198 | -#if __has_warning("-Wpragma-clang-attribute") | ||
199 | -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" | ||
200 | -#endif | ||
201 | -#pragma clang diagnostic ignored "-Wunknown-pragmas" | ||
202 | -#pragma clang diagnostic ignored "-Wnullability" | ||
203 | - | ||
204 | -#if __has_attribute(external_source_symbol) | ||
205 | -# pragma push_macro("any") | ||
206 | -# undef any | ||
207 | -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="HHSDKBase",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) | ||
208 | -# pragma pop_macro("any") | ||
209 | -#endif | ||
210 | - | ||
211 | - | ||
212 | - | ||
213 | - | ||
214 | -@class NSString; | ||
215 | - | ||
216 | -SWIFT_CLASS("_TtC9HHSDKBase9HHBaseSDK") | ||
217 | -@interface HHBaseSDK : NSObject | ||
218 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHBaseSDK * _Nonnull default_;) | ||
219 | -+ (HHBaseSDK * _Nonnull)default SWIFT_WARN_UNUSED_RESULT; | ||
220 | -/// SDK init | ||
221 | -- (void)start; | ||
222 | -/// 登录账户 | ||
223 | -/// <ul> | ||
224 | -/// <li> | ||
225 | -/// Parameters: | ||
226 | -/// </li> | ||
227 | -/// <li> | ||
228 | -/// userToken: 用户的唯一标志 | ||
229 | -/// </li> | ||
230 | -/// <li> | ||
231 | -/// completion: 完成的回调 | ||
232 | -/// </li> | ||
233 | -/// </ul> | ||
234 | -- (void)loginWithUserToken:(NSString * _Nonnull)userToken completion:(void (^ _Nonnull)(NSString * _Nullable))completion; | ||
235 | -/// 登出 | ||
236 | -/// \param callback 登出回调(字符串为空表示成功) | ||
237 | -/// | ||
238 | -- (void)logout:(void (^ _Nullable)(NSString * _Nullable))callback; | ||
239 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
240 | -@end | ||
241 | - | ||
242 | - | ||
243 | -SWIFT_CLASS("_TtC9HHSDKBase11HHDateUtils") | ||
244 | -@interface HHDateUtils : NSObject | ||
245 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
246 | -@end | ||
247 | - | ||
248 | - | ||
249 | - | ||
250 | - | ||
251 | - | ||
252 | -SWIFT_CLASS("_TtC9HHSDKBase15HHDeviceManager") | ||
253 | -@interface HHDeviceManager : NSObject | ||
254 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
255 | -@end | ||
256 | - | ||
257 | - | ||
258 | -SWIFT_CLASS("_TtC9HHSDKBase18HHFileCacheManager") | ||
259 | -@interface HHFileCacheManager : NSObject | ||
260 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
261 | -@end | ||
262 | - | ||
263 | - | ||
264 | - | ||
265 | - | ||
266 | -SWIFT_CLASS("_TtC9HHSDKBase23HHMediaStatusCheckUtils") | ||
267 | -@interface HHMediaStatusCheckUtils : NSObject | ||
268 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
269 | -@end | ||
270 | - | ||
271 | - | ||
272 | -SWIFT_CLASS("_TtC9HHSDKBase18HHMedicNetObserver") | ||
273 | -@interface HHMedicNetObserver : NSObject | ||
274 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
275 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
276 | -@end | ||
277 | - | ||
278 | -@class NSNumber; | ||
279 | - | ||
280 | -/// 基础全局配置 | ||
281 | -SWIFT_CLASS("_TtC9HHSDKBase16HHSDKBaseOptions") | ||
282 | -@interface HHSDKBaseOptions : NSObject | ||
283 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHSDKBaseOptions * _Nonnull default_;) | ||
284 | -+ (HHSDKBaseOptions * _Nonnull)default SWIFT_WARN_UNUSED_RESULT; | ||
285 | -/// 调试模式(打印日志) | ||
286 | -@property (nonatomic) BOOL isDebug; | ||
287 | -/// 是否开启测试服 | ||
288 | -@property (nonatomic) BOOL isDevelopment; | ||
289 | -/// 是否是SDK | ||
290 | -@property (nonatomic) BOOL isSDK; | ||
291 | -/// 是否是腾讯 | ||
292 | -@property (nonatomic) BOOL isTRTC; | ||
293 | -/// 产品ID | ||
294 | -@property (nonatomic, copy) NSString * _Nonnull sdkProductId; | ||
295 | -/// app version | ||
296 | -@property (nonatomic, copy) NSString * _Nonnull appVersion; | ||
297 | -/// 是否配置DNS | ||
298 | -@property (nonatomic) BOOL needDNS; | ||
299 | -/// 脚本修改 | ||
300 | -@property (nonatomic, copy) NSString * _Nonnull sdkVersion; | ||
301 | -/// hud | ||
302 | -@property (nonatomic) NSTimeInterval hudDisTime; | ||
303 | -- (void)setConfig:(NSString * _Nonnull)sdkProductId isDebug:(BOOL)isDebug isDevelopment:(BOOL)isDevelopment isTrtc:(BOOL)isTrtc needDNS:(BOOL)needDNS; | ||
304 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
305 | -@end | ||
306 | - | ||
307 | - | ||
308 | - | ||
309 | - | ||
310 | - | ||
311 | - | ||
312 | - | ||
313 | - | ||
314 | - | ||
315 | - | ||
316 | - | ||
317 | - | ||
318 | -@interface UIViewController (SWIFT_EXTENSION(HHSDKBase)) | ||
319 | -- (void)hhCloseThisController; | ||
320 | -- (void)hhPopThisController; | ||
321 | -@end | ||
322 | - | ||
323 | - | ||
324 | -#if __has_attribute(external_source_symbol) | ||
325 | -# pragma clang attribute pop | ||
326 | -#endif | ||
327 | -#pragma clang diagnostic pop | ||
328 | -#endif |
1 | -#ifdef __OBJC__ | ||
2 | -#import <UIKit/UIKit.h> | ||
3 | -#else | ||
4 | -#ifndef FOUNDATION_EXPORT | ||
5 | -#if defined(__cplusplus) | ||
6 | -#define FOUNDATION_EXPORT extern "C" | ||
7 | -#else | ||
8 | -#define FOUNDATION_EXPORT extern | ||
9 | -#endif | ||
10 | -#endif | ||
11 | -#endif | ||
12 | - | ||
13 | -#import "HHMBProgressHUD.h" | ||
14 | -#import "ObjectMapper.h" | ||
15 | -#import "HHAnimatedImageRep.h" | ||
16 | -#import "HHImageCache.h" | ||
17 | -#import "HHImageCacheConfig.h" | ||
18 | -#import "HHWebImageCoder.h" | ||
19 | -#import "HHWebImageCoderHelper.h" | ||
20 | -#import "HHWebImageCodersManager.h" | ||
21 | -#import "HHWebImageCompat.h" | ||
22 | -#import "HHWebImageDownloader.h" | ||
23 | -#import "HHWebImageDownloaderOperation.h" | ||
24 | -#import "HHWebImageFrame.h" | ||
25 | -#import "HHWebImageGIFCoder.h" | ||
26 | -#import "HHWebImageImageIOCoder.h" | ||
27 | -#import "HHWebImageManager.h" | ||
28 | -#import "HHWebImageOperation.h" | ||
29 | -#import "HHWebImagePrefetcher.h" | ||
30 | -#import "HHWebImageTransition.h" | ||
31 | -#import "NSData+hhImageContentType.h" | ||
32 | -#import "NSImage+hhWebCache.h" | ||
33 | -#import "UIButton+hhWebCache.h" | ||
34 | -#import "UIImage+hhForceDecode.h" | ||
35 | -#import "UIImage+hhGIF.h" | ||
36 | -#import "UIImage+hhMultiFormat.h" | ||
37 | -#import "UIImageView+hhHighlightedWebCache.h" | ||
38 | -#import "UIImageView+hhWebCache.h" | ||
39 | -#import "UIView+hhWebCache.h" | ||
40 | -#import "UIView+hhWebCacheOperation.h" | ||
41 | - | ||
42 | -FOUNDATION_EXPORT double HHSDKBaseVersionNumber; | ||
43 | -FOUNDATION_EXPORT const unsigned char HHSDKBaseVersionString[]; | ||
44 | - |
No preview for this file type
No preview for this file type
HHVDoctorSDK/HHSDKBase.framework/Modules/HHSDKBase.swiftmodule/Project/arm64.swiftsourceinfo
deleted
100644 → 0
No preview for this file type
-
Please register or login to post a comment