Browse Source

ipu秀集成音视频处理插件

yangdingli 3 years ago
parent
commit
8a01987dcd
50 changed files with 1953 additions and 0 deletions
  1. BIN
      IPUFrameworks/GPUImage2.framework/Assets.car
  2. BIN
      IPUFrameworks/GPUImage2.framework/GPUImage2
  3. 239 0
      IPUFrameworks/GPUImage2.framework/Headers/GPUImage2-Swift.h
  4. BIN
      IPUFrameworks/GPUImage2.framework/Info.plist
  5. BIN
      IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
  6. BIN
      IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/Project/arm64.swiftsourceinfo
  7. BIN
      IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64-apple-ios.swiftdoc
  8. BIN
      IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64-apple-ios.swiftmodule
  9. BIN
      IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64.swiftdoc
  10. BIN
      IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64.swiftmodule
  11. 4 0
      IPUFrameworks/GPUImage2.framework/Modules/module.modulemap
  12. 911 0
      IPUFrameworks/IPUSwiftPro.framework/Headers/IPUSwiftPro-Swift.h
  13. 18 0
      IPUFrameworks/IPUSwiftPro.framework/Headers/IPUSwiftPro.h
  14. BIN
      IPUFrameworks/IPUSwiftPro.framework/IPUSwiftPro
  15. BIN
      IPUFrameworks/IPUSwiftPro.framework/Info.plist
  16. BIN
      IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
  17. BIN
      IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/Project/arm64.swiftsourceinfo
  18. BIN
      IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64-apple-ios.swiftdoc
  19. BIN
      IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64-apple-ios.swiftmodule
  20. BIN
      IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64.swiftdoc
  21. BIN
      IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64.swiftmodule
  22. 11 0
      IPUFrameworks/IPUSwiftPro.framework/Modules/module.modulemap
  23. BIN
      IPUFrameworks/IPUVideoPro.framework/Assets.car
  24. BIN
      IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/GYr-NP-P6d-view-EIe-Fz-u39.nib/objects-11.0+.nib
  25. BIN
      IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/GYr-NP-P6d-view-EIe-Fz-u39.nib/runtime.nib
  26. BIN
      IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/Info.plist
  27. BIN
      IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/UIViewController-GYr-NP-P6d.nib/objects-11.0+.nib
  28. BIN
      IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/UIViewController-GYr-NP-P6d.nib/runtime.nib
  29. 479 0
      IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoPro-Swift.h
  30. 18 0
      IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoPro.h
  31. 217 0
      IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoPro.swift
  32. 20 0
      IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoProPlugin.h
  33. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/BXE-xD-PFb-view-S8A-8A-D4A.nib/objects-11.0+.nib
  34. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/BXE-xD-PFb-view-S8A-8A-D4A.nib/objects-12.3+.nib
  35. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/BXE-xD-PFb-view-S8A-8A-D4A.nib/runtime.nib
  36. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/Info.plist
  37. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/UIViewController-BXE-xD-PFb.nib/objects-11.0+.nib
  38. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/UIViewController-BXE-xD-PFb.nib/objects-12.3+.nib
  39. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/UIViewController-BXE-xD-PFb.nib/runtime.nib
  40. BIN
      IPUFrameworks/IPUVideoPro.framework/IPUVideoPro
  41. BIN
      IPUFrameworks/IPUVideoPro.framework/Info.plist
  42. BIN
      IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
  43. BIN
      IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/Project/arm64.swiftsourceinfo
  44. BIN
      IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64-apple-ios.swiftdoc
  45. BIN
      IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64-apple-ios.swiftmodule
  46. BIN
      IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64.swiftdoc
  47. BIN
      IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64.swiftmodule
  48. 11 0
      IPUFrameworks/IPUVideoPro.framework/Modules/module.modulemap
  49. 3 0
      display-center/Res/config/mobile-action.xml
  50. 22 0
      display-center/display-center.xcodeproj/project.pbxproj

BIN
IPUFrameworks/GPUImage2.framework/Assets.car


BIN
IPUFrameworks/GPUImage2.framework/GPUImage2


+ 239 - 0
IPUFrameworks/GPUImage2.framework/Headers/GPUImage2-Swift.h

@ -0,0 +1,239 @@
1
// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
2
#ifndef GPUIMAGE2_SWIFT_H
3
#define GPUIMAGE2_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 CoreGraphics;
193
@import CoreMedia;
194
@import ObjectiveC;
195
@import UIKit;
196
#endif
197
198
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
199
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
200
#if __has_warning("-Wpragma-clang-attribute")
201
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
202
#endif
203
#pragma clang diagnostic ignored "-Wunknown-pragmas"
204
#pragma clang diagnostic ignored "-Wnullability"
205
206
#if __has_attribute(external_source_symbol)
207
# pragma push_macro("any")
208
# undef any
209
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GPUImage2",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
210
# pragma pop_macro("any")
211
#endif
212
213
@class AVCaptureOutput;
214
@class AVCaptureConnection;
215
216
SWIFT_CLASS("_TtC9GPUImage26Camera")
217
@interface Camera : NSObject <AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate>
218
- (void)captureOutput:(AVCaptureOutput * _Nonnull)output didOutputSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer fromConnection:(AVCaptureConnection * _Nonnull)connection;
219
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
220
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
221
@end
222
223
@class NSCoder;
224
225
SWIFT_CLASS("_TtC9GPUImage210RenderView")
226
@interface RenderView : UIView
227
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
228
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
229
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
230
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
231
@property (nonatomic) CGRect bounds;
232
@end
233
234
235
#if __has_attribute(external_source_symbol)
236
# pragma clang attribute pop
237
#endif
238
#pragma clang diagnostic pop
239
#endif

BIN
IPUFrameworks/GPUImage2.framework/Info.plist


BIN
IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo


BIN
IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/Project/arm64.swiftsourceinfo


BIN
IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64-apple-ios.swiftdoc


BIN
IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64-apple-ios.swiftmodule


BIN
IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64.swiftdoc


BIN
IPUFrameworks/GPUImage2.framework/Modules/GPUImage2.swiftmodule/arm64.swiftmodule


+ 4 - 0
IPUFrameworks/GPUImage2.framework/Modules/module.modulemap

@ -0,0 +1,4 @@
1
framework module GPUImage2 {
2
  header "GPUImage2-Swift.h"
3
  requires objc
4
}

+ 911 - 0
IPUFrameworks/IPUSwiftPro.framework/Headers/IPUSwiftPro-Swift.h

