diff --git a/Examples/SwiftExample/SwiftExample.xcodeproj/project.pbxproj b/Examples/SwiftExample/SwiftExample.xcodeproj/project.pbxproj index 51da0ca..c86500e 100644 --- a/Examples/SwiftExample/SwiftExample.xcodeproj/project.pbxproj +++ b/Examples/SwiftExample/SwiftExample.xcodeproj/project.pbxproj @@ -7,13 +7,13 @@ objects = { /* Begin PBXBuildFile section */ - 5E0273E22B483A0E00872EE0 /* messenger-sdk-ios in Frameworks */ = {isa = PBXBuildFile; productRef = 5E0273E12B483A0E00872EE0 /* messenger-sdk-ios */; }; 5E19F5942B477AE400E37F55 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E19F5932B477AE400E37F55 /* AppDelegate.swift */; }; 5E19F5962B477AE400E37F55 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E19F5952B477AE400E37F55 /* SceneDelegate.swift */; }; 5E19F5982B477AE400E37F55 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E19F5972B477AE400E37F55 /* ViewController.swift */; }; 5E19F59B2B477AE400E37F55 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5E19F5992B477AE400E37F55 /* Main.storyboard */; }; 5E19F59D2B477AE400E37F55 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5E19F59C2B477AE400E37F55 /* Assets.xcassets */; }; 5E19F5A02B477AE400E37F55 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5E19F59E2B477AE400E37F55 /* LaunchScreen.storyboard */; }; + 5EFE55962B50194D0023DA24 /* messenger-sdk-ios in Frameworks */ = {isa = PBXBuildFile; productRef = 5EFE55952B50194D0023DA24 /* messenger-sdk-ios */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -45,7 +45,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 5E0273E22B483A0E00872EE0 /* messenger-sdk-ios in Frameworks */, + 5EFE55962B50194D0023DA24 /* messenger-sdk-ios in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -100,7 +100,7 @@ ); name = SwiftExample; packageProductDependencies = ( - 5E0273E12B483A0E00872EE0 /* messenger-sdk-ios */, + 5EFE55952B50194D0023DA24 /* messenger-sdk-ios */, ); productName = SwiftExample; productReference = 5E19F5902B477AE400E37F55 /* SwiftExample.app */; @@ -131,7 +131,7 @@ ); mainGroup = 5E19F5872B477AE400E37F55; packageReferences = ( - 5E0273E02B483A0E00872EE0 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */, + 5EFE55942B50194D0023DA24 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */, ); productRefGroup = 5E19F5912B477AE400E37F55 /* Products */; projectDirPath = ""; @@ -382,20 +382,20 @@ /* End XCConfigurationList section */ /* Begin XCRemoteSwiftPackageReference section */ - 5E0273E02B483A0E00872EE0 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */ = { + 5EFE55942B50194D0023DA24 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */ = { isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/deskpro/messenger-sdk-ios.git"; requirement = { kind = upToNextMajorVersion; - minimumVersion = 0.0.2; + minimumVersion = 0.0.3; }; }; /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ - 5E0273E12B483A0E00872EE0 /* messenger-sdk-ios */ = { + 5EFE55952B50194D0023DA24 /* messenger-sdk-ios */ = { isa = XCSwiftPackageProductDependency; - package = 5E0273E02B483A0E00872EE0 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */; + package = 5EFE55942B50194D0023DA24 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */; productName = "messenger-sdk-ios"; }; /* End XCSwiftPackageProductDependency section */ diff --git a/Examples/SwiftExample/SwiftExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Examples/SwiftExample/SwiftExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 2700816..fbe9fa3 100644 --- a/Examples/SwiftExample/SwiftExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Examples/SwiftExample/SwiftExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/deskpro/messenger-sdk-ios.git", "state" : { - "revision" : "8be673468b716ef7ad53c6c465cffde7022df348", - "version" : "0.0.2" + "revision" : "b63cca332af2eb34fdccda044104fb0c216f5951", + "version" : "0.0.3" } } ], diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/Info.plist b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/Info.plist new file mode 100644 index 0000000..4efd359 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/Info.plist @@ -0,0 +1,44 @@ + + + + + AvailableLibraries + + + BinaryPath + DeskproFramework.framework/DeskproFramework + LibraryIdentifier + ios-arm64 + LibraryPath + DeskproFramework.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + DeskproFramework.framework/DeskproFramework + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + DeskproFramework.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/DeskproFramework b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/DeskproFramework new file mode 100755 index 0000000..b81b6c3 Binary files /dev/null and b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/DeskproFramework differ diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Headers/DeskproFramework-Swift.h b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Headers/DeskproFramework-Swift.h new file mode 100644 index 0000000..2aa1a20 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Headers/DeskproFramework-Swift.h @@ -0,0 +1,312 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef DESKPROFRAMEWORK_SWIFT_H +#define DESKPROFRAMEWORK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DeskproFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Headers/DeskproFramework.h b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Headers/DeskproFramework.h new file mode 100644 index 0000000..b702304 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Headers/DeskproFramework.h @@ -0,0 +1,18 @@ +// +// DeskproFramework.h +// DeskproFramework +// +// Created by QSD BiH on 4. 1. 2024.. +// + +#import + +//! Project version number for DeskproFramework. +FOUNDATION_EXPORT double DeskproFrameworkVersionNumber; + +//! Project version string for DeskproFramework. +FOUNDATION_EXPORT const unsigned char DeskproFrameworkVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Info.plist b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Info.plist new file mode 100644 index 0000000..b8caf79 Binary files /dev/null and b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Info.plist differ diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.abi.json b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 0000000..c9a311c --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,1391 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "DeskPro", + "printedName": "DeskPro", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(messengerConfig:containingViewController:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DeskPro", + "printedName": "DeskproFramework.DeskPro", + "usr": "s:16DeskproFramework7DeskProC" + }, + { + "kind": "TypeNominal", + "name": "MessengerConfig", + "printedName": "DeskproFramework.MessengerConfig", + "usr": "s:16DeskproFramework15MessengerConfigC" + }, + { + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework7DeskProC15messengerConfig24containingViewControllerAcA09MessengerF0C_So06UIViewI0Ctcfc", + "mangledName": "$s16DeskproFramework7DeskProC15messengerConfig24containingViewControllerAcA09MessengerF0C_So06UIViewI0Ctcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "test", + "printedName": "test()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC4testSSyF", + "mangledName": "$s16DeskproFramework7DeskProC4testSSyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "loginUser", + "printedName": "loginUser(user:deskProCallback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "User", + "printedName": "DeskproFramework.User", + "usr": "s:16DeskproFramework4UserC" + }, + { + "kind": "TypeNominal", + "name": "DeskProStatusCallback", + "printedName": "DeskproFramework.DeskProStatusCallback", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC9loginUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "mangledName": "$s16DeskproFramework7DeskProC9loginUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateUser", + "printedName": "updateUser(user:deskProCallback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "User", + "printedName": "DeskproFramework.User", + "usr": "s:16DeskproFramework4UserC" + }, + { + "kind": "TypeNominal", + "name": "DeskProStatusCallback", + "printedName": "DeskproFramework.DeskProStatusCallback", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC10updateUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "mangledName": "$s16DeskproFramework7DeskProC10updateUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC6logoutSbyF", + "mangledName": "$s16DeskproFramework7DeskProC6logoutSbyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushRegistrationToken", + "printedName": "setPushRegistrationToken(deviceToken:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC24setPushRegistrationToken06deviceH0SbSS_tF", + "mangledName": "$s16DeskproFramework7DeskProC24setPushRegistrationToken06deviceH0SbSS_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "isDeskProPushNotification", + "printedName": "isDeskProPushNotification(pushNotification:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "PushNotificationData", + "printedName": "DeskproFramework.PushNotificationData", + "usr": "s:16DeskproFramework20PushNotificationDataC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC02iscD16PushNotification04pushG0SbAA0fG4DataC_tF", + "mangledName": "$s16DeskproFramework7DeskProC02iscD16PushNotification04pushG0SbAA0fG4DataC_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "handlePushNotification", + "printedName": "handlePushNotification(pushNotification:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "PushNotificationData", + "printedName": "DeskproFramework.PushNotificationData", + "usr": "s:16DeskproFramework20PushNotificationDataC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC22handlePushNotification04pushG0yAA0fG4DataC_tF", + "mangledName": "$s16DeskproFramework7DeskProC22handlePushNotification04pushG0yAA0fG4DataC_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "present", + "printedName": "present()", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC7presentAA14PresentBuilderCyF", + "mangledName": "$s16DeskproFramework7DeskProC7presentAA14PresentBuilderCyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC5closeyyF", + "mangledName": "$s16DeskproFramework7DeskProC5closeyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUnreadConversationCount", + "printedName": "getUnreadConversationCount()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC26getUnreadConversationCountSiyF", + "mangledName": "$s16DeskproFramework7DeskProC26getUnreadConversationCountSiyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "enableLogging", + "printedName": "enableLogging()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC13enableLoggingyyF", + "mangledName": "$s16DeskproFramework7DeskProC13enableLoggingyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework7DeskProC", + "mangledName": "$s16DeskproFramework7DeskProC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "User", + "printedName": "User", + "declKind": "Class", + "usr": "s:16DeskproFramework4UserC", + "mangledName": "$s16DeskproFramework4UserC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "PushNotificationData", + "printedName": "PushNotificationData", + "declKind": "Class", + "usr": "s:16DeskproFramework20PushNotificationDataC", + "mangledName": "$s16DeskproFramework20PushNotificationDataC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "DeskProError", + "printedName": "DeskProError", + "declKind": "Class", + "usr": "s:16DeskproFramework12DeskProErrorC", + "mangledName": "$s16DeskproFramework12DeskProErrorC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "DeskProStatusCallback", + "printedName": "DeskProStatusCallback", + "children": [ + { + "kind": "Function", + "name": "onFailure", + "printedName": "onFailure(deskProError:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "DeskProError", + "printedName": "DeskproFramework.DeskProError", + "usr": "s:16DeskproFramework12DeskProErrorC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP9onFailure04deskD5ErroryAA0cdJ0C_tF", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP9onFailure04deskD5ErroryAA0cdJ0C_tF", + "moduleName": "DeskproFramework", + "genericSig": "<τ_0_0 where τ_0_0 : DeskproFramework.DeskProStatusCallback>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onSuccess", + "printedName": "onSuccess()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP9onSuccessyyF", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP9onSuccessyyF", + "moduleName": "DeskproFramework", + "genericSig": "<τ_0_0 where τ_0_0 : DeskproFramework.DeskProStatusCallback>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PresentBuilder", + "printedName": "PresentBuilder", + "children": [ + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvp", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvg", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvs", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvM", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(url:containingViewController:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "UIKit.UIViewController?", + "children": [ + { + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework14PresentBuilderC3url24containingViewControllerACSS_So06UIViewH0CSgtcfc", + "mangledName": "$s16DeskproFramework14PresentBuilderC3url24containingViewControllerACSS_So06UIViewH0CSgtcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "chatHistory", + "printedName": "chatHistory(chatId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC11chatHistory0E2IdACSi_tF", + "mangledName": "$s16DeskproFramework14PresentBuilderC11chatHistory0E2IdACSi_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "article", + "printedName": "article(articleId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC7article0E2IdACSi_tF", + "mangledName": "$s16DeskproFramework14PresentBuilderC7article0E2IdACSi_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "comments", + "printedName": "comments()", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC8commentsACyF", + "mangledName": "$s16DeskproFramework14PresentBuilderC8commentsACyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "show", + "printedName": "show()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC4showyyF", + "mangledName": "$s16DeskproFramework14PresentBuilderC4showyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework14PresentBuilderC", + "mangledName": "$s16DeskproFramework14PresentBuilderC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "WebKit", + "printedName": "WebKit", + "declKind": "Import", + "moduleName": "DeskproFramework" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "MessengerConfig", + "printedName": "MessengerConfig", + "children": [ + { + "kind": "Var", + "name": "appUrl", + "printedName": "appUrl", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "appId", + "printedName": "appId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "appKey", + "printedName": "appKey", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(appUrl:appId:appKey:)", + "children": [ + { + "kind": "TypeNominal", + "name": "MessengerConfig", + "printedName": "DeskproFramework.MessengerConfig", + "usr": "s:16DeskproFramework15MessengerConfigC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrl0E2Id0E3KeyACSS_S2SSgtcfc", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrl0E2Id0E3KeyACSS_S2SSgtcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework15MessengerConfigC", + "mangledName": "$s16DeskproFramework15MessengerConfigC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "TypeDecl", + "name": "UIViewController", + "printedName": "UIViewController", + "children": [ + { + "kind": "Function", + "name": "presentMessenger", + "printedName": "presentMessenger(urlString:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:So16UIViewControllerC16DeskproFrameworkE16presentMessenger9urlStringySS_tF", + "mangledName": "$sSo16UIViewControllerC16DeskproFrameworkE16presentMessenger9urlStringySS_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIViewController", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIViewController", + "declAttributes": [ + "Available", + "ObjC", + "NonSendable", + "Custom", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)UIResponder", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "UIKit.UIResponder", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "UITraitChangeObservable", + "printedName": "UITraitChangeObservable", + "usr": "s:5UIKit23UITraitChangeObservableP", + "mangledName": "$s5UIKit23UITraitChangeObservableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "StringLiteral", + "offset": 522, + "length": 29, + "value": "\"Hello world from Messenger!\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 895, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 1031, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 1187, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "IntegerLiteral", + "offset": 1732, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 261, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 561, + "length": 25, + "value": "\"\/chat_history\/\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 585, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 695, + "length": 23, + "value": "\"\/article\/\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 717, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 814, + "length": 11, + "value": "\"\/comments\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 874, + "length": 13, + "value": "\"iosListener\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 1125, + "length": 18, + "value": "\"Url not provided\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "FloatLiteral", + "offset": 1505, + "length": 3, + "value": "0.5" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 1958, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2059, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 2131, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2428, + "length": 53, + "value": "\"WKWebView has received a message: `\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2479, + "length": 1, + "value": "\"`\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 2746, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2949, + "length": 17, + "value": "\"Error: \"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2965, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3034, + "length": 19, + "value": "\"Result: \"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3052, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 3371, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3454, + "length": 14, + "value": "\"closeWebView\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3454, + "length": 14, + "value": "\"closeWebView\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3535, + "length": 1338, + "value": "\" window.DESKPRO_MESSENGER_CONNECTION = {\n parentMethods: {\n ready: async () => {\n \/\/ Note how childMethods.init is called in response to the ready event.\n const data = await window.DESKPRO_MESSENGER_CONNECTION.childMethods?.init(\"B0ED0B34-8507-4248-8738-0B0D80A6F7E9\", {\n showLauncherButton: false,\n user: window.DESKPRO_MESSENGER_OPTIONS?.userInfo,\n launcherButtonConfig: undefined, \/\/ Optional,\n messengerAppConfig: undefined,\n parentViewHeight: \"fullscreen\",\n }); \/\/new argument here\n\n if (data) {\n const { side, offsetBottom, offsetSide, width, height } = data;\n \/\/ setViewportPosition({ side, offsetBottom, offsetSide });\n \/\/ setViewportSize({ width, height });\n }\n },\n open: async () => {\n \/\/ setViewportSize({ width, height });\n },\n close: async () => {\n window.webkit.messageHandlers.iosListener.postMessage(\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 4527, + "length": 34, + "value": "\"\") \/\/triggers `didReceive message`\n \/\/alert('close.') \/\/triggers `runJavaScriptAlertPanelWithMessage`\n },\n getViewHeight: async () => {\n return 'fullscreen'\n },\n },\n \/\/ This object will be assigned by the messenger app on ready, so you can call the childMethods from the parent.\n childMethods: undefined,\n };\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 4916, + "length": 202, + "value": "\"window.DESKPRO_MESSENGER_CONNECTION.childMethods.open('B0ED0B34-8507-4248-8738-0B0D80A6F7E9', {\n parentViewHeight: 'fullscreen',\n showLauncherButton: false,\n });\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 5162, + "length": 203, + "value": "\"window.DESKPRO_MESSENGER_CONNECTION.childMethods.close('B0ED0B34-8507-4248-8738-0B0D80A6F7E9', {\n parentViewHeight: 'fullscreen',\n showLauncherButton: false,\n });\"" + } + ] +} \ No newline at end of file diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.private.swiftinterface b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 0000000..5a40b5a --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DeskproFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import DeskproFramework +import Foundation +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public class DeskPro { + public init(messengerConfig: DeskproFramework.MessengerConfig, containingViewController: UIKit.UIViewController) + public func test() -> Swift.String + public func loginUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func updateUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func logout() -> Swift.Bool + public func setPushRegistrationToken(deviceToken: Swift.String) -> Swift.Bool + public func isDeskProPushNotification(pushNotification: DeskproFramework.PushNotificationData) -> Swift.Bool + public func handlePushNotification(pushNotification: DeskproFramework.PushNotificationData) + public func present() -> DeskproFramework.PresentBuilder + public func close() + public func getUnreadConversationCount() -> Swift.Int + public func enableLogging() + @objc deinit +} +@_hasMissingDesignatedInitializers public class User { + @objc deinit +} +@_hasMissingDesignatedInitializers public class PushNotificationData { + @objc deinit +} +@_hasMissingDesignatedInitializers public class DeskProError { + @objc deinit +} +public protocol DeskProStatusCallback { + func onFailure(deskProError: DeskproFramework.DeskProError) + func onSuccess() +} +public class PresentBuilder { + public var url: Swift.String + public init(url: Swift.String, containingViewController: UIKit.UIViewController?) + public func chatHistory(chatId: Swift.Int) -> DeskproFramework.PresentBuilder + public func article(articleId: Swift.Int) -> DeskproFramework.PresentBuilder + public func comments() -> DeskproFramework.PresentBuilder + public func show() + @objc deinit +} +extension UIKit.UIViewController { + @_Concurrency.MainActor(unsafe) public func presentMessenger(urlString: Swift.String) +} +public class MessengerConfig { + public var appUrl: Swift.String + public var appId: Swift.String + public var appKey: Swift.String? + public init(appUrl: Swift.String, appId: Swift.String, appKey: Swift.String? = nil) + @objc deinit +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftdoc b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..205dc8e Binary files /dev/null and b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftinterface b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..5a40b5a --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DeskproFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import DeskproFramework +import Foundation +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public class DeskPro { + public init(messengerConfig: DeskproFramework.MessengerConfig, containingViewController: UIKit.UIViewController) + public func test() -> Swift.String + public func loginUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func updateUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func logout() -> Swift.Bool + public func setPushRegistrationToken(deviceToken: Swift.String) -> Swift.Bool + public func isDeskProPushNotification(pushNotification: DeskproFramework.PushNotificationData) -> Swift.Bool + public func handlePushNotification(pushNotification: DeskproFramework.PushNotificationData) + public func present() -> DeskproFramework.PresentBuilder + public func close() + public func getUnreadConversationCount() -> Swift.Int + public func enableLogging() + @objc deinit +} +@_hasMissingDesignatedInitializers public class User { + @objc deinit +} +@_hasMissingDesignatedInitializers public class PushNotificationData { + @objc deinit +} +@_hasMissingDesignatedInitializers public class DeskProError { + @objc deinit +} +public protocol DeskProStatusCallback { + func onFailure(deskProError: DeskproFramework.DeskProError) + func onSuccess() +} +public class PresentBuilder { + public var url: Swift.String + public init(url: Swift.String, containingViewController: UIKit.UIViewController?) + public func chatHistory(chatId: Swift.Int) -> DeskproFramework.PresentBuilder + public func article(articleId: Swift.Int) -> DeskproFramework.PresentBuilder + public func comments() -> DeskproFramework.PresentBuilder + public func show() + @objc deinit +} +extension UIKit.UIViewController { + @_Concurrency.MainActor(unsafe) public func presentMessenger(urlString: Swift.String) +} +public class MessengerConfig { + public var appUrl: Swift.String + public var appId: Swift.String + public var appKey: Swift.String? + public init(appUrl: Swift.String, appId: Swift.String, appKey: Swift.String? = nil) + @objc deinit +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/module.modulemap b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/module.modulemap new file mode 100644 index 0000000..5b7ece8 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module DeskproFramework { + umbrella header "DeskproFramework.h" + export * + + module * { export * } +} + +module DeskproFramework.Swift { + header "DeskproFramework-Swift.h" + requires objc +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/_CodeSignature/CodeResources b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..cb4616d --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64/DeskproFramework.framework/_CodeSignature/CodeResources @@ -0,0 +1,190 @@ + + + + + files + + Headers/DeskproFramework-Swift.h + + T8BAuqSEYAoYwqjWptQZLJiNk/Y= + + Headers/DeskproFramework.h + + RMHXevNoitOoYp5STBb9z9/Mph4= + + Info.plist + + SBPZQU7J8+vpUwE6Y4qA6iJHNM8= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.abi.json + + zcpUO/U/bocPbAreiZmrssxZ2tQ= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.private.swiftinterface + + On/Ods5eTcijUAbdv0daHH/uCJs= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftdoc + + RW2JxkZUK1RNlCW9T4nVG8oCYfI= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftinterface + + On/Ods5eTcijUAbdv0daHH/uCJs= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftmodule + + 79WvwvXbcTFyTOsENWd/YM5UEhk= + + Modules/module.modulemap + + UrjJs2fjHqPQfNwjDfgobo6yrvU= + + + files2 + + Headers/DeskproFramework-Swift.h + + hash2 + + 1f3Il1YVAy1yompNfpCWOXOK50UFUG3bR3Oyd3rbrKs= + + + Headers/DeskproFramework.h + + hash2 + + rsCWhjvHPX2MONH0KfAuJwQGSOvtuzZlQxh6oOK9dR8= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.abi.json + + hash2 + + ja3x80tCCjBHpQH5Dgzb0/+LgI6durODt4BXQ0bTUTc= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.private.swiftinterface + + hash2 + + UTA+YjaBfCToqBLfuVpTkdi5dkOjPtEOvSx7lWY9jaI= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftdoc + + hash2 + + U/FzZfbI62tC1pJVn+Nu/HbkUSPT3VltyyTc8AG8nfM= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftinterface + + hash2 + + UTA+YjaBfCToqBLfuVpTkdi5dkOjPtEOvSx7lWY9jaI= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios.swiftmodule + + hash2 + + zuXG4tKt0VJvckd9KuBemTf6YMeNjtfB1VWAJGhCbEE= + + + Modules/module.modulemap + + hash2 + + arP6CHKjOrUMNqNJLAbtZJrD+6yCt5eCm461JEwfdgE= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/DeskproFramework b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/DeskproFramework new file mode 100755 index 0000000..48bfc2e Binary files /dev/null and b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/DeskproFramework differ diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Headers/DeskproFramework-Swift.h b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Headers/DeskproFramework-Swift.h new file mode 100644 index 0000000..916a202 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Headers/DeskproFramework-Swift.h @@ -0,0 +1,620 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef DESKPROFRAMEWORK_SWIFT_H +#define DESKPROFRAMEWORK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DeskproFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef DESKPROFRAMEWORK_SWIFT_H +#define DESKPROFRAMEWORK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DeskproFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Headers/DeskproFramework.h b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Headers/DeskproFramework.h new file mode 100644 index 0000000..b702304 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Headers/DeskproFramework.h @@ -0,0 +1,18 @@ +// +// DeskproFramework.h +// DeskproFramework +// +// Created by QSD BiH on 4. 1. 2024.. +// + +#import + +//! Project version number for DeskproFramework. +FOUNDATION_EXPORT double DeskproFrameworkVersionNumber; + +//! Project version string for DeskproFramework. +FOUNDATION_EXPORT const unsigned char DeskproFrameworkVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Info.plist b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Info.plist new file mode 100644 index 0000000..d436343 Binary files /dev/null and b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Info.plist differ diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.abi.json b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 0000000..c9a311c --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,1391 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "DeskPro", + "printedName": "DeskPro", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(messengerConfig:containingViewController:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DeskPro", + "printedName": "DeskproFramework.DeskPro", + "usr": "s:16DeskproFramework7DeskProC" + }, + { + "kind": "TypeNominal", + "name": "MessengerConfig", + "printedName": "DeskproFramework.MessengerConfig", + "usr": "s:16DeskproFramework15MessengerConfigC" + }, + { + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework7DeskProC15messengerConfig24containingViewControllerAcA09MessengerF0C_So06UIViewI0Ctcfc", + "mangledName": "$s16DeskproFramework7DeskProC15messengerConfig24containingViewControllerAcA09MessengerF0C_So06UIViewI0Ctcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "test", + "printedName": "test()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC4testSSyF", + "mangledName": "$s16DeskproFramework7DeskProC4testSSyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "loginUser", + "printedName": "loginUser(user:deskProCallback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "User", + "printedName": "DeskproFramework.User", + "usr": "s:16DeskproFramework4UserC" + }, + { + "kind": "TypeNominal", + "name": "DeskProStatusCallback", + "printedName": "DeskproFramework.DeskProStatusCallback", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC9loginUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "mangledName": "$s16DeskproFramework7DeskProC9loginUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateUser", + "printedName": "updateUser(user:deskProCallback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "User", + "printedName": "DeskproFramework.User", + "usr": "s:16DeskproFramework4UserC" + }, + { + "kind": "TypeNominal", + "name": "DeskProStatusCallback", + "printedName": "DeskproFramework.DeskProStatusCallback", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC10updateUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "mangledName": "$s16DeskproFramework7DeskProC10updateUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC6logoutSbyF", + "mangledName": "$s16DeskproFramework7DeskProC6logoutSbyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushRegistrationToken", + "printedName": "setPushRegistrationToken(deviceToken:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC24setPushRegistrationToken06deviceH0SbSS_tF", + "mangledName": "$s16DeskproFramework7DeskProC24setPushRegistrationToken06deviceH0SbSS_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "isDeskProPushNotification", + "printedName": "isDeskProPushNotification(pushNotification:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "PushNotificationData", + "printedName": "DeskproFramework.PushNotificationData", + "usr": "s:16DeskproFramework20PushNotificationDataC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC02iscD16PushNotification04pushG0SbAA0fG4DataC_tF", + "mangledName": "$s16DeskproFramework7DeskProC02iscD16PushNotification04pushG0SbAA0fG4DataC_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "handlePushNotification", + "printedName": "handlePushNotification(pushNotification:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "PushNotificationData", + "printedName": "DeskproFramework.PushNotificationData", + "usr": "s:16DeskproFramework20PushNotificationDataC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC22handlePushNotification04pushG0yAA0fG4DataC_tF", + "mangledName": "$s16DeskproFramework7DeskProC22handlePushNotification04pushG0yAA0fG4DataC_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "present", + "printedName": "present()", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC7presentAA14PresentBuilderCyF", + "mangledName": "$s16DeskproFramework7DeskProC7presentAA14PresentBuilderCyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC5closeyyF", + "mangledName": "$s16DeskproFramework7DeskProC5closeyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUnreadConversationCount", + "printedName": "getUnreadConversationCount()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC26getUnreadConversationCountSiyF", + "mangledName": "$s16DeskproFramework7DeskProC26getUnreadConversationCountSiyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "enableLogging", + "printedName": "enableLogging()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC13enableLoggingyyF", + "mangledName": "$s16DeskproFramework7DeskProC13enableLoggingyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework7DeskProC", + "mangledName": "$s16DeskproFramework7DeskProC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "User", + "printedName": "User", + "declKind": "Class", + "usr": "s:16DeskproFramework4UserC", + "mangledName": "$s16DeskproFramework4UserC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "PushNotificationData", + "printedName": "PushNotificationData", + "declKind": "Class", + "usr": "s:16DeskproFramework20PushNotificationDataC", + "mangledName": "$s16DeskproFramework20PushNotificationDataC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "DeskProError", + "printedName": "DeskProError", + "declKind": "Class", + "usr": "s:16DeskproFramework12DeskProErrorC", + "mangledName": "$s16DeskproFramework12DeskProErrorC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "DeskProStatusCallback", + "printedName": "DeskProStatusCallback", + "children": [ + { + "kind": "Function", + "name": "onFailure", + "printedName": "onFailure(deskProError:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "DeskProError", + "printedName": "DeskproFramework.DeskProError", + "usr": "s:16DeskproFramework12DeskProErrorC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP9onFailure04deskD5ErroryAA0cdJ0C_tF", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP9onFailure04deskD5ErroryAA0cdJ0C_tF", + "moduleName": "DeskproFramework", + "genericSig": "<τ_0_0 where τ_0_0 : DeskproFramework.DeskProStatusCallback>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onSuccess", + "printedName": "onSuccess()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP9onSuccessyyF", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP9onSuccessyyF", + "moduleName": "DeskproFramework", + "genericSig": "<τ_0_0 where τ_0_0 : DeskproFramework.DeskProStatusCallback>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PresentBuilder", + "printedName": "PresentBuilder", + "children": [ + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvp", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvg", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvs", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvM", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(url:containingViewController:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "UIKit.UIViewController?", + "children": [ + { + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework14PresentBuilderC3url24containingViewControllerACSS_So06UIViewH0CSgtcfc", + "mangledName": "$s16DeskproFramework14PresentBuilderC3url24containingViewControllerACSS_So06UIViewH0CSgtcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "chatHistory", + "printedName": "chatHistory(chatId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC11chatHistory0E2IdACSi_tF", + "mangledName": "$s16DeskproFramework14PresentBuilderC11chatHistory0E2IdACSi_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "article", + "printedName": "article(articleId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC7article0E2IdACSi_tF", + "mangledName": "$s16DeskproFramework14PresentBuilderC7article0E2IdACSi_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "comments", + "printedName": "comments()", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC8commentsACyF", + "mangledName": "$s16DeskproFramework14PresentBuilderC8commentsACyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "show", + "printedName": "show()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC4showyyF", + "mangledName": "$s16DeskproFramework14PresentBuilderC4showyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework14PresentBuilderC", + "mangledName": "$s16DeskproFramework14PresentBuilderC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "WebKit", + "printedName": "WebKit", + "declKind": "Import", + "moduleName": "DeskproFramework" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "MessengerConfig", + "printedName": "MessengerConfig", + "children": [ + { + "kind": "Var", + "name": "appUrl", + "printedName": "appUrl", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "appId", + "printedName": "appId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "appKey", + "printedName": "appKey", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(appUrl:appId:appKey:)", + "children": [ + { + "kind": "TypeNominal", + "name": "MessengerConfig", + "printedName": "DeskproFramework.MessengerConfig", + "usr": "s:16DeskproFramework15MessengerConfigC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrl0E2Id0E3KeyACSS_S2SSgtcfc", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrl0E2Id0E3KeyACSS_S2SSgtcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework15MessengerConfigC", + "mangledName": "$s16DeskproFramework15MessengerConfigC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "TypeDecl", + "name": "UIViewController", + "printedName": "UIViewController", + "children": [ + { + "kind": "Function", + "name": "presentMessenger", + "printedName": "presentMessenger(urlString:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:So16UIViewControllerC16DeskproFrameworkE16presentMessenger9urlStringySS_tF", + "mangledName": "$sSo16UIViewControllerC16DeskproFrameworkE16presentMessenger9urlStringySS_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIViewController", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIViewController", + "declAttributes": [ + "Available", + "ObjC", + "NonSendable", + "Custom", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)UIResponder", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "UIKit.UIResponder", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "UITraitChangeObservable", + "printedName": "UITraitChangeObservable", + "usr": "s:5UIKit23UITraitChangeObservableP", + "mangledName": "$s5UIKit23UITraitChangeObservableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "StringLiteral", + "offset": 522, + "length": 29, + "value": "\"Hello world from Messenger!\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 895, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 1031, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 1187, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "IntegerLiteral", + "offset": 1732, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 261, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 561, + "length": 25, + "value": "\"\/chat_history\/\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 585, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 695, + "length": 23, + "value": "\"\/article\/\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 717, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 814, + "length": 11, + "value": "\"\/comments\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 874, + "length": 13, + "value": "\"iosListener\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 1125, + "length": 18, + "value": "\"Url not provided\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "FloatLiteral", + "offset": 1505, + "length": 3, + "value": "0.5" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 1958, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2059, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 2131, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2428, + "length": 53, + "value": "\"WKWebView has received a message: `\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2479, + "length": 1, + "value": "\"`\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 2746, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2949, + "length": 17, + "value": "\"Error: \"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2965, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3034, + "length": 19, + "value": "\"Result: \"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3052, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 3371, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3454, + "length": 14, + "value": "\"closeWebView\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3454, + "length": 14, + "value": "\"closeWebView\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3535, + "length": 1338, + "value": "\" window.DESKPRO_MESSENGER_CONNECTION = {\n parentMethods: {\n ready: async () => {\n \/\/ Note how childMethods.init is called in response to the ready event.\n const data = await window.DESKPRO_MESSENGER_CONNECTION.childMethods?.init(\"B0ED0B34-8507-4248-8738-0B0D80A6F7E9\", {\n showLauncherButton: false,\n user: window.DESKPRO_MESSENGER_OPTIONS?.userInfo,\n launcherButtonConfig: undefined, \/\/ Optional,\n messengerAppConfig: undefined,\n parentViewHeight: \"fullscreen\",\n }); \/\/new argument here\n\n if (data) {\n const { side, offsetBottom, offsetSide, width, height } = data;\n \/\/ setViewportPosition({ side, offsetBottom, offsetSide });\n \/\/ setViewportSize({ width, height });\n }\n },\n open: async () => {\n \/\/ setViewportSize({ width, height });\n },\n close: async () => {\n window.webkit.messageHandlers.iosListener.postMessage(\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 4527, + "length": 34, + "value": "\"\") \/\/triggers `didReceive message`\n \/\/alert('close.') \/\/triggers `runJavaScriptAlertPanelWithMessage`\n },\n getViewHeight: async () => {\n return 'fullscreen'\n },\n },\n \/\/ This object will be assigned by the messenger app on ready, so you can call the childMethods from the parent.\n childMethods: undefined,\n };\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 4916, + "length": 202, + "value": "\"window.DESKPRO_MESSENGER_CONNECTION.childMethods.open('B0ED0B34-8507-4248-8738-0B0D80A6F7E9', {\n parentViewHeight: 'fullscreen',\n showLauncherButton: false,\n });\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 5162, + "length": 203, + "value": "\"window.DESKPRO_MESSENGER_CONNECTION.childMethods.close('B0ED0B34-8507-4248-8738-0B0D80A6F7E9', {\n parentViewHeight: 'fullscreen',\n showLauncherButton: false,\n });\"" + } + ] +} \ No newline at end of file diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 0000000..ac710d4 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DeskproFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import DeskproFramework +import Foundation +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public class DeskPro { + public init(messengerConfig: DeskproFramework.MessengerConfig, containingViewController: UIKit.UIViewController) + public func test() -> Swift.String + public func loginUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func updateUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func logout() -> Swift.Bool + public func setPushRegistrationToken(deviceToken: Swift.String) -> Swift.Bool + public func isDeskProPushNotification(pushNotification: DeskproFramework.PushNotificationData) -> Swift.Bool + public func handlePushNotification(pushNotification: DeskproFramework.PushNotificationData) + public func present() -> DeskproFramework.PresentBuilder + public func close() + public func getUnreadConversationCount() -> Swift.Int + public func enableLogging() + @objc deinit +} +@_hasMissingDesignatedInitializers public class User { + @objc deinit +} +@_hasMissingDesignatedInitializers public class PushNotificationData { + @objc deinit +} +@_hasMissingDesignatedInitializers public class DeskProError { + @objc deinit +} +public protocol DeskProStatusCallback { + func onFailure(deskProError: DeskproFramework.DeskProError) + func onSuccess() +} +public class PresentBuilder { + public var url: Swift.String + public init(url: Swift.String, containingViewController: UIKit.UIViewController?) + public func chatHistory(chatId: Swift.Int) -> DeskproFramework.PresentBuilder + public func article(articleId: Swift.Int) -> DeskproFramework.PresentBuilder + public func comments() -> DeskproFramework.PresentBuilder + public func show() + @objc deinit +} +extension UIKit.UIViewController { + @_Concurrency.MainActor(unsafe) public func presentMessenger(urlString: Swift.String) +} +public class MessengerConfig { + public var appUrl: Swift.String + public var appId: Swift.String + public var appKey: Swift.String? + public init(appUrl: Swift.String, appId: Swift.String, appKey: Swift.String? = nil) + @objc deinit +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..3b9e19b Binary files /dev/null and b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..ac710d4 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DeskproFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import DeskproFramework +import Foundation +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public class DeskPro { + public init(messengerConfig: DeskproFramework.MessengerConfig, containingViewController: UIKit.UIViewController) + public func test() -> Swift.String + public func loginUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func updateUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func logout() -> Swift.Bool + public func setPushRegistrationToken(deviceToken: Swift.String) -> Swift.Bool + public func isDeskProPushNotification(pushNotification: DeskproFramework.PushNotificationData) -> Swift.Bool + public func handlePushNotification(pushNotification: DeskproFramework.PushNotificationData) + public func present() -> DeskproFramework.PresentBuilder + public func close() + public func getUnreadConversationCount() -> Swift.Int + public func enableLogging() + @objc deinit +} +@_hasMissingDesignatedInitializers public class User { + @objc deinit +} +@_hasMissingDesignatedInitializers public class PushNotificationData { + @objc deinit +} +@_hasMissingDesignatedInitializers public class DeskProError { + @objc deinit +} +public protocol DeskProStatusCallback { + func onFailure(deskProError: DeskproFramework.DeskProError) + func onSuccess() +} +public class PresentBuilder { + public var url: Swift.String + public init(url: Swift.String, containingViewController: UIKit.UIViewController?) + public func chatHistory(chatId: Swift.Int) -> DeskproFramework.PresentBuilder + public func article(articleId: Swift.Int) -> DeskproFramework.PresentBuilder + public func comments() -> DeskproFramework.PresentBuilder + public func show() + @objc deinit +} +extension UIKit.UIViewController { + @_Concurrency.MainActor(unsafe) public func presentMessenger(urlString: Swift.String) +} +public class MessengerConfig { + public var appUrl: Swift.String + public var appId: Swift.String + public var appKey: Swift.String? + public init(appUrl: Swift.String, appId: Swift.String, appKey: Swift.String? = nil) + @objc deinit +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 0000000..c9a311c --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,1391 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "DeskPro", + "printedName": "DeskPro", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(messengerConfig:containingViewController:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DeskPro", + "printedName": "DeskproFramework.DeskPro", + "usr": "s:16DeskproFramework7DeskProC" + }, + { + "kind": "TypeNominal", + "name": "MessengerConfig", + "printedName": "DeskproFramework.MessengerConfig", + "usr": "s:16DeskproFramework15MessengerConfigC" + }, + { + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework7DeskProC15messengerConfig24containingViewControllerAcA09MessengerF0C_So06UIViewI0Ctcfc", + "mangledName": "$s16DeskproFramework7DeskProC15messengerConfig24containingViewControllerAcA09MessengerF0C_So06UIViewI0Ctcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "test", + "printedName": "test()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC4testSSyF", + "mangledName": "$s16DeskproFramework7DeskProC4testSSyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "loginUser", + "printedName": "loginUser(user:deskProCallback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "User", + "printedName": "DeskproFramework.User", + "usr": "s:16DeskproFramework4UserC" + }, + { + "kind": "TypeNominal", + "name": "DeskProStatusCallback", + "printedName": "DeskproFramework.DeskProStatusCallback", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC9loginUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "mangledName": "$s16DeskproFramework7DeskProC9loginUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateUser", + "printedName": "updateUser(user:deskProCallback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "User", + "printedName": "DeskproFramework.User", + "usr": "s:16DeskproFramework4UserC" + }, + { + "kind": "TypeNominal", + "name": "DeskProStatusCallback", + "printedName": "DeskproFramework.DeskProStatusCallback", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC10updateUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "mangledName": "$s16DeskproFramework7DeskProC10updateUser4user04deskD8CallbackyAA0F0C_AA0cd6StatusI0_ptF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC6logoutSbyF", + "mangledName": "$s16DeskproFramework7DeskProC6logoutSbyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushRegistrationToken", + "printedName": "setPushRegistrationToken(deviceToken:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC24setPushRegistrationToken06deviceH0SbSS_tF", + "mangledName": "$s16DeskproFramework7DeskProC24setPushRegistrationToken06deviceH0SbSS_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "isDeskProPushNotification", + "printedName": "isDeskProPushNotification(pushNotification:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "PushNotificationData", + "printedName": "DeskproFramework.PushNotificationData", + "usr": "s:16DeskproFramework20PushNotificationDataC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC02iscD16PushNotification04pushG0SbAA0fG4DataC_tF", + "mangledName": "$s16DeskproFramework7DeskProC02iscD16PushNotification04pushG0SbAA0fG4DataC_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "handlePushNotification", + "printedName": "handlePushNotification(pushNotification:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "PushNotificationData", + "printedName": "DeskproFramework.PushNotificationData", + "usr": "s:16DeskproFramework20PushNotificationDataC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC22handlePushNotification04pushG0yAA0fG4DataC_tF", + "mangledName": "$s16DeskproFramework7DeskProC22handlePushNotification04pushG0yAA0fG4DataC_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "present", + "printedName": "present()", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC7presentAA14PresentBuilderCyF", + "mangledName": "$s16DeskproFramework7DeskProC7presentAA14PresentBuilderCyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC5closeyyF", + "mangledName": "$s16DeskproFramework7DeskProC5closeyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUnreadConversationCount", + "printedName": "getUnreadConversationCount()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC26getUnreadConversationCountSiyF", + "mangledName": "$s16DeskproFramework7DeskProC26getUnreadConversationCountSiyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "enableLogging", + "printedName": "enableLogging()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework7DeskProC13enableLoggingyyF", + "mangledName": "$s16DeskproFramework7DeskProC13enableLoggingyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework7DeskProC", + "mangledName": "$s16DeskproFramework7DeskProC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "User", + "printedName": "User", + "declKind": "Class", + "usr": "s:16DeskproFramework4UserC", + "mangledName": "$s16DeskproFramework4UserC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "PushNotificationData", + "printedName": "PushNotificationData", + "declKind": "Class", + "usr": "s:16DeskproFramework20PushNotificationDataC", + "mangledName": "$s16DeskproFramework20PushNotificationDataC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "DeskProError", + "printedName": "DeskProError", + "declKind": "Class", + "usr": "s:16DeskproFramework12DeskProErrorC", + "mangledName": "$s16DeskproFramework12DeskProErrorC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "TypeDecl", + "name": "DeskProStatusCallback", + "printedName": "DeskProStatusCallback", + "children": [ + { + "kind": "Function", + "name": "onFailure", + "printedName": "onFailure(deskProError:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "DeskProError", + "printedName": "DeskproFramework.DeskProError", + "usr": "s:16DeskproFramework12DeskProErrorC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP9onFailure04deskD5ErroryAA0cdJ0C_tF", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP9onFailure04deskD5ErroryAA0cdJ0C_tF", + "moduleName": "DeskproFramework", + "genericSig": "<τ_0_0 where τ_0_0 : DeskproFramework.DeskProStatusCallback>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onSuccess", + "printedName": "onSuccess()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP9onSuccessyyF", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP9onSuccessyyF", + "moduleName": "DeskproFramework", + "genericSig": "<τ_0_0 where τ_0_0 : DeskproFramework.DeskProStatusCallback>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:16DeskproFramework21DeskProStatusCallbackP", + "mangledName": "$s16DeskproFramework21DeskProStatusCallbackP", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "PresentBuilder", + "printedName": "PresentBuilder", + "children": [ + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvp", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvg", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvs", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework14PresentBuilderC3urlSSvM", + "mangledName": "$s16DeskproFramework14PresentBuilderC3urlSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(url:containingViewController:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "UIKit.UIViewController?", + "children": [ + { + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework14PresentBuilderC3url24containingViewControllerACSS_So06UIViewH0CSgtcfc", + "mangledName": "$s16DeskproFramework14PresentBuilderC3url24containingViewControllerACSS_So06UIViewH0CSgtcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "chatHistory", + "printedName": "chatHistory(chatId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC11chatHistory0E2IdACSi_tF", + "mangledName": "$s16DeskproFramework14PresentBuilderC11chatHistory0E2IdACSi_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "article", + "printedName": "article(articleId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC7article0E2IdACSi_tF", + "mangledName": "$s16DeskproFramework14PresentBuilderC7article0E2IdACSi_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "comments", + "printedName": "comments()", + "children": [ + { + "kind": "TypeNominal", + "name": "PresentBuilder", + "printedName": "DeskproFramework.PresentBuilder", + "usr": "s:16DeskproFramework14PresentBuilderC" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC8commentsACyF", + "mangledName": "$s16DeskproFramework14PresentBuilderC8commentsACyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "show", + "printedName": "show()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:16DeskproFramework14PresentBuilderC4showyyF", + "mangledName": "$s16DeskproFramework14PresentBuilderC4showyyF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework14PresentBuilderC", + "mangledName": "$s16DeskproFramework14PresentBuilderC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "UIKit", + "printedName": "UIKit", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "WebKit", + "printedName": "WebKit", + "declKind": "Import", + "moduleName": "DeskproFramework" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "DeskproFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "MessengerConfig", + "printedName": "MessengerConfig", + "children": [ + { + "kind": "Var", + "name": "appUrl", + "printedName": "appUrl", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrlSSvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrlSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "appId", + "printedName": "appId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC5appIdSSvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC5appIdSSvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "appKey", + "printedName": "appKey", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvp", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvp", + "moduleName": "DeskproFramework", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvg", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvg", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvs", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvs", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:16DeskproFramework15MessengerConfigC6appKeySSSgvM", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appKeySSSgvM", + "moduleName": "DeskproFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(appUrl:appId:appKey:)", + "children": [ + { + "kind": "TypeNominal", + "name": "MessengerConfig", + "printedName": "DeskproFramework.MessengerConfig", + "usr": "s:16DeskproFramework15MessengerConfigC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:16DeskproFramework15MessengerConfigC6appUrl0E2Id0E3KeyACSS_S2SSgtcfc", + "mangledName": "$s16DeskproFramework15MessengerConfigC6appUrl0E2Id0E3KeyACSS_S2SSgtcfc", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "s:16DeskproFramework15MessengerConfigC", + "mangledName": "$s16DeskproFramework15MessengerConfigC", + "moduleName": "DeskproFramework", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "TypeDecl", + "name": "UIViewController", + "printedName": "UIViewController", + "children": [ + { + "kind": "Function", + "name": "presentMessenger", + "printedName": "presentMessenger(urlString:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:So16UIViewControllerC16DeskproFrameworkE16presentMessenger9urlStringySS_tF", + "mangledName": "$sSo16UIViewControllerC16DeskproFrameworkE16presentMessenger9urlStringySS_tF", + "moduleName": "DeskproFramework", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:objc(cs)UIViewController", + "moduleName": "UIKit", + "isOpen": true, + "intro_iOS": "2.0", + "objc_name": "UIViewController", + "declAttributes": [ + "Available", + "ObjC", + "NonSendable", + "Custom", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)UIResponder", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "UIKit.UIResponder", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "UITraitChangeObservable", + "printedName": "UITraitChangeObservable", + "usr": "s:5UIKit23UITraitChangeObservableP", + "mangledName": "$s5UIKit23UITraitChangeObservableP" + } + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "StringLiteral", + "offset": 522, + "length": 29, + "value": "\"Hello world from Messenger!\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 895, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 1031, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "BooleanLiteral", + "offset": 1187, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/Deskpro.swift", + "kind": "IntegerLiteral", + "offset": 1732, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 261, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 561, + "length": 25, + "value": "\"\/chat_history\/\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 585, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 695, + "length": 23, + "value": "\"\/article\/\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 717, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/PresentBuilder.swift", + "kind": "StringLiteral", + "offset": 814, + "length": 11, + "value": "\"\/comments\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 874, + "length": 13, + "value": "\"iosListener\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 1125, + "length": 18, + "value": "\"Url not provided\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "FloatLiteral", + "offset": 1505, + "length": 3, + "value": "0.5" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 1958, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2059, + "length": 4, + "value": "\"OK\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 2131, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2428, + "length": 53, + "value": "\"WKWebView has received a message: `\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2479, + "length": 1, + "value": "\"`\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 2746, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2949, + "length": 17, + "value": "\"Error: \"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 2965, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3034, + "length": 19, + "value": "\"Result: \"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3052, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "BooleanLiteral", + "offset": 3371, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3454, + "length": 14, + "value": "\"closeWebView\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3454, + "length": 14, + "value": "\"closeWebView\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 3535, + "length": 1338, + "value": "\" window.DESKPRO_MESSENGER_CONNECTION = {\n parentMethods: {\n ready: async () => {\n \/\/ Note how childMethods.init is called in response to the ready event.\n const data = await window.DESKPRO_MESSENGER_CONNECTION.childMethods?.init(\"B0ED0B34-8507-4248-8738-0B0D80A6F7E9\", {\n showLauncherButton: false,\n user: window.DESKPRO_MESSENGER_OPTIONS?.userInfo,\n launcherButtonConfig: undefined, \/\/ Optional,\n messengerAppConfig: undefined,\n parentViewHeight: \"fullscreen\",\n }); \/\/new argument here\n\n if (data) {\n const { side, offsetBottom, offsetSide, width, height } = data;\n \/\/ setViewportPosition({ side, offsetBottom, offsetSide });\n \/\/ setViewportSize({ width, height });\n }\n },\n open: async () => {\n \/\/ setViewportSize({ width, height });\n },\n close: async () => {\n window.webkit.messageHandlers.iosListener.postMessage(\"\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 4527, + "length": 34, + "value": "\"\") \/\/triggers `didReceive message`\n \/\/alert('close.') \/\/triggers `runJavaScriptAlertPanelWithMessage`\n },\n getViewHeight: async () => {\n return 'fullscreen'\n },\n },\n \/\/ This object will be assigned by the messenger app on ready, so you can call the childMethods from the parent.\n childMethods: undefined,\n };\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 4916, + "length": 202, + "value": "\"window.DESKPRO_MESSENGER_CONNECTION.childMethods.open('B0ED0B34-8507-4248-8738-0B0D80A6F7E9', {\n parentViewHeight: 'fullscreen',\n showLauncherButton: false,\n });\"" + }, + { + "filePath": "\/Users\/qsd\/Dropbox\/My Mac (QSD’s MacBook Pro)\/Desktop\/DeskproFramework\/WebView.swift", + "kind": "StringLiteral", + "offset": 5162, + "length": 203, + "value": "\"window.DESKPRO_MESSENGER_CONNECTION.childMethods.close('B0ED0B34-8507-4248-8738-0B0D80A6F7E9', {\n parentViewHeight: 'fullscreen',\n showLauncherButton: false,\n });\"" + } + ] +} \ No newline at end of file diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 0000000..dee4fe3 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios14-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DeskproFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import DeskproFramework +import Foundation +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public class DeskPro { + public init(messengerConfig: DeskproFramework.MessengerConfig, containingViewController: UIKit.UIViewController) + public func test() -> Swift.String + public func loginUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func updateUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func logout() -> Swift.Bool + public func setPushRegistrationToken(deviceToken: Swift.String) -> Swift.Bool + public func isDeskProPushNotification(pushNotification: DeskproFramework.PushNotificationData) -> Swift.Bool + public func handlePushNotification(pushNotification: DeskproFramework.PushNotificationData) + public func present() -> DeskproFramework.PresentBuilder + public func close() + public func getUnreadConversationCount() -> Swift.Int + public func enableLogging() + @objc deinit +} +@_hasMissingDesignatedInitializers public class User { + @objc deinit +} +@_hasMissingDesignatedInitializers public class PushNotificationData { + @objc deinit +} +@_hasMissingDesignatedInitializers public class DeskProError { + @objc deinit +} +public protocol DeskProStatusCallback { + func onFailure(deskProError: DeskproFramework.DeskProError) + func onSuccess() +} +public class PresentBuilder { + public var url: Swift.String + public init(url: Swift.String, containingViewController: UIKit.UIViewController?) + public func chatHistory(chatId: Swift.Int) -> DeskproFramework.PresentBuilder + public func article(articleId: Swift.Int) -> DeskproFramework.PresentBuilder + public func comments() -> DeskproFramework.PresentBuilder + public func show() + @objc deinit +} +extension UIKit.UIViewController { + @_Concurrency.MainActor(unsafe) public func presentMessenger(urlString: Swift.String) +} +public class MessengerConfig { + public var appUrl: Swift.String + public var appId: Swift.String + public var appKey: Swift.String? + public init(appUrl: Swift.String, appId: Swift.String, appKey: Swift.String? = nil) + @objc deinit +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..6b88445 Binary files /dev/null and b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..dee4fe3 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios14-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DeskproFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import DeskproFramework +import Foundation +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public class DeskPro { + public init(messengerConfig: DeskproFramework.MessengerConfig, containingViewController: UIKit.UIViewController) + public func test() -> Swift.String + public func loginUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func updateUser(user: DeskproFramework.User, deskProCallback: any DeskproFramework.DeskProStatusCallback) + public func logout() -> Swift.Bool + public func setPushRegistrationToken(deviceToken: Swift.String) -> Swift.Bool + public func isDeskProPushNotification(pushNotification: DeskproFramework.PushNotificationData) -> Swift.Bool + public func handlePushNotification(pushNotification: DeskproFramework.PushNotificationData) + public func present() -> DeskproFramework.PresentBuilder + public func close() + public func getUnreadConversationCount() -> Swift.Int + public func enableLogging() + @objc deinit +} +@_hasMissingDesignatedInitializers public class User { + @objc deinit +} +@_hasMissingDesignatedInitializers public class PushNotificationData { + @objc deinit +} +@_hasMissingDesignatedInitializers public class DeskProError { + @objc deinit +} +public protocol DeskProStatusCallback { + func onFailure(deskProError: DeskproFramework.DeskProError) + func onSuccess() +} +public class PresentBuilder { + public var url: Swift.String + public init(url: Swift.String, containingViewController: UIKit.UIViewController?) + public func chatHistory(chatId: Swift.Int) -> DeskproFramework.PresentBuilder + public func article(articleId: Swift.Int) -> DeskproFramework.PresentBuilder + public func comments() -> DeskproFramework.PresentBuilder + public func show() + @objc deinit +} +extension UIKit.UIViewController { + @_Concurrency.MainActor(unsafe) public func presentMessenger(urlString: Swift.String) +} +public class MessengerConfig { + public var appUrl: Swift.String + public var appId: Swift.String + public var appKey: Swift.String? + public init(appUrl: Swift.String, appId: Swift.String, appKey: Swift.String? = nil) + @objc deinit +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/module.modulemap b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/module.modulemap new file mode 100644 index 0000000..5b7ece8 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module DeskproFramework { + umbrella header "DeskproFramework.h" + export * + + module * { export * } +} + +module DeskproFramework.Swift { + header "DeskproFramework-Swift.h" + requires objc +} diff --git a/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/_CodeSignature/CodeResources b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..21fb313 --- /dev/null +++ b/Examples/SwiftExample/SwiftExample/DeskproFramework.xcframework/ios-arm64_x86_64-simulator/DeskproFramework.framework/_CodeSignature/CodeResources @@ -0,0 +1,245 @@ + + + + + files + + Headers/DeskproFramework-Swift.h + + eOFVgQZ9z2+ECmHtS7DZvzINC2A= + + Headers/DeskproFramework.h + + RMHXevNoitOoYp5STBb9z9/Mph4= + + Info.plist + + zrlxfZH5Dd0PaM2zIX8h+e/WO10= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.abi.json + + zcpUO/U/bocPbAreiZmrssxZ2tQ= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + LeBd70y6b248ij+I7YfuX3Xz+2A= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + E5w8ct+vtUXo8/FfinsiYl5c5xo= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + LeBd70y6b248ij+I7YfuX3Xz+2A= + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + aFHPZY539GwLgj9cdYO1lLeAaiY= + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json + + zcpUO/U/bocPbAreiZmrssxZ2tQ= + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + /w+5f0CCgJlC5Oiy7tWGYxej0E4= + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + 5G20g+mCyMhLoH0xsISTwvuqY5w= + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + /w+5f0CCgJlC5Oiy7tWGYxej0E4= + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + jmtjfDX2xhQ3mY0xeyYCo1tc15Q= + + Modules/module.modulemap + + UrjJs2fjHqPQfNwjDfgobo6yrvU= + + + files2 + + Headers/DeskproFramework-Swift.h + + hash2 + + MTAe7rXmaq4PVpFFCgmrHf4sQKjin6aCrLg5VY/cMb4= + + + Headers/DeskproFramework.h + + hash2 + + rsCWhjvHPX2MONH0KfAuJwQGSOvtuzZlQxh6oOK9dR8= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash2 + + ja3x80tCCjBHpQH5Dgzb0/+LgI6durODt4BXQ0bTUTc= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash2 + + uaECZjNs6r7yeuEBgZRed3aabxoWhVXVYBQftbRHd80= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + sqMhCOQZpfaZAFTLM37rMhLdnbupDraLmxz5ounO6MI= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + uaECZjNs6r7yeuEBgZRed3aabxoWhVXVYBQftbRHd80= + + + Modules/DeskproFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + C2NL1OxVUFdUdd2M4SrwT3l7LSTGbmhdVmu7fD++M5w= + + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash2 + + ja3x80tCCjBHpQH5Dgzb0/+LgI6durODt4BXQ0bTUTc= + + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash2 + + swTgYP297outyhMgrbqvZ8PgyriPzZXdZHh5zk3LNR8= + + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + Yspc4EQ48NyKl8RYmfYtXJcYYEaVvBxCzCM+QLSMVbA= + + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + swTgYP297outyhMgrbqvZ8PgyriPzZXdZHh5zk3LNR8= + + + Modules/DeskproFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + 7KWP6+C2WmLJC+gjVv6PTwoMS03FRwNCmB1AfesUwtA= + + + Modules/module.modulemap + + hash2 + + arP6CHKjOrUMNqNJLAbtZJrD+6yCt5eCm461JEwfdgE= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Examples/SwiftExample/SwiftExample/ViewController.swift b/Examples/SwiftExample/SwiftExample/ViewController.swift index 925db82..eb65b71 100644 --- a/Examples/SwiftExample/SwiftExample/ViewController.swift +++ b/Examples/SwiftExample/SwiftExample/ViewController.swift @@ -10,9 +10,9 @@ import DeskproFramework class ViewController: UIViewController { + @IBOutlet weak var openBtn: UIButton! @IBOutlet weak var testBtn: UIButton! @IBOutlet weak var testLbl: UILabel! - @IBOutlet weak var openBtn: UIButton! let messengerConfig = MessengerConfig(appUrl: "http://178.62.74.147:3001/d/", appId: "B0ED0B34-8507-4248-8738-0B0D80A6F7E9") var messenger: DeskPro? @@ -22,15 +22,13 @@ class ViewController: UIViewController { messenger = DeskPro(messengerConfig: messengerConfig, containingViewController: self) } - - @IBAction func testTapped(_ sender: Any) { - if let messenger { - testLbl.text = messenger.test() - } - } @IBAction func openTapped(_ sender: Any) { messenger?.present().show() } + + @IBAction func testTapped(_ sender: Any) { + testLbl.text = messenger?.test() + } }