Skip to content

Commit b5db205

Browse files
authored
Merge pull request #14 from Futurae-Technologies/release/v3.4.1-beta
Update framework to version 3.4.1-beta
2 parents 31beae1 + 1dc70a3 commit b5db205

File tree

122 files changed

+52616
-227784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+52616
-227784
lines changed

AdaptiveKit.xcframework/Info.plist

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>LibraryIdentifier</key>
9+
<string>ios-arm64</string>
10+
<key>LibraryPath</key>
11+
<string>AdaptiveKit.framework</string>
12+
<key>SupportedArchitectures</key>
13+
<array>
14+
<string>arm64</string>
15+
</array>
16+
<key>SupportedPlatform</key>
17+
<string>ios</string>
18+
</dict>
19+
<dict>
20+
<key>LibraryIdentifier</key>
21+
<string>ios-arm64_x86_64-simulator</string>
22+
<key>LibraryPath</key>
23+
<string>AdaptiveKit.framework</string>
24+
<key>SupportedArchitectures</key>
25+
<array>
26+
<string>arm64</string>
27+
<string>x86_64</string>
28+
</array>
29+
<key>SupportedPlatform</key>
30+
<string>ios</string>
31+
<key>SupportedPlatformVariant</key>
32+
<string>simulator</string>
33+
</dict>
34+
</array>
35+
<key>CFBundlePackageType</key>
36+
<string>XFWK</string>
37+
<key>XCFrameworkFormatVersion</key>
38+
<string>1.0</string>
39+
</dict>
40+
</plist>
Binary file not shown.
Lines changed: 357 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,357 @@
1+
#if 0
2+
#elif defined(__arm64__) && __arm64__
3+
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
4+
#ifndef ADAPTIVEKIT_SWIFT_H
5+
#define ADAPTIVEKIT_SWIFT_H
6+
#pragma clang diagnostic push
7+
#pragma clang diagnostic ignored "-Wgcc-compat"
8+
9+
#if !defined(__has_include)
10+
# define __has_include(x) 0
11+
#endif
12+
#if !defined(__has_attribute)
13+
# define __has_attribute(x) 0
14+
#endif
15+
#if !defined(__has_feature)
16+
# define __has_feature(x) 0
17+
#endif
18+
#if !defined(__has_warning)
19+
# define __has_warning(x) 0
20+
#endif
21+
22+
#if __has_include(<swift/objc-prologue.h>)
23+
# include <swift/objc-prologue.h>
24+
#endif
25+
26+
#pragma clang diagnostic ignored "-Wduplicate-method-match"
27+
#pragma clang diagnostic ignored "-Wauto-import"
28+
#if defined(__OBJC__)
29+
#include <Foundation/Foundation.h>
30+
#endif
31+
#if defined(__cplusplus)
32+
#include <cstdint>
33+
#include <cstddef>
34+
#include <cstdbool>
35+
#else
36+
#include <stdint.h>
37+
#include <stddef.h>
38+
#include <stdbool.h>
39+
#endif
40+
41+
#if !defined(SWIFT_TYPEDEFS)
42+
# define SWIFT_TYPEDEFS 1
43+
# if __has_include(<uchar.h>)
44+
# include <uchar.h>
45+
# elif !defined(__cplusplus)
46+
typedef uint_least16_t char16_t;
47+
typedef uint_least32_t char32_t;
48+
# endif
49+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
50+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
51+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
52+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
53+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
54+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
55+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
56+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
57+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
58+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
59+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
60+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
61+
#endif
62+
63+
#if !defined(SWIFT_PASTE)
64+
# define SWIFT_PASTE_HELPER(x, y) x##y
65+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
66+
#endif
67+
#if !defined(SWIFT_METATYPE)
68+
# define SWIFT_METATYPE(X) Class
69+
#endif
70+
#if !defined(SWIFT_CLASS_PROPERTY)
71+
# if __has_feature(objc_class_property)
72+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
73+
# else
74+
# define SWIFT_CLASS_PROPERTY(...)
75+
# endif
76+
#endif
77+
78+
#if __has_attribute(objc_runtime_name)
79+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
80+
#else
81+
# define SWIFT_RUNTIME_NAME(X)
82+
#endif
83+
#if __has_attribute(swift_name)
84+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
85+
#else
86+
# define SWIFT_COMPILE_NAME(X)
87+
#endif
88+
#if __has_attribute(objc_method_family)
89+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
90+
#else
91+
# define SWIFT_METHOD_FAMILY(X)
92+
#endif
93+
#if __has_attribute(noescape)
94+
# define SWIFT_NOESCAPE __attribute__((noescape))
95+
#else
96+
# define SWIFT_NOESCAPE
97+
#endif
98+
#if __has_attribute(ns_consumed)
99+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100+
#else
101+
# define SWIFT_RELEASES_ARGUMENT
102+
#endif
103+
#if __has_attribute(warn_unused_result)
104+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
105+
#else
106+
# define SWIFT_WARN_UNUSED_RESULT
107+
#endif
108+
#if __has_attribute(noreturn)
109+
# define SWIFT_NORETURN __attribute__((noreturn))
110+
#else
111+
# define SWIFT_NORETURN
112+
#endif
113+
#if !defined(SWIFT_CLASS_EXTRA)
114+
# define SWIFT_CLASS_EXTRA
115+
#endif
116+
#if !defined(SWIFT_PROTOCOL_EXTRA)
117+
# define SWIFT_PROTOCOL_EXTRA
118+
#endif
119+
#if !defined(SWIFT_ENUM_EXTRA)
120+
# define SWIFT_ENUM_EXTRA
121+
#endif
122+
#if !defined(SWIFT_CLASS)
123+
# if __has_attribute(objc_subclassing_restricted)
124+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
125+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
126+
# else
127+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
128+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
129+
# endif
130+
#endif
131+
#if !defined(SWIFT_RESILIENT_CLASS)
132+
# if __has_attribute(objc_class_stub)
133+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
134+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
135+
# else
136+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
137+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138+
# endif
139+
#endif
140+
141+
#if !defined(SWIFT_PROTOCOL)
142+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144+
#endif
145+
146+
#if !defined(SWIFT_EXTENSION)
147+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148+
#endif
149+
150+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
151+
# if __has_attribute(objc_designated_initializer)
152+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153+
# else
154+
# define OBJC_DESIGNATED_INITIALIZER
155+
# endif
156+
#endif
157+
#if !defined(SWIFT_ENUM_ATTR)
158+
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
159+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160+
# else
161+
# define SWIFT_ENUM_ATTR(_extensibility)
162+
# endif
163+
#endif
164+
#if !defined(SWIFT_ENUM)
165+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
166+
# if __has_feature(generalized_swift_name)
167+
# 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
168+
# else
169+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
170+
# endif
171+
#endif
172+
#if !defined(SWIFT_UNAVAILABLE)
173+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
174+
#endif
175+
#if !defined(SWIFT_UNAVAILABLE_MSG)
176+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
177+
#endif
178+
#if !defined(SWIFT_AVAILABILITY)
179+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
180+
#endif
181+
#if !defined(SWIFT_WEAK_IMPORT)
182+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
183+
#endif
184+
#if !defined(SWIFT_DEPRECATED)
185+
# define SWIFT_DEPRECATED __attribute__((deprecated))
186+
#endif
187+
#if !defined(SWIFT_DEPRECATED_MSG)
188+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189+
#endif
190+
#if __has_feature(attribute_diagnose_if_objc)
191+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
192+
#else
193+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
194+
#endif
195+
#if defined(__OBJC__)
196+
#if !defined(IBSegueAction)
197+
# define IBSegueAction
198+
#endif
199+
#endif
200+
#if !defined(SWIFT_EXTERN)
201+
# if defined(__cplusplus)
202+
# define SWIFT_EXTERN extern "C"
203+
# else
204+
# define SWIFT_EXTERN extern
205+
# endif
206+
#endif
207+
#if !defined(SWIFT_CALL)
208+
# define SWIFT_CALL __attribute__((swiftcall))
209+
#endif
210+
#if defined(__cplusplus)
211+
#if !defined(SWIFT_NOEXCEPT)
212+
# define SWIFT_NOEXCEPT noexcept
213+
#endif
214+
#else
215+
#if !defined(SWIFT_NOEXCEPT)
216+
# define SWIFT_NOEXCEPT
217+
#endif
218+
#endif
219+
#if defined(__cplusplus)
220+
#if !defined(SWIFT_CXX_INT_DEFINED)
221+
#define SWIFT_CXX_INT_DEFINED
222+
namespace swift {
223+
using Int = ptrdiff_t;
224+
using UInt = size_t;
225+
}
226+
#endif
227+
#endif
228+
#if defined(__OBJC__)
229+
#if __has_feature(modules)
230+
#if __has_warning("-Watimport-in-framework-header")
231+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
232+
#endif
233+
@import CoreBluetooth;
234+
@import CoreLocation;
235+
@import Foundation;
236+
@import ObjectiveC;
237+
@import UIKit;
238+
#endif
239+
240+
#endif
241+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
242+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
243+
#if __has_warning("-Wpragma-clang-attribute")
244+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
245+
#endif
246+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
247+
#pragma clang diagnostic ignored "-Wnullability"
248+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
249+
250+
#if __has_attribute(external_source_symbol)
251+
# pragma push_macro("any")
252+
# undef any
253+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AdaptiveKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
254+
# pragma pop_macro("any")
255+
#endif
256+
257+
#if defined(__OBJC__)
258+
typedef SWIFT_ENUM(NSInteger, AdaptivePermissionStatus, open) {
259+
AdaptivePermissionStatusUnknown = 0,
260+
AdaptivePermissionStatusOn = 1,
261+
AdaptivePermissionStatusOff = 2,
262+
};
263+
264+
@protocol AdaptiveSDKDelegate;
265+
266+
SWIFT_CLASS("_TtC11AdaptiveKit11AdaptiveSDK")
267+
@interface AdaptiveSDK : NSObject
268+
- (nonnull instancetype)init;
269+
@property (nonatomic, weak) id <AdaptiveSDKDelegate> _Nullable delegate;
270+
- (void)startScanning;
271+
- (void)startScanningOnce;
272+
- (void)completeScanning;
273+
- (void)stopScanning;
274+
- (void)automaticModeForNotificationAndBackgroundTask;
275+
- (BOOL)setAdaptiveTimeThreshold:(NSInteger)threshold error:(NSError * _Nullable * _Nullable)error;
276+
@end
277+
278+
279+
@class NSString;
280+
281+
SWIFT_PROTOCOL("_TtP11AdaptiveKit19AdaptiveSDKDelegate_")
282+
@protocol AdaptiveSDKDelegate
283+
- (void)didReceiveUpdateWithCollectedData:(NSDictionary<NSString *, id> * _Nonnull)collectedData;
284+
- (enum AdaptivePermissionStatus)bluetoothSettingStatus SWIFT_WARN_UNUSED_RESULT;
285+
- (enum AdaptivePermissionStatus)bluetoothPermissionStatus SWIFT_WARN_UNUSED_RESULT;
286+
- (enum AdaptivePermissionStatus)locationSettingStatus SWIFT_WARN_UNUSED_RESULT;
287+
- (enum AdaptivePermissionStatus)locationPermissionStatus SWIFT_WARN_UNUSED_RESULT;
288+
- (enum AdaptivePermissionStatus)locationPrecisePermissionStatus SWIFT_WARN_UNUSED_RESULT;
289+
- (enum AdaptivePermissionStatus)networkSettingStatus SWIFT_WARN_UNUSED_RESULT;
290+
- (enum AdaptivePermissionStatus)networkPermissionStatus SWIFT_WARN_UNUSED_RESULT;
291+
@end
292+
293+
294+
SWIFT_CLASS("_TtC11AdaptiveKit15AdaptiveStorage")
295+
@interface AdaptiveStorage : NSObject
296+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
297+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
298+
+ (AdaptiveStorage * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
299+
- (void)save:(NSDictionary<NSString *, id> * _Nonnull)collection;
300+
- (void)delete:(NSDictionary<NSString *, id> * _Nonnull)collection;
301+
- (NSArray<NSDictionary<NSString *, id> *> * _Nonnull)savedCollections SWIFT_WARN_UNUSED_RESULT;
302+
@end
303+
304+
305+
SWIFT_PROTOCOL("_TtP11AdaptiveKit11Application_")
306+
@protocol Application
307+
- (UIBackgroundTaskIdentifier)beginBackgroundTaskWithName:(NSString * _Nullable)taskName expirationHandler:(void (^ _Nullable)(void))handler SWIFT_WARN_UNUSED_RESULT;
308+
- (void)endBackgroundTask:(UIBackgroundTaskIdentifier)identifier;
309+
@end
310+
311+
@protocol CBCentralManagerDelegate;
312+
@class CBUUID;
313+
314+
SWIFT_PROTOCOL("_TtP11AdaptiveKit23BluetoothCentralManager_")
315+
@protocol BluetoothCentralManager
316+
@property (nonatomic, strong) id <CBCentralManagerDelegate> _Nullable delegate;
317+
- (void)scanForPeripheralsWithServices:(NSArray<CBUUID *> * _Nullable)serviceUUIDs options:(NSDictionary<NSString *, id> * _Nullable)options;
318+
- (void)stopScan;
319+
@end
320+
321+
322+
@interface CBCentralManager (SWIFT_EXTENSION(AdaptiveKit)) <BluetoothCentralManager>
323+
@end
324+
325+
@protocol CLLocationManagerDelegate;
326+
327+
SWIFT_PROTOCOL("_TtP11AdaptiveKit15LocationManager_")
328+
@protocol LocationManager
329+
@property (nonatomic, strong) id <CLLocationManagerDelegate> _Nullable delegate;
330+
- (void)requestWhenInUseAuthorization;
331+
- (void)startUpdatingLocation;
332+
- (void)stopUpdatingLocation;
333+
@end
334+
335+
336+
@interface CLLocationManager (SWIFT_EXTENSION(AdaptiveKit)) <LocationManager>
337+
@end
338+
339+
340+
341+
342+
343+
@interface UIApplication (SWIFT_EXTENSION(AdaptiveKit)) <Application>
344+
@end
345+
346+
#endif
347+
#if defined(__cplusplus)
348+
#endif
349+
#if __has_attribute(external_source_symbol)
350+
# pragma clang attribute pop
351+
#endif
352+
#pragma clang diagnostic pop
353+
#endif
354+
355+
#else
356+
#error unsupported Swift architecture
357+
#endif

0 commit comments

Comments
 (0)