@ -0,0 +1,911 @@
1
// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
2
#ifndef IPUSWIFTPRO_SWIFT_H
3
#define IPUSWIFTPRO_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 CoreGraphics;
192
@import Dispatch;
193
@import Foundation;
194
@import ObjectiveC;
195
@import UIKit;
196
#endif
197
198
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
199
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
200
#if __has_warning("-Wpragma-clang-attribute")
201
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
202
#endif
203
#pragma clang diagnostic ignored "-Wunknown-pragmas"
204
#pragma clang diagnostic ignored "-Wnullability"
205
206
#if __has_attribute(external_source_symbol)
207
# pragma push_macro("any")
208
# undef any
209
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="IPUSwiftPro",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
210
# pragma pop_macro("any")
211
#endif
212
213
214
@class NSString;
215
@class NSNumber;
216
@class UIImage;
217
218
SWIFT_CLASS("_TtC11IPUSwiftPro16IPUSwiftFileUtil")
219
@interface IPUSwiftFileUtil : NSObject
220
+ (NSArray<NSString *> * _Nonnull)lsDirectory:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
221
+ (void)deleteFileForAbsolute:(NSString * _Nonnull)path;
222
+ (BOOL)isFileExists:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
223
/// 获取文件大小
224
+ (int64_t)getFileSize:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
225
/// 根据Key获取文件属性
226
+ (id _Nullable)getAttributes:(NSString * _Nonnull)path forKey:(NSFileAttributeKey _Nonnull)forKey SWIFT_WARN_UNUSED_RESULT;
227
/// 复制文件
228
/// \param from 源路径
229
///
230
/// \param to 目标路径
231
///
232
///
233
/// returns:
234
/// 操作结果
235
+ (BOOL)copyFileFrom:(NSString * _Nonnull)from to:(NSString * _Nonnull)to SWIFT_WARN_UNUSED_RESULT;
236
/// 保存视频到相册
237
/// \param path 路径
238
///
239
/// \param onResult 操作结果
240
///
241
+ (void)saveVideoToPHPhotoLibraryWithPath:(NSString * _Nonnull)path onResult:(void (^ _Nonnull)(BOOL))onResult;
242
/// 保存图片到相册
243
/// \param image 图片
244
///
245
/// \param onResult 操作结果
246
///
247
+ (void)saveImageToPHPhotoLibraryWithImage:(UIImage * _Nonnull)image onResult:(void (^ _Nonnull)(BOOL))onResult;
248
/// 保存图片到相册
249
/// \param path 路径
250
///
251
/// \param onResult 操作结果
252
///
253
+ (void)saveImageToPHPhotoLibraryWithPath:(NSString * _Nonnull)path onResult:(void (^ _Nonnull)(BOOL))onResult;
254
/// 获取文件的mimeType
255
/// \param pathExtension 路径
256
///
257
///
258
/// returns:
259
/// mimeType
260
+ (NSString * _Nonnull)mimeTypeWithPathExtension:(NSString * _Nonnull)pathExtension SWIFT_WARN_UNUSED_RESULT;
261
/// 获取剩余存储空间
262
///
263
/// returns:
264
/// 剩余空间,或者0:失败
265
+ (int64_t)getFreeStorageSpace SWIFT_WARN_UNUSED_RESULT;
266
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
267
@end
268
269
270
SWIFT_CLASS("_TtC11IPUSwiftPro22IPUSwiftPermissionUtil")
271
@interface IPUSwiftPermissionUtil : NSObject
272
/// 获取相册写入权限
273
+ (void)getPHPhotoPermission:(void (^ _Nonnull)(BOOL))onResult;
274
/// 获取相机权限
275
+ (void)getCameraPermission:(void (^ _Nonnull)(BOOL))onResult;
276
/// 获取录音权限
277
+ (void)getAudioPermission:(void (^ _Nonnull)(BOOL))onResult;
278
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
279
@end
280
281
@class UIAlertAction;
282
@class UIAlertController;
283
@class UITextField;
284
@class UITextView;
285
286
SWIFT_CLASS("_TtC11IPUSwiftPro14IPUSwiftUIUtil")
287
@interface IPUSwiftUIUtil : NSObject
288
+ (void)showIndicator;
289
+ (BOOL)isIndicatorAnimating SWIFT_WARN_UNUSED_RESULT;
290
+ (void)hideIndicator;
291
/// 弹出toast提示
292
+ (void)showToast:(NSString * _Nonnull)str showDuration:(NSTimeInterval)showDuration;
293
/// 获取”确认/取消”弹窗,可调用show方法弹出
294
+ (UIAlertController * _Nonnull)getConfirmAlertWithStyle:(UIAlertControllerStyle)style title:(NSString * _Nonnull)title msg:(NSString * _Nullable)msg ok:(NSString * _Nonnull)ok cancel:(NSString * _Nonnull)cancel onConfirm:(void (^ _Nullable)(UIAlertAction * _Nonnull))handler SWIFT_WARN_UNUSED_RESULT;
295
/// 获取”输入行”弹窗,可调用show方法弹出
296
+ (UIAlertController * _Nonnull)getTextFiledAlertWithStyle:(UIAlertControllerStyle)style title:(NSString * _Nonnull)title text:(NSString * _Nonnull)text placeholder:(NSString * _Nonnull)placeholder keyType:(UIKeyboardType)keyType onConfirm:(void (^ _Nonnull)(NSString * _Nonnull))handler onTextChange:(void (^ _Nullable)(UITextField * _Nonnull))onTextChange SWIFT_WARN_UNUSED_RESULT;
297
/// 获取”输入框”弹窗,可调用show方法弹出
298
+ (UIAlertController * _Nonnull)getTextViewAlertWithStyle:(UIAlertControllerStyle)style height:(CGFloat)height title:(NSString * _Nonnull)title text:(NSString * _Nonnull)text keyType:(UIKeyboardType)keyType onConfirm:(void (^ _Nonnull)(NSString * _Nonnull))handler onTextChange:(void (^ _Nullable)(UITextView * _Nonnull))onTextChange SWIFT_WARN_UNUSED_RESULT;
299
/// 获取”选择列表中的一个”弹窗,可调用show方法弹出
300
+ (UIAlertController * _Nonnull)getListAlertWithStyle:(UIAlertControllerStyle)style title:(NSString * _Nullable)title itemTitles:(NSArray<NSString *> * _Nonnull)itemTitles handler:(void (^ _Nonnull)(UIAlertAction * _Nonnull, NSInteger))handler SWIFT_WARN_UNUSED_RESULT;
301
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
302
@end
303
304
@class NSData;
305
@class NSError;
306
307
SWIFT_CLASS("_TtC11IPUSwiftPro12IPUSwiftUtil")
308
@interface IPUSwiftUtil : NSObject
309
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nullable appVersion;)
310
+ (NSString * _Nullable)appVersion SWIFT_WARN_UNUSED_RESULT;
311
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nullable appBuild;)
312
+ (NSString * _Nullable)appBuild SWIFT_WARN_UNUSED_RESULT;
313
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nullable appBundleID;)
314
+ (NSString * _Nullable)appBundleID SWIFT_WARN_UNUSED_RESULT;
315
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull deviceVersion;)
316
+ (NSString * _Nonnull)deviceVersion SWIFT_WARN_UNUSED_RESULT;
317
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL isDebug;)
318
+ (BOOL)isDebug SWIFT_WARN_UNUSED_RESULT;
319
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL isSimulator;)
320
+ (BOOL)isSimulator SWIFT_WARN_UNUSED_RESULT;
321
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) UIInterfaceOrientation screenOrientation;)
322
+ (UIInterfaceOrientation)screenOrientation SWIFT_WARN_UNUSED_RESULT;
323
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) CGFloat screenWidth;)
324
+ (CGFloat)screenWidth SWIFT_WARN_UNUSED_RESULT;
325
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) CGFloat screenHeight;)
326
+ (CGFloat)screenHeight SWIFT_WARN_UNUSED_RESULT;
327
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) CGFloat screenStatusBarHeight;)
328
+ (CGFloat)screenStatusBarHeight SWIFT_WARN_UNUSED_RESULT;
329
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) CGFloat screenHeightWithoutStatusBar;)
330
+ (CGFloat)screenHeightWithoutStatusBar SWIFT_WARN_UNUSED_RESULT;
331
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nullable currentRegion;)
332
+ (NSString * _Nullable)currentRegion SWIFT_WARN_UNUSED_RESULT;
333
/// 监听截屏
334
/// \param action 触发回调
335
///
336
+ (void)detectScreenShot:(void (^ _Nonnull)(void))action;
337
+ (void)runDelay:(double)second queue:(dispatch_queue_t _Nonnull)queue closure:(void (^ _Nonnull)(void))closure;
338
+ (NSString * _Nullable)getJSONStringFrom:(id _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
339
+ (void)requestImage:(NSString * _Nonnull)url success:(void (^ _Nonnull)(UIImage * _Nullable))success;
340
+ (void)requestURL:(NSString * _Nonnull)url success:(void (^ _Nonnull)(NSData * _Nullable))success error:(void (^ _Nullable)(NSError * _Nonnull))error;
341
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
342
@end
343
344
@class NSCoder;
345
346
SWIFT_CLASS("_TtC11IPUSwiftPro17JRefreshComponent")
347
@interface JRefreshComponent : UIView
348
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
349
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
350
- (void)layoutSubviews;
351
- (void)willMoveToSuperview:(UIView * _Nullable)newSuperview;
352
- (void)drawRect:(CGRect)rect;
353
@end
354
355
356
SWIFT_CLASS("_TtC11IPUSwiftPro14JRefreshFooter")
357
@interface JRefreshFooter : JRefreshComponent
358
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
359
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
360
@end
361
362
363
SWIFT_CLASS("_TtC11IPUSwiftPro18JRefreshAutoFooter")
364
@interface JRefreshAutoFooter : JRefreshFooter
365
@property (nonatomic, getter=isHidden) BOOL hidden;
366
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
367
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
368
@end
369
370
371
@interface JRefreshAutoFooter (SWIFT_EXTENSION(IPUSwiftPro))
372
- (void)prepare;
373
- (void)willMoveToSuperview:(UIView * _Nullable)newSuperview;
374
- (void)scrollViewContentSizeDidChange:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change;
375
- (void)scrollViewContentOffsetDidChange:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change;
376
- (void)scrollViewPanStateDidChange:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change;
377
- (void)beginRefreshing;
378
@end
379
380
381
SWIFT_CLASS("_TtC11IPUSwiftPro23JRefreshAutoStateFooter")
382
@interface JRefreshAutoStateFooter : JRefreshAutoFooter
383
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
384
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
385
@end
386
387
388
SWIFT_CLASS("_TtC11IPUSwiftPro21JRefreshAutoGifFooter")
389
@interface JRefreshAutoGifFooter : JRefreshAutoStateFooter
390
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
391
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
392
@end
393
394
395
@interface JRefreshAutoGifFooter (SWIFT_EXTENSION(IPUSwiftPro))
396
- (void)prepare;
397
- (void)placeSubviews;
398
@end
399
400
401
402
SWIFT_CLASS("_TtC11IPUSwiftPro24JRefreshAutoNormalFooter")
403
@interface JRefreshAutoNormalFooter : JRefreshAutoStateFooter
404
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
405
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
406
@end
407
408
409
@interface JRefreshAutoNormalFooter (SWIFT_EXTENSION(IPUSwiftPro))
410
- (void)prepare;
411
- (void)placeSubviews;
412
@end
413
414
415
416
417
418
@interface JRefreshAutoStateFooter (SWIFT_EXTENSION(IPUSwiftPro))
419
- (void)prepare;
420
- (void)placeSubviews;
421
@end
422
423
424
425
426
@interface JRefreshComponent (SWIFT_EXTENSION(IPUSwiftPro))
427
- (void)observeValueForKeyPath:(NSString * _Nullable)keyPath ofObject:(id _Nullable)object change:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change context:(void * _Nullable)context;
428
@end
429
430
431
@interface JRefreshComponent (SWIFT_EXTENSION(IPUSwiftPro))
432
/// 进入刷新状态
433
- (void)beginRefreshing;
434
@end
435
436
437
@interface JRefreshComponent (SWIFT_EXTENSION(IPUSwiftPro))
438
/// 初始化
439
- (void)prepare;
440
/// 摆放子控件frame
441
- (void)placeSubviews;
442
/// 当scrollView的contentOffset发生改变的时候调用
443
- (void)scrollViewContentOffsetDidChange:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change;
444
/// 当scrollView的contentSize发生改变的时候调用
445
- (void)scrollViewContentSizeDidChange:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change;
446
/// 当scrollView的拖拽状态发生改变的时候调用
447
- (void)scrollViewPanStateDidChange:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change;
448
@end
449
450
451
452
@interface JRefreshFooter (SWIFT_EXTENSION(IPUSwiftPro))
453
- (void)prepare;
454
@end
455
456
457
458
SWIFT_CLASS("_TtC11IPUSwiftPro14JRefreshHeader")
459
@interface JRefreshHeader : JRefreshComponent
460
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
461
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
462
@end
463
464
465
SWIFT_CLASS("_TtC11IPUSwiftPro19JRefreshStateHeader")
466
@interface JRefreshStateHeader : JRefreshHeader
467
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
468
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
469
@end
470
471
472
SWIFT_CLASS("_TtC11IPUSwiftPro17JRefreshGifHeader")
473
@interface JRefreshGifHeader : JRefreshStateHeader
474
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
475
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
476
@end
477
478
479
@interface JRefreshGifHeader (SWIFT_EXTENSION(IPUSwiftPro))
480
- (void)prepare;
481
- (void)placeSubviews;
482
@end
483
484
485
486
487
@interface JRefreshHeader (SWIFT_EXTENSION(IPUSwiftPro))
488
- (void)prepare;
489
- (void)placeSubviews;
490
- (void)scrollViewContentOffsetDidChange:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change;
491
@end
492
493
494
SWIFT_CLASS("_TtC11IPUSwiftPro20JRefreshNormalHeader")
495
@interface JRefreshNormalHeader : JRefreshStateHeader
496
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
497
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
498
@end
499
500
501
@interface JRefreshNormalHeader (SWIFT_EXTENSION(IPUSwiftPro))
502
- (void)prepare;
503
- (void)placeSubviews;
504
@end
505
506
507
508
@interface JRefreshStateHeader (SWIFT_EXTENSION(IPUSwiftPro))
509
- (void)prepare;
510
- (void)placeSubviews;
511
@end
512
513
@class UIColor;
514
515
@interface NSAttributedString (SWIFT_EXTENSION(IPUSwiftPro))
516
- (NSAttributedString * _Nonnull)bold SWIFT_WARN_UNUSED_RESULT;
517
- (NSAttributedString * _Nonnull)underline SWIFT_WARN_UNUSED_RESULT;
518
- (NSAttributedString * _Nonnull)italic SWIFT_WARN_UNUSED_RESULT;
519
- (NSAttributedString * _Nonnull)strikethrough SWIFT_WARN_UNUSED_RESULT;
520
- (NSAttributedString * _Nonnull)color:(UIColor * _Nonnull)color SWIFT_WARN_UNUSED_RESULT;
521
@end
522
523
524
525
@interface NSObject (SWIFT_EXTENSION(IPUSwiftPro))
526
@property (nonatomic, readonly, copy) NSString * _Nonnull className;
527
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull className;)
528
+ (NSString * _Nonnull)className SWIFT_WARN_UNUSED_RESULT;
529
@end
530
531
@class NSBundle;
532
533
SWIFT_CLASS("_TtC11IPUSwiftPro26OneTextFieldViewController")
534
@interface OneTextFieldViewController : UIViewController
535
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE;
536
- (void)viewDidLoad;
537
- (void)viewDidLayoutSubviews;
538
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
539
@end
540
541
542
SWIFT_CLASS("_TtC11IPUSwiftPro12PaddingLabel")
543
@interface PaddingLabel : UILabel
544
@property (nonatomic) IBInspectable CGFloat paddingLeft;
545
@property (nonatomic) IBInspectable CGFloat paddingRight;
546
@property (nonatomic) IBInspectable CGFloat paddingTop;
547
@property (nonatomic) IBInspectable CGFloat paddingBottom;
548
- (void)drawTextInRect:(CGRect)rect;
549
- (CGRect)textRectForBounds:(CGRect)bounds limitedToNumberOfLines:(NSInteger)numberOfLines SWIFT_WARN_UNUSED_RESULT;
550
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
551
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
552
@end
553
554
typedef SWIFT_ENUM(NSInteger, ScrollViewRefreshType, closed) {
555
  ScrollViewRefreshTypeHeader = 1,
556
  ScrollViewRefreshTypeFooter = -1,
557
  ScrollViewRefreshTypeAll = 0,
558
};
559
560
561
SWIFT_CLASS("_TtC11IPUSwiftPro9TextField")
562
@interface TextField : UITextField
563
- (CGRect)leftViewRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT;
564
- (CGRect)textRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT;
565
- (CGRect)editingRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT;
566
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
567
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
568
@end
569
570
571
SWIFT_CLASS("_TtC11IPUSwiftPro18TextViewController")
572
@interface TextViewController : UIViewController
573
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE;
574
- (void)loadView;
575
- (void)viewWillAppear:(BOOL)animated;
576
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
577
@end
578
579
580
@interface TextViewController (SWIFT_EXTENSION(IPUSwiftPro)) <UITextViewDelegate>
581
- (BOOL)textView:(UITextView * _Nonnull)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
582
@end
583
584
typedef SWIFT_ENUM(NSInteger, TouchEvent, closed) {
585
  TouchEventBegan = 0,
586
  TouchEventEnd = 1,
587
  TouchEventCancle = 2,
588
};
589
590
591
SWIFT_CLASS("_TtC11IPUSwiftPro27TwoTextFieldsViewController")
592
@interface TwoTextFieldsViewController : UIViewController
593
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE;
594
- (void)viewDidLoad;
595
- (void)viewDidLayoutSubviews;
596
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
597
@end
598
599
600
@class UIFont;
601
602
@interface UIAlertController (SWIFT_EXTENSION(IPUSwiftPro))
603
- (void)showOn:(UIViewController * _Nullable)on;
604
/// Add an action to Alert
605
/// \param title action title
606
///
607
/// \param style action style (default is UIAlertActionStyle.default)
608
///
609
/// \param isEnabled isEnabled status for action (default is true)
610
///
611
/// \param handler optional action handler to be called when button is tapped (default is nil)
612
///
613
- (void)addActionWithImage:(UIImage * _Nullable)image title:(NSString * _Nonnull)title color:(UIColor * _Nullable)color style:(UIAlertActionStyle)style isEnabled:(BOOL)isEnabled handler:(void (^ _Nullable)(UIAlertAction * _Nonnull))handler;
614
/// Set alert’s title, font and color
615
/// \param title alert title
616
///
617
/// \param font alert title font
618
///
619
/// \param color alert title color
620
///
621
- (void)setAlertTitleWithTitle:(NSString * _Nullable)title font:(UIFont * _Nonnull)font color:(UIColor * _Nonnull)color;
622
- (void)setTitleWithFont:(UIFont * _Nonnull)font color:(UIColor * _Nonnull)color;
623
/// Set alert’s message, font and color
624
/// \param message alert message
625
///
626
/// \param font alert message font
627
///
628
/// \param color alert message color
629
///
630
- (void)setWithMessage:(NSString * _Nullable)message font:(UIFont * _Nonnull)font color:(UIColor * _Nonnull)color;
631
- (void)setMessageWithFont:(UIFont * _Nonnull)font color:(UIColor * _Nonnull)color;
632
/// Set alert’s content viewController
633
/// \param vc ViewController
634
///
635
/// \param height height of content viewController
636
///
637
- (void)setAlertVCWithVc:(UIViewController * _Nonnull)vc height:(CGFloat)height;
638
@end
639
640
@class UIEvent;
641
642
@interface UIButton (SWIFT_EXTENSION(IPUSwiftPro))
643
- (UIView * _Nonnull)addCountdownWithTime:(NSInteger)time endAction:(void (^ _Nonnull)(void))endAction;
644
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT;
645
@end
646
647
648
649
@interface UIColor (SWIFT_EXTENSION(IPUSwiftPro))
650
- (nonnull instancetype)initWithR:(CGFloat)r g:(CGFloat)g b:(CGFloat)b a:(CGFloat)a;
651
- (nullable instancetype)initWithHexString:(NSString * _Nonnull)hexString alpha:(CGFloat)alpha;
652
- (nonnull instancetype)initWithHex:(NSInteger)hex alpha:(CGFloat)alpha;
653
- (nonnull instancetype)initWithGray:(CGFloat)gray alpha:(CGFloat)alpha;
654
@property (nonatomic, readonly) NSInteger redComponent;
655
@property (nonatomic, readonly) NSInteger greenComponent;
656
@property (nonatomic, readonly) NSInteger blueComponent;
657
@property (nonatomic, readonly) CGFloat alpha;
658
- (NSString * _Nonnull)hexStringWithPoundPre:(BOOL)poundPre withAlpha:(BOOL)withAlpha SWIFT_WARN_UNUSED_RESULT;
659
- (UIImage * _Nonnull)toImageWithSize:(CGSize)size SWIFT_WARN_UNUSED_RESULT;
660
@end
661
662
663
@interface UIDevice (SWIFT_EXTENSION(IPUSwiftPro))
664
- (NSString * _Nullable)idForVendor SWIFT_WARN_UNUSED_RESULT;
665
- (NSString * _Nonnull)getSystemName SWIFT_WARN_UNUSED_RESULT;
666
- (NSString * _Nonnull)getSystemVersion SWIFT_WARN_UNUSED_RESULT;
667
- (float)systemFloatVersion SWIFT_WARN_UNUSED_RESULT;
668
- (NSString * _Nonnull)deviceName SWIFT_WARN_UNUSED_RESULT;
669
- (NSString * _Nonnull)deviceLanguage SWIFT_WARN_UNUSED_RESULT;
670
- (NSString * _Nonnull)deviceModelReadable SWIFT_WARN_UNUSED_RESULT;
671
- (BOOL)isPhone SWIFT_WARN_UNUSED_RESULT;
672
- (BOOL)isPad SWIFT_WARN_UNUSED_RESULT;
673
- (NSString * _Nonnull)deviceModel SWIFT_WARN_UNUSED_RESULT;
674
@end
675
676
677
678
@interface UIImage (SWIFT_EXTENSION(IPUSwiftPro))
679
/// 高斯模糊
680
- (UIImage * _Nonnull)blurImage SWIFT_WARN_UNUSED_RESULT;
681
- (UIImage * _Nonnull)roundCornerWithRadius:(CGFloat)radius size:(CGSize)size SWIFT_WARN_UNUSED_RESULT;
682
- (UIImage * _Nullable)circleGroupImageWithImageArray:(NSArray<UIImage *> * _Nonnull)imageArray SWIFT_WARN_UNUSED_RESULT;
683
/// 将图片描边成聊天气泡
684
/// \param showWidth 最大宽度
685
///
686
/// \param isLeftAngle 尖角是否展示在左边
687
///
688
/// \param angleTop 尖角上边距
689
///
690
- (UIImage * _Nullable)chatBubbleImageWithShowWidth:(CGFloat)showWidth isLeftAngle:(BOOL)isLeftAngle angleTop:(CGFloat)angleTop SWIFT_WARN_UNUSED_RESULT;
691
/// 图片加水印
692
- (UIImage * _Nullable)addWatermarkWithPoint:(CGPoint)point size:(CGSize)size img:(UIImage * _Nonnull)img SWIFT_WARN_UNUSED_RESULT;
693
@end
694
695
696
@interface UIImage (SWIFT_EXTENSION(IPUSwiftPro))
697
/// 将二维码图片解析为字符串
698
- (NSString * _Nullable)detectQRCode SWIFT_WARN_UNUSED_RESULT;
699
@property (nonatomic, readonly, copy) NSString * _Nonnull base64;
700
- (NSInteger)getSizeAsBytes SWIFT_WARN_UNUSED_RESULT;
701
- (UIImage * _Nonnull)scaleToImage:(UIImage * _Nonnull)image w:(CGFloat)w h:(CGFloat)h SWIFT_WARN_UNUSED_RESULT;
702
- (UIImage * _Nonnull)resizeWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT;
703
- (UIImage * _Nonnull)resizeWithHeight:(CGFloat)height SWIFT_WARN_UNUSED_RESULT;
704
/// 按照img的aspect,将width换算成height
705
- (CGFloat)aspectHeightForWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT;
706
- (CGFloat)aspectWidthForHeight:(CGFloat)height SWIFT_WARN_UNUSED_RESULT;
707
- (UIImage * _Nullable)croppedImage:(CGRect)bound SWIFT_WARN_UNUSED_RESULT;
708
- (UIImage * _Nullable)cropImageWithRect:(CGRect)rect SWIFT_WARN_UNUSED_RESULT;
709
- (UIImage * _Nonnull)withColor:(UIColor * _Nonnull)tintColor SWIFT_WARN_UNUSED_RESULT;
710
- (UIImage * _Nonnull)withBackgroundColor:(UIColor * _Nonnull)tintColor SWIFT_WARN_UNUSED_RESULT;
711
- (nullable instancetype)initWithUrlString:(NSString * _Nonnull)urlString;
712
- (UIImage * _Nonnull)blankImage SWIFT_WARN_UNUSED_RESULT;
713
@end
714
715
716
@interface UIImageView (SWIFT_EXTENSION(IPUSwiftPro))
717
- (void)drawRectWithRoundCornorWithRadius:(CGFloat)radius size:(CGSize)size backColor:(UIColor * _Nonnull)backColor lineWith:(CGFloat)lineWith lineColor:(UIColor * _Nonnull)lineColor;
718
- (void)scaleImageFrameToWidthWithWidth:(CGFloat)width;
719
- (void)scaleImageFrameToHeightWithHeight:(CGFloat)height;
720
- (void)roundSquareImage;
721
/// 设置网络图片,无缓存策略
722
- (void)imageWithUrl:(NSString * _Nonnull)url placeholder:(UIImage * _Nullable)placeholder;
723
@end
724
725
726
727
@interface UILabel (SWIFT_EXTENSION(IPUSwiftPro))
728
- (CGFloat)getHeightWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT;
729
- (CGSize)getAttributeHeightWithWidth:(CGFloat)width SWIFT_WARN_UNUSED_RESULT;
730
- (CGFloat)getWidthWithHeight:(CGFloat)height SWIFT_WARN_UNUSED_RESULT;
731
- (void)addIconWithImage:(UIImage * _Nonnull)image bounds:(CGRect)bounds left:(BOOL)left;
732
- (CGSize)getEstimatedSize:(CGFloat)width height:(CGFloat)height SWIFT_WARN_UNUSED_RESULT;
733
- (CGFloat)getEstimatedHeight SWIFT_WARN_UNUSED_RESULT;
734
- (CGFloat)getEstimatedWidth SWIFT_WARN_UNUSED_RESULT;
735
- (void)fitHeight;
736
- (void)fitWidth;
737
- (void)fitSize;
738
- (void)setWithText:(NSString * _Nullable)text duration:(NSTimeInterval)duration;
739
@end
740
741
742
743
@interface UIScrollView (SWIFT_EXTENSION(IPUSwiftPro))
744
@property (nonatomic, readonly) BOOL isInBottom;
745
/// 给ScrollView添加上下拉组件
746
/// \param type 上下类型
747
///
748
/// \param onRefresh 触发成功的回调
749
///
750
- (void)addRefreshWithType:(enum ScrollViewRefreshType)type onRefresh:(void (^ _Nonnull)(BOOL))onRefresh;
751
/// 停止上下拉刷新操作
752
/// \param type 上下类型
753
///
754
- (void)stopRefreshWithType:(enum ScrollViewRefreshType)type;
755
/// 下拉加载后,提示没有更多数据
756
- (void)noticeNoMore;
757
/// 下拉刷新后,提示没有数据
758
/// \param empty 是否没有数据
759
///
760
- (void)noticeEmpty:(BOOL)empty;
761
/// 设置没有数据的提示界面
762
- (void)setEmptyRemindView:(UIView * _Nonnull)view;
763
/// 隐藏没有数据的提示
764
- (void)resetNoMoreData;
765
@end
766
767
768
769
@interface UISwitch (SWIFT_EXTENSION(IPUSwiftPro))
770
- (void)toggle;
771
@end
772
773
774
775
@interface UITextField (SWIFT_EXTENSION(IPUSwiftPro))
776
- (void)addLeftTextPadding:(CGFloat)blankSize;
777
- (void)addLeftIcon:(UIImage * _Nullable)image frame:(CGRect)frame imageSize:(CGSize)imageSize;
778
- (void)leftWithImage:(UIImage * _Nullable)image color:(UIColor * _Nonnull)color;
779
- (void)rightWithImage:(UIImage * _Nullable)image color:(UIColor * _Nonnull)color;
780
/// Set placeholder text color.
781
/// \param color placeholder text color.
782
///
783
- (void)setPlaceHolderTextColor:(UIColor * _Nonnull)color;
784
/// Set placeholder text and its color
785
- (void)placeholderWithText:(NSString * _Nonnull)value color:(UIColor * _Nonnull)color;
786
@end
787
788
789
@interface UITextView (SWIFT_EXTENSION(IPUSwiftPro))
790
/// Scroll to the bottom of text view
791
- (void)scrollToBottom;
792
/// Scroll to the top of text view
793
- (void)scrollToTop;
794
- (void)addDoneButton:(UIBarStyle)barStyle title:(NSString * _Nullable)title;
795
@end
796
797
@class UITouch;
798
799
@interface UIView (SWIFT_EXTENSION(IPUSwiftPro))
800
@property (nonatomic) id _Nullable dataSaver;
801
- (void)touchesBegan:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
802
- (void)touchesEnded:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
803
- (void)touchesCancelled:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
804
- (void)touchUpInSideBtnActionWithBtn:(UIButton * _Nonnull)btn;
805
- (void)setOnClick:(id _Nullable)target onClick:(SEL _Nullable)onClick dataSaver:(id _Nullable)dataSaver;
806
- (void)setOnLongClick:(id _Nullable)target onLongClick:(SEL _Nullable)onLongClick dataSaver:(id _Nullable)dataSaver;
807
@property (nonatomic) CGFloat x;
808
@property (nonatomic) CGFloat y;
809
@property (nonatomic) CGFloat w;
810
@property (nonatomic) CGFloat h;
811
@property (nonatomic) CGFloat left;
812
@property (nonatomic) CGFloat right;
813
@property (nonatomic) CGFloat top;
814
@property (nonatomic) CGFloat bottom;
815
@property (nonatomic) CGPoint origin;
816
@property (nonatomic) CGFloat centerX;
817
@property (nonatomic) CGFloat centerY;
818
@property (nonatomic) CGSize size;
819
- (void)removeSubviews;
820
- (void)centerXInSuperView;
821
- (void)centerYInSuperView;
822
- (void)centerInSuperView;
823
- (void)setRotationX:(CGFloat)x;
824
- (void)setRotationY:(CGFloat)y;
825
- (void)setRotationZ:(CGFloat)z;
826
- (void)setRotationWithX:(CGFloat)x y:(CGFloat)y z:(CGFloat)z;
827
- (void)setScaleWithX:(CGFloat)x y:(CGFloat)y;
828
@property (nonatomic) IBInspectable BOOL circleCorner;
829
@property (nonatomic) IBInspectable CGFloat cornerRadius;
830
@property (nonatomic, strong) IBInspectable UIColor * _Nullable shadowColor;
831
@property (nonatomic) IBInspectable CGSize shadowOffset;
832
@property (nonatomic) IBInspectable double shadowOpacity;
833
@property (nonatomic) IBInspectable CGFloat shadowRadius;
834
@property (nonatomic) IBInspectable BOOL shadowShouldRasterize;
835
@property (nonatomic) IBInspectable CGFloat shadowRasterizationScale;
836
- (void)setCornerRadiusWithRadius:(CGFloat)radius;
837
- (void)addShadowWithRadius:(CGFloat)radius offset:(CGSize)offset color:(UIColor * _Nonnull)color opacity:(float)opacity cornerRadius:(CGFloat)cornerRadius;
838
- (void)addBorderWithWidth:(CGFloat)width color:(UIColor * _Nonnull)color;
839
- (void)addBorderTopWithSize:(CGFloat)size color:(UIColor * _Nonnull)color;
840
- (void)addBorderTopWithPaddingWithSize:(CGFloat)size color:(UIColor * _Nonnull)color padding:(CGFloat)padding;
841
- (void)addBorderBottomWithSize:(CGFloat)size color:(UIColor * _Nonnull)color;
842
- (void)addBorderLeftWithSize:(CGFloat)size color:(UIColor * _Nonnull)color;
843
- (void)addBorderRightWithSize:(CGFloat)size color:(UIColor * _Nonnull)color;
844
- (void)drawCircleWithFillColor:(UIColor * _Nonnull)fillColor strokeColor:(UIColor * _Nonnull)strokeColor strokeWidth:(CGFloat)strokeWidth;
845
- (void)drawStrokeWithWidth:(CGFloat)width color:(UIColor * _Nonnull)color;
846
- (void)addRoundedCornersWithCorners:(UIRectCorner)corners radii:(CGSize)radii viewRect:(CGRect)viewRect;
847
- (void)springWithAnimations:(void (^ _Nonnull)(void))animations completion:(void (^ _Nullable)(BOOL))completion;
848
- (void)springWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay damping:(CGFloat)damping velocity:(CGFloat)velocity animations:(void (^ _Nonnull)(void))animations completion:(void (^ _Nullable)(BOOL))completion;
849
- (void)pop;
850
- (void)popBig;
851
- (void)reversePop;
852
- (UIImage * _Nullable)toImageWithIsOpaque:(BOOL)isOpaque SWIFT_WARN_UNUSED_RESULT;
853
- (void)roundViewWithBorderColor:(UIColor * _Nullable)color withBorderWidth:(CGFloat)width cornerRadius:(CGFloat)cornerRadius;
854
- (void)nakedView;
855
- (void)shakeViewForTimes:(NSInteger)times;
856
- (void)fadeIn:(NSTimeInterval)duration delay:(NSTimeInterval)delay completion:(void (^ _Nullable)(BOOL))completion;
857
- (void)fadeOut:(NSTimeInterval)duration delay:(NSTimeInterval)delay completion:(void (^ _Nullable)(BOOL))completion;
858
- (void)fadeTo:(CGFloat)value duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay completion:(void (^ _Nullable)(BOOL))completion;
859
@end
860
861
@class NSNotification;
862
863
@interface UIViewController (SWIFT_EXTENSION(IPUSwiftPro))
864
- (void)setLeftBackItem:(NSString * _Nonnull)title :(UIImage * _Nullable)img;
865
- (void)onLeftClick:(id _Nonnull)sender;
866
- (void)setRightButtonWithTitle:(NSString * _Nonnull)title needWidth:(CGFloat)needWidth;
867
- (void)onRightClick:(id _Nonnull)sender;
868
- (void)addNotificationObserver:(NSString * _Nonnull)name selector:(SEL _Nonnull)selector;
869
- (void)removeNotificationObserver:(NSString * _Nonnull)name;
870
- (void)removeNotificationObserver;
871
- (void)addKeyboardWillShowNotification;
872
- (void)addKeyboardDidShowNotification;
873
- (void)addKeyboardWillHideNotification;
874
- (void)addKeyboardDidHideNotification;
875
- (void)removeKeyboardWillShowNotification;
876
- (void)removeKeyboardDidShowNotification;
877
- (void)removeKeyboardWillHideNotification;
878
- (void)removeKeyboardDidHideNotification;
879
- (void)keyboardDidShowNotification:(NSNotification * _Nonnull)notification;
880
- (void)keyboardWillShowNotification:(NSNotification * _Nonnull)notification;
881
- (void)keyboardWillHideNotification:(NSNotification * _Nonnull)notification;
882
- (void)keyboardDidHideNotification:(NSNotification * _Nonnull)notification;
883
- (void)keyboardWillShowWithFrame:(CGRect)frame;
884
- (void)keyboardDidShowWithFrame:(CGRect)frame;
885
- (void)keyboardWillHideWithFrame:(CGRect)frame;
886
- (void)keyboardDidHideWithFrame:(CGRect)frame;
887
- (void)hideKeyboardWhenTappedAroundWithCancelTouches:(BOOL)cancelTouches;
888
- (void)dismissKeyboard;
889
@property (nonatomic, readonly) CGFloat top;
890
@property (nonatomic, readonly) CGFloat bottom;
891
@property (nonatomic, readonly) CGFloat tabBarHeight;
892
@property (nonatomic, readonly) CGFloat navigationBarHeight;
893
@property (nonatomic, strong) UIColor * _Nullable navigationBarColor;
894
- (void)pushVC:(UIViewController * _Nonnull)vc;
895
- (void)popVC:(BOOL)animated completion:(void (^ _Nullable)(void))completion;
896
@property (nonatomic) BOOL isNavBarHidden;
897
- (void)popToRootVC;
898
- (void)presentVC:(UIViewController * _Nonnull)vc;
899
- (void)dismissVCWithCompletion:(void (^ _Nullable)(void))completion;
900
- (void)addAsChildViewController:(UIViewController * _Nonnull)vc toView:(UIView * _Nonnull)toView;
901
+ (void)dismissAlertWithAnimated:(BOOL)animated;
902
- (BOOL)isInNavi SWIFT_WARN_UNUSED_RESULT;
903
+ (UIViewController * _Nullable)topViewController:(UIViewController * _Nullable)base SWIFT_WARN_UNUSED_RESULT;
904
@end
905
906
907
#if __has_attribute(external_source_symbol)
908
# pragma clang attribute pop
909
#endif
910
#pragma clang diagnostic pop
911
#endif

+ 18 - 0
IPUFrameworks/IPUSwiftPro.framework/Headers/IPUSwiftPro.h

@ -0,0 +1,18 @@
1
//
2
//  IPUSwiftPro.h
3
//  IPUSwiftPro
4
//
5
//  Created by yang dingli on 2022/3/11.
6
//
7
8
#import <Foundation/Foundation.h>
9
10
//! Project version number for IPUSwiftPro.
11
FOUNDATION_EXPORT double IPUSwiftProVersionNumber;
12
13
//! Project version string for IPUSwiftPro.
14
FOUNDATION_EXPORT const unsigned char IPUSwiftProVersionString[];
15
16
// In this header, you should import all the public headers of your framework using statements like #import <IPUSwiftPro/PublicHeader.h>
17
18

BIN
IPUFrameworks/IPUSwiftPro.framework/IPUSwiftPro


BIN
IPUFrameworks/IPUSwiftPro.framework/Info.plist


BIN
IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo


BIN
IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/Project/arm64.swiftsourceinfo


BIN
IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64-apple-ios.swiftdoc


BIN
IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64-apple-ios.swiftmodule


BIN
IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64.swiftdoc


BIN
IPUFrameworks/IPUSwiftPro.framework/Modules/IPUSwiftPro.swiftmodule/arm64.swiftmodule


+ 11 - 0
IPUFrameworks/IPUSwiftPro.framework/Modules/module.modulemap

@ -0,0 +1,11 @@
1
framework module IPUSwiftPro {
2
  umbrella header "IPUSwiftPro.h"
3
4
  export *
5
  module * { export * }
6
}
7
8
module IPUSwiftPro.Swift {
9
    header "IPUSwiftPro-Swift.h"
10
    requires objc
11
}

BIN
IPUFrameworks/IPUVideoPro.framework/Assets.car


BIN
IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/GYr-NP-P6d-view-EIe-Fz-u39.nib/objects-11.0+.nib


BIN
IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/GYr-NP-P6d-view-EIe-Fz-u39.nib/runtime.nib


BIN
IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/Info.plist


BIN
IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/UIViewController-GYr-NP-P6d.nib/objects-11.0+.nib


BIN
IPUFrameworks/IPUVideoPro.framework/Base.lproj/IPUVideoShootView.storyboardc/UIViewController-GYr-NP-P6d.nib/runtime.nib


+ 479 - 0
IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoPro-Swift.h

@ -0,0 +1,479 @@
1
// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
2
#ifndef IPUVIDEOPRO_SWIFT_H
3
#define IPUVIDEOPRO_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 CoreGraphics;
193
@import Foundation;
194
@import ObjectiveC;
195
@import UIKit;
196
#endif
197
198
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
199
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
200
#if __has_warning("-Wpragma-clang-attribute")
201
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
202
#endif
203
#pragma clang diagnostic ignored "-Wunknown-pragmas"
204
#pragma clang diagnostic ignored "-Wnullability"
205
206
#if __has_attribute(external_source_symbol)
207
# pragma push_macro("any")
208
# undef any
209
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="IPUVideoPro",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
210
# pragma pop_macro("any")
211
#endif
212
213
214
SWIFT_CLASS("_TtC11IPUVideoPro9IPUFilter")
215
@interface IPUFilter : NSObject
216
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
217
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
218
@end
219
220
@class UIImage;
221
@class NSCoder;
222
223
SWIFT_CLASS("_TtC11IPUVideoPro19IPUPaddingImageView")
224
@interface IPUPaddingImageView : UIImageView
225
- (void)awakeFromNib;
226
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image OBJC_DESIGNATED_INITIALIZER;
227
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage OBJC_DESIGNATED_INITIALIZER SWIFT_AVAILABILITY(ios,introduced=3.0);
228
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
229
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
230
@end
231
232
@class NSNumber;
233
234
SWIFT_CLASS("_TtC11IPUVideoPro15IPUPaddingLabel")
235
@interface IPUPaddingLabel : UILabel
236
@property (nonatomic) IBInspectable CGFloat paddingLeft;
237
@property (nonatomic) IBInspectable CGFloat paddingRight;
238
@property (nonatomic) IBInspectable CGFloat paddingTop;
239
@property (nonatomic) IBInspectable CGFloat paddingBottom;
240
- (void)drawTextInRect:(CGRect)rect;
241
- (CGRect)textRectForBounds:(CGRect)bounds limitedToNumberOfLines:(NSInteger)numberOfLines SWIFT_WARN_UNUSED_RESULT;
242
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
243
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
244
@end
245
246
247
SWIFT_CLASS("_TtC11IPUVideoPro11IPUSubTitle")
248
@interface IPUSubTitle : NSObject
249
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
250
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
251
@end
252
253
@class CALayer;
254
@class UITouch;
255
@class UIEvent;
256
257
SWIFT_CLASS("_TtC11IPUVideoPro22IPUVideoEditCropSlider")
258
@interface IPUVideoEditCropSlider : UIControl
259
@property (nonatomic) CGRect frame;
260
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
261
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
262
- (void)layoutSublayersOfLayer:(CALayer * _Nonnull)of;
263
- (BOOL)beginTrackingWithTouch:(UITouch * _Nonnull)touch withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT;
264
- (BOOL)continueTrackingWithTouch:(UITouch * _Nonnull)touch withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT;
265
- (void)endTrackingWithTouch:(UITouch * _Nullable)touch withEvent:(UIEvent * _Nullable)event;
266
@end
267
268
@class IPUVideoShootConfig;
269
@class NSURL;
270
@class IPUVideoProError;
271
@class UIViewController;
272
@class NSString;
273
274
SWIFT_CLASS("_TtC11IPUVideoPro11IPUVideoPro")
275
@interface IPUVideoPro : NSObject
276
/// 1.生产视频拍摄界面:
277
/// \param config 拍摄界面参数设置
278
///
279
/// \param onResult 拍摄完成之后回调
280
///
281
///
282
/// returns:
283
/// UIViewController
284
+ (UIViewController * _Nonnull)getVideoShootControllerWithConfig:(IPUVideoShootConfig * _Nonnull)config onResult:(void (^ _Nullable)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult SWIFT_WARN_UNUSED_RESULT;
285
/// 2.生产视频编辑界面:
286
/// \param inputURL 待编辑的视频URL
287
///
288
/// \param saveFolder 视频存储文件夹地址
289
///
290
/// \param onResult 编辑完成之后回调
291
///
292
///
293
/// returns:
294
/// UIViewController
295
+ (UIViewController * _Nonnull)getVideoEditControllerWithInputURL:(NSURL * _Nonnull)inputURL saveFolder:(NSString * _Nonnull)saveFolder onResult:(void (^ _Nullable)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult SWIFT_WARN_UNUSED_RESULT;
296
/// 3.将视频导入相册:
297
/// \param videoURL 视频URL
298
///
299
/// \param albumName 指定相册名字,默认为空
300
///
301
/// \param onResult 保存结果回调
302
///
303
+ (void)saveVideoToPhotoLibraryWithVideoURL:(NSURL * _Nonnull)videoURL albumName:(NSString * _Nullable)albumName onResult:(void (^ _Nonnull)(BOOL, IPUVideoProError * _Nullable))onResult;
304
/// 4.打开系统选择音频文件
305
/// \param currentViewController 当前界面
306
///
307
/// \param onResult 回调选择的音频文件路径
308
///
309
+ (void)openMusicPicker:(UIViewController * _Nonnull)currentViewController onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
310
/// 5.打开系统相册选择视频文件
311
/// \param currentViewController 当前界面
312
///
313
/// \param onResult 回调选择的视频文件路径
314
///
315
+ (void)openVideoPicker:(UIViewController * _Nonnull)currentViewController onResult:(void (^ _Nonnull)(NSString * _Nullable, IPUVideoProError * _Nullable))onResult;
316
/// 6.根据时间段切割视频
317
/// \param inputURL 输入视频URL
318
///
319
/// \param outputURL 输出视频URL
320
///
321
/// \param startTime 开始时间,单位秒
322
///
323
/// \param endTime 结束时间,单位秒
324
///
325
/// \param onResult 结果回调
326
///
327
+ (void)trimVideoWithInputURL:(NSURL * _Nonnull)inputURL outputURL:(NSURL * _Nonnull)outputURL startTime:(double)startTime endTime:(double)endTime onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
328
/// 7.根据时间段切割音频
329
/// \param inputURL 输入音频URL
330
///
331
/// \param outputURL 输出音频URL
332
///
333
/// \param startTime 开始时间,单位秒
334
///
335
/// \param endTime 结束时间,单位秒
336
///
337
/// \param onResult 结果回调
338
///
339
+ (void)trimAudioWithInputURL:(NSURL * _Nonnull)inputURL outputURL:(NSURL * _Nonnull)outputURL startTime:(double)startTime endTime:(double)endTime onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
340
/// 8.拼接多段视频
341
/// \param inputURLs 输入视频URL
342
///
343
/// \param outputURL 输出视频URL
344
///
345
/// \param onResult 结果回调
346
///
347
+ (void)connectVideoWithInputURLs:(NSArray<NSURL *> * _Nonnull)inputURLs outputURL:(NSURL * _Nonnull)outputURL onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
348
/// 9.音视频混合
349
/// \param inputVideoURL 输入视频URL
350
///
351
/// \param inputAudioURL 输入音频URL
352
///
353
/// \param outputURL 输出视频URL
354
///
355
/// \param originVolume 输入视频原声音量
356
///
357
/// \param musicVolume 输入音频音量
358
///
359
/// \param onResult 结果回调
360
///
361
+ (void)mixAudioAndVideoWithInputVideoURL:(NSURL * _Nonnull)inputVideoURL inputAudioURL:(NSURL * _Nonnull)inputAudioURL outputURL:(NSURL * _Nonnull)outputURL originVolume:(float)originVolume musicVolume:(float)musicVolume onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
362
/// 10.裁剪视频画面
363
/// \param inputURL 输入视频URL
364
///
365
/// \param frame 裁剪区域
366
///
367
/// \param outputURL 输出视频URL
368
///
369
/// \param onResult 结果回调
370
///
371
+ (void)cropVideoFrameWithInputURL:(NSURL * _Nonnull)inputURL frame:(CGRect)frame outputURL:(NSURL * _Nonnull)outputURL onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
372
/// 11.给视频添加字幕
373
/// \param inputURL 输入视频URL
374
///
375
/// \param subtitles 字幕列表
376
///
377
/// \param frame 视频在画布上的frame
378
///
379
/// \param outputURL 输出视频URL
380
///
381
/// \param onResult 结果回调
382
///
383
+ (void)addSubtitlesToVideoWithInputURL:(NSURL * _Nonnull)inputURL subtitles:(NSArray<IPUSubTitle *> * _Nonnull)subtitles frame:(CGRect)frame outputURL:(NSURL * _Nonnull)outputURL onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
384
/// 12.为视频添加滤镜
385
/// \param inputURL 输入视频URL
386
///
387
/// \param filters 滤镜列表,依次添加滤镜效果
388
///
389
/// \param outputURL 输出视频URL
390
///
391
/// \param onResult 结果回调
392
///
393
+ (void)addFiltersToVideoWithInputURL:(NSURL * _Nonnull)inputURL filters:(NSArray<IPUFilter *> * _Nonnull)filters outputURL:(NSURL * _Nonnull)outputURL onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
394
/// 13.为视频添加水印
395
/// \param inputURL 输入视频URL
396
///
397
/// \param watermark 水印图片,应与视频相同尺寸
398
///
399
/// \param outputURL 输出视频URL
400
///
401
/// \param onResult 结果回调
402
///
403
+ (void)addWatermarkToVideoWithInputURL:(NSURL * _Nonnull)inputURL watermark:(UIImage * _Nonnull)watermark outputURL:(NSURL * _Nonnull)outputURL onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
404
/// 14.改变视频播放速度
405
/// \param inputURL 输入视频URL
406
///
407
/// \param speed 视频速度
408
///
409
/// \param outputURL 输出视频URL
410
///
411
/// \param onResult 结果回调
412
///
413
+ (void)scaleVideoSpeedWithInputURL:(NSURL * _Nonnull)inputURL speed:(CGFloat)speed outputURL:(NSURL * _Nonnull)outputURL onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
414
/// 15.从视频里抽取帧图片
415
/// \param inputURL 输入视频URL
416
///
417
/// \param times 需要抽取的时间点数组
418
///
419
/// \param onResult 回调图片数组
420
///
421
+ (void)takeImageFromVideoWithInputURL:(NSURL * _Nonnull)inputURL times:(NSArray<NSNumber *> * _Nonnull)times onResult:(void (^ _Nonnull)(NSArray<UIImage *> * _Nullable, IPUVideoProError * _Nullable))onResult;
422
/// 16.视频转码
423
/// \param inputURL 输入视频URL
424
///
425
/// \param outFileType 输出视频类型
426
///
427
/// \param outputURL 输出视频URL
428
///
429
/// \param onResult 结果回调
430
///
431
+ (void)transcodeVideoWithInputURL:(NSURL * _Nonnull)inputURL outFileType:(AVFileType _Nonnull)outFileType outputURL:(NSURL * _Nonnull)outputURL onResult:(void (^ _Nonnull)(NSURL * _Nullable, IPUVideoProError * _Nullable))onResult;
432
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
433
@end
434
435
436
SWIFT_CLASS("_TtC11IPUVideoPro16IPUVideoProError")
437
@interface IPUVideoProError : NSObject
438
@property (nonatomic) NSInteger code;
439
@property (nonatomic, copy) NSString * _Nonnull des;
440
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
441
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
442
@end
443
444
enum IPUVideoShootSize : NSInteger;
445
@class UIColor;
446
447
SWIFT_CLASS("_TtC11IPUVideoPro19IPUVideoShootConfig")
448
@interface IPUVideoShootConfig : NSObject
449
@property (nonatomic) BOOL enableCompare;
450
@property (nonatomic) BOOL enableChangeSize;
451
@property (nonatomic) BOOL enableChangeCameraResolution;
452
@property (nonatomic) BOOL enableChangeSpeed;
453
@property (nonatomic) BOOL enableSwitchCamera;
454
@property (nonatomic) BOOL enablePen;
455
@property (nonatomic) BOOL enableFilter;
456
@property (nonatomic) enum AVCaptureDevicePosition defaultCameraLocation;
457
@property (nonatomic) AVCaptureSessionPreset _Nonnull defaultCameraPreset;
458
@property (nonatomic) NSInteger defaultVideoBitrate;
459
@property (nonatomic) enum IPUVideoShootSize defaultScreenSize;
460
@property (nonatomic) CGFloat maxDuration;
461
@property (nonatomic, copy) NSString * _Nonnull saveFolder;
462
@property (nonatomic, strong) UIColor * _Nonnull themeColor;
463
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
464
@end
465
466
typedef SWIFT_ENUM(NSInteger, IPUVideoShootSize, closed) {
467
  IPUVideoShootSizeSize_9_16 = 0,
468
  IPUVideoShootSizeSize_4_3 = 1,
469
  IPUVideoShootSizeSize_1_1 = 2,
470
  IPUVideoShootSizeSize_3_4 = 3,
471
  IPUVideoShootSizeSize_16_9 = 4,
472
};
473
474
475
#if __has_attribute(external_source_symbol)
476
# pragma clang attribute pop
477
#endif
478
#pragma clang diagnostic pop
479
#endif

+ 18 - 0
IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoPro.h

@ -0,0 +1,18 @@
1
//
2
//  IPUVideoPro.h
3
//  IPUVideoPro
4
//
5
//  Created by yang dingli on 2022/3/11.
6
//
7
8
#import <Foundation/Foundation.h>
9
10
//! Project version number for IPUVideoPro.
11
FOUNDATION_EXPORT double IPUVideoProVersionNumber;
12
13
//! Project version string for IPUVideoPro.
14
FOUNDATION_EXPORT const unsigned char IPUVideoProVersionString[];
15
16
// In this header, you should import all the public headers of your framework using statements like #import <IPUVideoPro/PublicHeader.h>
17
18

+ 217 - 0
IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoPro.swift

@ -0,0 +1,217 @@
1
//
2
//  IPUVideoPro.swift
3
//  IPUVideoPro
4
//
5
//  Created by yang dingli on 2022/3/11.
6
//
7
8
import Foundation
9
import UIKit
10
import CoreServices
11
import AVFoundation
12
13
@objc public class IPUVideoPro: NSObject {
14
    /// 1.生产视频拍摄界面:
15
    /// - Returns: UIViewController
16
    /// - Parameters:
17
    ///   - config: 拍摄界面参数设置
18
    ///   - onResult: 拍摄完成之后回调
19
    @objc public static func getVideoShootController(config: IPUVideoShootConfig, onResult: ((URL?, IPUVideoProError?) -> Void)? = nil) -> UIViewController {
20
        let vc = IPUVideoShootController.initFromStoryboard()
21
        vc.onFinished = onResult
22
        vc.config = config
23
        return vc
24
    }
25
    
26
    /// 2.生产视频编辑界面:
27
    /// - Parameters:
28
    ///   - inputURL: 待编辑的视频URL
29
    ///   - saveFolder: 视频存储文件夹地址
30
    ///   - onResult: 编辑完成之后回调
31
    /// - Returns: UIViewController
32
    @objc public static func getVideoEditController(inputURL: URL, saveFolder: String = "/Library/Caches/media/edit/", onResult: ((URL?, IPUVideoProError?) -> Void)? = nil) -> UIViewController {
33
        let vc = IPUVideoEditController.initFromStoryboard()
34
        vc.saveFolder = saveFolder
35
        vc.currentVideoUrl = inputURL
36
        vc.onFinished = onResult
37
        return vc
38
    }
39
    
40
    /// 3.将视频导入相册:
41
    /// - Parameters:
42
    ///   - videoURL: 视频URL
43
    ///   - albumName: 指定相册名字,默认为空
44
    ///   - onResult: 保存结果回调
45
    @objc public static func saveVideoToPhotoLibrary(videoURL: URL, albumName: String? = nil, onResult: @escaping (Bool, IPUVideoProError?) -> Void) {
46
        IPUVideoEditShootUtil.saveVideoToAlbum(videoURL: videoURL, albumName: albumName) { result, error in
47
            onResult(result, error == nil ? nil : IPUVideoProError.init(3, error!.localizedDescription))
48
        }
49
    }
50
    
51
    /// 4.打开系统选择音频文件
52
    /// - Parameters:
53
    ///   - currentViewController: 当前界面
54
    ///   - onResult: 回调选择的音频文件路径
55
    @objc public static func openMusicPicker(_ currentViewController: UIViewController, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
56
        IPUMusicPicker.picker.openMusicPicker(currentViewController, onResult)
57
    }
58
    
59
    /// 5.打开系统相册选择视频文件
60
    /// - Parameters:
61
    ///   - currentViewController: 当前界面
62
    ///   - onResult: 回调选择的视频文件路径
63
    @objc public static func openVideoPicker(_ currentViewController: UIViewController, onResult: @escaping (String?, IPUVideoProError?) -> Void) {
64
        if UIImagePickerController.isSourceTypeAvailable(.photoLibrary) {
65
            IPUVideoPicker.picker.openVideoPicker(currentViewController, onResult)
66
        } else {
67
            onResult(nil, IPUVideoProError.init(5, "无法打开系统相册"))
68
        }
69
    }
70
    
71
    /// 6.根据时间段切割视频
72
    /// - Parameters:
73
    ///   - inputURL: 输入视频URL
74
    ///   - outputURL: 输出视频URL
75
    ///   - startTime: 开始时间,单位秒
76
    ///   - endTime: 结束时间,单位秒
77
    ///   - onResult: 结果回调
78
    @objc public static func trimVideo(inputURL: URL, outputURL: URL, startTime: Double, endTime: Double, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
79
        IPUVideoEditShootUtil.trimVideo(inputURL: inputURL, startTime: startTime, endTime: endTime, outputURL: outputURL) { url in
80
            onResult(url, nil)
81
        } failure: { error in
82
            onResult(nil, error)
83
        }
84
    }
85
    
86
    /// 7.根据时间段切割音频
87
    /// - Parameters:
88
    ///   - inputURL: 输入音频URL
89
    ///   - outputURL: 输出音频URL
90
    ///   - startTime: 开始时间,单位秒
91
    ///   - endTime: 结束时间,单位秒
92
    ///   - onResult: 结果回调
93
    @objc public static func trimAudio(inputURL: URL, outputURL: URL, startTime: Double, endTime: Double, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
94
        IPUVideoEditShootUtil.trimAudio(inputURL: inputURL, startTime: startTime, endTime: endTime, outputURL: outputURL) { url in
95
            onResult(url, nil)
96
        } failure: { error in
97
            onResult(nil, error)
98
        }
99
    }
100
101
    /// 8.拼接多段视频
102
    /// - Parameters:
103
    ///   - inputURLs: 输入视频URL
104
    ///   - outputURL: 输出视频URL
105
    ///   - onResult: 结果回调
106
    @objc public static func connectVideo(inputURLs:[URL], outputURL: URL, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
107
        IPUVideoEditShootUtil.mergeVideos(inputURLs: inputURLs, outputURL: outputURL) { url in
108
            onResult(url, nil)
109
        } failure: { error in
110
            onResult(nil, error)
111
        }
112
    }
113
    
114
    /// 9.音视频混合
115
    /// - Parameters:
116
    ///   - inputVideoURL: 输入视频URL
117
    ///   - inputAudioURL: 输入音频URL
118
    ///   - outputURL: 输出视频URL
119
    ///   - originVolume: 输入视频原声音量
120
    ///   - musicVolume: 输入音频音量
121
    ///   - onResult: 结果回调
122
    @objc public static func mixAudioAndVideo(inputVideoURL: URL, inputAudioURL: URL, outputURL: URL, originVolume: Float, musicVolume: Float, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
123
        IPUVideoEditShootUtil.mergeVideoWithAudio(inputVideoURL: inputVideoURL, inputAudioURL: inputAudioURL, outputURL: outputURL, originVolume: originVolume, musicVolume: musicVolume) { url in
124
            onResult(url, nil)
125
        } failure: { error in
126
            onResult(nil, error)
127
        }
128
    }
129
    
130
    /// 10.裁剪视频画面
131
    /// - Parameters:
132
    ///   - inputURL: 输入视频URL
133
    ///   - frame: 裁剪区域
134
    ///   - outputURL: 输出视频URL
135
    ///   - onResult: 结果回调
136
    @objc public static func cropVideoFrame(inputURL: URL, frame: CGRect, outputURL: URL, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
137
        IPUVideoEditShootUtil.cropVideoFrame(inputURL: inputURL, frame: frame, outputURL: outputURL) { url in
138
            onResult(url, nil)
139
        } failure: { error in
140
            onResult(nil, error)
141
        }
142
    }
143
    
144
    
145
    /// 11.给视频添加字幕
146
    /// - Parameters:
147
    ///   - inputURL: 输入视频URL
148
    ///   - subtitles: 字幕列表
149
    ///   - frame: 视频在画布上的frame
150
    ///   - outputURL: 输出视频URL
151
    ///   - onResult: 结果回调
152
    @objc public static func addSubtitlesToVideo(inputURL: URL, subtitles: [IPUSubTitle], frame: CGRect, outputURL: URL, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
153
        IPUVideoEditShootUtil.addSubtitlesToVideo(inputURL: inputURL, subtitles: subtitles, frame: frame, outputURL: outputURL) { url in
154
            onResult(url, nil)
155
        } failure: { error in
156
            onResult(nil, error)
157
        }
158
    }
159
    
160
    
161
    /// 12.为视频添加滤镜
162
    /// - Parameters:
163
    ///   - inputURL: 输入视频URL
164
    ///   - filters: 滤镜列表,依次添加滤镜效果
165
    ///   - outputURL: 输出视频URL
166
    ///   - onResult: 结果回调
167
    @objc public static func addFiltersToVideo(inputURL: URL, filters: [IPUFilter], outputURL: URL, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
168
        IPUVideoEditShootUtil.addFiltersToVideo(inputURL: inputURL, filters: filters, outputURL: outputURL, onResult: onResult)
169
    }
170
    
171
    /// 13.为视频添加水印
172
    /// - Parameters:
173
    ///   - inputURL: 输入视频URL
174
    ///   - watermark: 水印图片,应与视频相同尺寸
175
    ///   - outputURL: 输出视频URL
176
    ///   - onResult: 结果回调
177
    @objc public static func addWatermarkToVideo(inputURL: URL, watermark: UIImage, outputURL: URL, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
178
        IPUVideoEditShootUtil.addWatermarkToVideo(inputURL: inputURL, watermark: watermark, outputURL: outputURL, onResult: onResult)
179
    }
180
    
181
    /// 14.改变视频播放速度
182
    /// - Parameters:
183
    ///   - inputURL: 输入视频URL
184
    ///   - speed: 视频速度
185
    ///   - outputURL: 输出视频URL
186
    ///   - onResult: 结果回调
187
    @objc public static func scaleVideoSpeed(inputURL: URL, speed: CGFloat, outputURL: URL, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
188
        IPUVideoEditShootUtil.videoScaleAssetSpeed(inputURL: inputURL, by: speed, outputURL: outputURL) { url in
189
            onResult(url, nil)
190
        } failure: { error in
191
            onResult(nil, error)
192
        }
193
    }
194
    
195
    /// 15.从视频里抽取帧图片
196
    /// - Parameters:
197
    ///   - inputURL: 输入视频URL
198
    ///   - times: 需要抽取的时间点数组
199
    ///   - onResult: 回调图片数组
200
    @objc public static func takeImageFromVideo(inputURL: URL, times: [Double], onResult: @escaping ([UIImage]?, IPUVideoProError?) -> Void) {
201
        IPUVideoEditShootUtil.takeImageFromVideo(inputURL, times: times, completionHandler: onResult)
202
    }
203
    
204
    /// 16.视频转码
205
    /// - Parameters:
206
    ///   - inputURL: 输入视频URL
207
    ///   - outFileType: 输出视频类型
208
    ///   - outputURL: 输出视频URL
209
    ///   - onResult: 结果回调
210
    @objc public static func transcodeVideo(inputURL: URL, outFileType: AVFileType, outputURL: URL, onResult: @escaping (URL?, IPUVideoProError?) -> Void) {
211
        IPUVideoEditShootUtil.transcodeVideo(inputURL: inputURL, outFileType: outFileType, outputURL: outputURL) { url in
212
            onResult(url, nil)
213
        } failure: { error in
214
            onResult(nil, error)
215
        }
216
    }
217
}

+ 20 - 0
IPUFrameworks/IPUVideoPro.framework/Headers/IPUVideoProPlugin.h

@ -0,0 +1,20 @@
1
//
2
//  IPUVideoProPlugin.h
3
//  IPUVideoPro
4
//
5
//  Created by yang dingli on 2022/4/7.
6
//
7
8
#import <Foundation/Foundation.h>
9
#import <IPUMobile/IPUMobile.h>
10
11
NS_ASSUME_NONNULL_BEGIN
12
13
@interface IPUVideoProPlugin : IPUPlugin
14
- (void)openVideoShoot:(NSArray *)param;
15
16
- (void)openVideoEdit:(NSArray *)param;
17
18
@end
19
20
NS_ASSUME_NONNULL_END

BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/BXE-xD-PFb-view-S8A-8A-D4A.nib/objects-11.0+.nib


BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/BXE-xD-PFb-view-S8A-8A-D4A.nib/objects-12.3+.nib


BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/BXE-xD-PFb-view-S8A-8A-D4A.nib/runtime.nib


BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/Info.plist


BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/UIViewController-BXE-xD-PFb.nib/objects-11.0+.nib


BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/UIViewController-BXE-xD-PFb.nib/objects-12.3+.nib


BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoEditView.storyboardc/UIViewController-BXE-xD-PFb.nib/runtime.nib


BIN
IPUFrameworks/IPUVideoPro.framework/IPUVideoPro


BIN
IPUFrameworks/IPUVideoPro.framework/Info.plist


BIN
IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo


BIN
IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/Project/arm64.swiftsourceinfo


BIN
IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64-apple-ios.swiftdoc


BIN
IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64-apple-ios.swiftmodule


BIN
IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64.swiftdoc


BIN
IPUFrameworks/IPUVideoPro.framework/Modules/IPUVideoPro.swiftmodule/arm64.swiftmodule


+ 11 - 0
IPUFrameworks/IPUVideoPro.framework/Modules/module.modulemap

@ -0,0 +1,11 @@
1
framework module IPUVideoPro {
2
  umbrella header "IPUVideoPro.h"
3
4
  export *
5
  module * { export * }
6
}
7
8
module IPUVideoPro.Swift {
9
    header "IPUVideoPro-Swift.h"
10
    requires objc
11
}

+ 3 - 0
display-center/Res/config/mobile-action.xml

@ -193,6 +193,9 @@
193 193
    <action name="addWaterMarkForLocalVideo" class="IPUVideoRecorderPlugin" method="addWaterMarkForLocalVideo"/>
194 194
    <action name="addImageWaterMarkForImage" class="IPUVideoRecorderPlugin" method="addWaterMarkForImage"/>
195 195
    <action name="addTextWaterMarkForImage"  class="IPUVideoRecorderPlugin" method="addTextWaterMarkForImage"/>
196
    <!--    音视频sdk-->
197
    <action name="openVideoShoot" class="IPUVideoProPlugin" method="openVideoShoot"/>
198
    <action name="openVideoEdit" class="IPUVideoProPlugin" method="openVideoEdit"/>
196 199
    <!-- 录屏 -->
197 200
    <action name="executeScreenRecord" class="IPUScreenRecordPlugin" method="executeScreenRecord"/>
198 201
    <action name="stopScreenRecord" class="IPUScreenRecordPlugin" method="stopScreenRecord"/>

+ 22 - 0
display-center/display-center.xcodeproj/project.pbxproj

@ -7,6 +7,14 @@
7 7
	objects = {
8 8
9 9
/* Begin PBXBuildFile section */
10
		76B94E3E27FFDB54009DDC67 /* GPUImage2.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76B94E1327FFDB54009DDC67 /* GPUImage2.framework */; platformFilter = ios; };
11
		76B94E3F27FFDB54009DDC67 /* GPUImage2.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 76B94E1327FFDB54009DDC67 /* GPUImage2.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
12
		76B94E4027FFDB54009DDC67 /* IPUSwiftPro.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76B94E3C27FFDB54009DDC67 /* IPUSwiftPro.framework */; platformFilter = ios; };
13
		76B94E4127FFDB54009DDC67 /* IPUSwiftPro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 76B94E3C27FFDB54009DDC67 /* IPUSwiftPro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
14
		76B94E4227FFDB54009DDC67 /* IPUVideoPro.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76B94E3D27FFDB54009DDC67 /* IPUVideoPro.framework */; platformFilter = ios; };
15
		76B94E4327FFDB54009DDC67 /* IPUVideoPro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 76B94E3D27FFDB54009DDC67 /* IPUVideoPro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
16
		76B94E4427FFDDAD009DDC67 /* GPUImage2.framework in Resources */ = {isa = PBXBuildFile; fileRef = 76B94E1327FFDB54009DDC67 /* GPUImage2.framework */; platformFilter = ios; };
17
		76B94E4527FFDDAD009DDC67 /* IPUVideoPro.framework in Resources */ = {isa = PBXBuildFile; fileRef = 76B94E3D27FFDB54009DDC67 /* IPUVideoPro.framework */; platformFilter = ios; };
10 18
		A71ACD16242B3D5D000B0B14 /* IPUFaceCheckPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = A71ACCEC242B3D5A000B0B14 /* IPUFaceCheckPlugin.m */; };
11 19
		A791DA3D240904CD0022E097 /* IPUOCRPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = A791DA3C240904CD0022E097 /* IPUOCRPlugin.m */; };
12 20
		B202464923AA2504004215F6 /* AppDelegate+NetworkObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = B202464823AA2504004215F6 /* AppDelegate+NetworkObserver.m */; };
@ -435,6 +443,7 @@
435 443
				B278AC9D277454BD0048A37E /* IPUVideoRecorder.framework in Embed Frameworks */,
436 444
				B278AC8D277454BC0048A37E /* IpuFaceCheck.framework in Embed Frameworks */,
437 445
				B278ACAB277454BD0048A37E /* IPUBaiduMap.framework in Embed Frameworks */,
446
				76B94E4127FFDB54009DDC67 /* IPUSwiftPro.framework in Embed Frameworks */,
438 447
				B2DE67D4277D484B00CF0DA7 /* IPUQrCode.framework in Embed Frameworks */,
439 448
				B278ACB8277460E40048A37E /* GPUImage.framework in Embed Frameworks */,
440 449
				B278ACB3277454BE0048A37E /* IPUMobile.framework in Embed Frameworks */,
@ -442,7 +451,9 @@
442 451
				B278AC87277454BB0048A37E /* IPUFoundation.framework in Embed Frameworks */,
443 452
				B278ACBC277460E50048A37E /* JSONModel.framework in Embed Frameworks */,
444 453
				B278AC8F277454BC0048A37E /* IPUKeyboard.framework in Embed Frameworks */,
454
				76B94E3F27FFDB54009DDC67 /* GPUImage2.framework in Embed Frameworks */,
445 455
				B278ACB1277454BE0048A37E /* IPULib.framework in Embed Frameworks */,
456
				76B94E4327FFDB54009DDC67 /* IPUVideoPro.framework in Embed Frameworks */,
446 457
				B278ACBA277460E50048A37E /* ISO8601.framework in Embed Frameworks */,
447 458
				B278AC97277454BC0048A37E /* IPUPush.framework in Embed Frameworks */,
448 459
				B278ACFA277574150048A37E /* IPUOcr.framework in Embed Frameworks */,
@ -458,6 +469,9 @@
458 469
/* End PBXCopyFilesBuildPhase section */
459 470
460 471
/* Begin PBXFileReference section */
472
		76B94E1327FFDB54009DDC67 /* GPUImage2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GPUImage2.framework; path = ../IPUFrameworks/GPUImage2.framework; sourceTree = "<group>"; };
473
		76B94E3C27FFDB54009DDC67 /* IPUSwiftPro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IPUSwiftPro.framework; path = ../IPUFrameworks/IPUSwiftPro.framework; sourceTree = "<group>"; };
474
		76B94E3D27FFDB54009DDC67 /* IPUVideoPro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IPUVideoPro.framework; path = ../IPUFrameworks/IPUVideoPro.framework; sourceTree = "<group>"; };
461 475
		A71ACCEC242B3D5A000B0B14 /* IPUFaceCheckPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IPUFaceCheckPlugin.m; sourceTree = "<group>"; };
462 476
		A71ACD15242B3D5C000B0B14 /* IPUFaceCheckPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IPUFaceCheckPlugin.h; sourceTree = "<group>"; };
463 477
		A791DA3B240904CC0022E097 /* IPUOCRPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IPUOCRPlugin.h; sourceTree = "<group>"; };
@ -613,6 +627,7 @@
613 627
				B247A77620E0D35900117A38 /* CoreTelephony.framework in Frameworks */,
614 628
				B247A76E20E0D34100117A38 /* Foundation.framework in Frameworks */,
615 629
				B247A77820E0D35F00117A38 /* SystemConfiguration.framework in Frameworks */,
630
				76B94E4027FFDB54009DDC67 /* IPUSwiftPro.framework in Frameworks */,
616 631
				B21D127E2407693C0090B887 /* AVFoundation.framework in Frameworks */,
617 632
				B247A77A20E0D36800117A38 /* libz.tbd in Frameworks */,
618 633
				B2D573C921369BCE00BFE4A2 /* GLKit.framework in Frameworks */,
@ -621,6 +636,7 @@
621 636
				B287F2B223583F4000C3631A /* ExternalAccessory.framework in Frameworks */,
622 637
				B2DE67D3277D484B00CF0DA7 /* IPUQrCode.framework in Frameworks */,
623 638
				B278ACA0277454BD0048A37E /* IPUPeerTubePlugin.framework in Frameworks */,
639
				76B94E4227FFDB54009DDC67 /* IPUVideoPro.framework in Frameworks */,
624 640
				B28806542304FCE40026007B /* libstdc++.6.0.9.tbd in Frameworks */,
625 641
				B2B583DB21FEAAE700029ADE /* libsqlite3.tbd in Frameworks */,
626 642
				B278ACBB277460E50048A37E /* JSONModel.framework in Frameworks */,
@ -655,6 +671,7 @@
655 671
				B20C6D112296375600AECAA6 /* libRCTText.a in Frameworks */,
656 672
				B20C6D122296375600AECAA6 /* libRCTWebSocket.a in Frameworks */,
657 673
				B20C6D132296375600AECAA6 /* libRNCamera.a in Frameworks */,
674
				76B94E3E27FFDB54009DDC67 /* GPUImage2.framework in Frameworks */,
658 675
				B278ACB7277460E40048A37E /* GPUImage.framework in Frameworks */,
659 676
				B20C6CC32296337B00AECAA6 /* libReact.a in Frameworks */,
660 677
				B2984FF821367D8F0084C507 /* libz.1.1.3.tbd in Frameworks */,
@ -667,6 +684,9 @@
667 684
		0460E86120AA9C1300CCFDA4 /* Frameworks */ = {
668 685
			isa = PBXGroup;
669 686
			children = (
687
				76B94E1327FFDB54009DDC67 /* GPUImage2.framework */,
688
				76B94E3C27FFDB54009DDC67 /* IPUSwiftPro.framework */,
689
				76B94E3D27FFDB54009DDC67 /* IPUVideoPro.framework */,
670 690
				B2DE67D2277D484B00CF0DA7 /* IPUQrCode.framework */,
671 691
				B278AC80277454BA0048A37E /* GPUImage.framework */,
672 692
				B278AC83277454BA0048A37E /* iflyMSC.framework */,
@ -1409,6 +1429,8 @@
1409 1429
			isa = PBXResourcesBuildPhase;
1410 1430
			buildActionMask = 2147483647;
1411 1431
			files = (
1432
				76B94E4427FFDDAD009DDC67 /* GPUImage2.framework in Resources */,
1433
				76B94E4527FFDDAD009DDC67 /* IPUVideoPro.framework in Resources */,
1412 1434
				B2DE67DF277D5F9400CF0DA7 /* IPUVideoRecorder.bundle in Resources */,
1413 1435
				B2AB13CE2774180E006F86B2 /* IPUMobileUI.bundle in Resources */,
1414 1436
				B264A20922B32F0600714D0D /* MaterialIcons.ttf in Resources */,