diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 247245b..1d5a184 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -46,7 +46,7 @@ body: attributes: label: Steps to Reproduce description: Describe all the steps needed to reproduce the issue. If an issue is only reproducible under particular circumstances, put all required details here. E.g., if a push is not shown only for a specific API request, provide the full request body. Or, if an issue is reproducible with a particular Rich Media, deep link, etc. — specify it. - placeholder: | + placeholder: | 1. Open the app; 2. Switch it to the background; 3. Received notification with "root_params" causes the app to crash. @@ -59,6 +59,8 @@ body: label: Your Pushwoosh iOS SDK version description: Your iOS SDK version which was integrated to the app. You may find it on the [releases page](https://github.com/Pushwoosh/pushwoosh-ios-sdk/releases) options: + - 6.7.10 + - 6.7.10 - 6.7.9 - 6.7.8 - 6.7.7 diff --git a/Framework/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h b/Framework/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h index 4e29b42..90aa578 100644 --- a/Framework/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h +++ b/Framework/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.7.9" +#define PUSHWOOSH_VERSION @"6.7.10" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/Framework/PushwooshFramework.framework/Versions/A/PushwooshFramework b/Framework/PushwooshFramework.framework/Versions/A/PushwooshFramework index 9a45aed..d5f4ad1 100644 Binary files a/Framework/PushwooshFramework.framework/Versions/A/PushwooshFramework and b/Framework/PushwooshFramework.framework/Versions/A/PushwooshFramework differ diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h index ff2ea30..d6ad792 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h @@ -277,6 +277,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif +@import Foundation; @import ObjectiveC; #endif @@ -304,9 +305,11 @@ SWIFT_CLASS("_TtC18PushwooshFramework23PushwooshLiveActivities") - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end +@class NSString; SWIFT_CLASS("_TtC18PushwooshFramework42PushwooshLiveActivitiesImplementationSetup") @interface PushwooshLiveActivitiesImplementationSetup : NSObject ++ (void)defaultStart:(NSString * _Nonnull)activityId attributes:(NSDictionary * _Nonnull)attributes content:(NSDictionary * _Nonnull)content SWIFT_AVAILABILITY(ios,introduced=16.1); - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework.h b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework.h index 4e29b42..90aa578 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework.h +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Headers/PushwooshFramework.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.7.9" +#define PUSHWOOSH_VERSION @"6.7.10" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.abi.json b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.abi.json index ab066de..b6f4cac 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.abi.json +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.abi.json @@ -23,6 +23,99 @@ "name": "PushwooshLiveActivitiesImplementationSetup", "printedName": "PushwooshLiveActivitiesImplementationSetup", "children": [ + { + "kind": "Function", + "name": "defaultSetup", + "printedName": "defaultSetup()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A33LiveActivitiesImplementationSetupC07defaultF0yyFZ", + "mangledName": "$s18PushwooshFramework0A33LiveActivitiesImplementationSetupC07defaultF0yyFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultStart", + "printedName": "defaultStart(_:attributes:content:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivitiesImplementationSetup(cm)defaultStart:attributes:content:", + "mangledName": "$s18PushwooshFramework0A33LiveActivitiesImplementationSetupC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "setPushToStartToken", @@ -159,42 +252,46 @@ } ] }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, - { - "kind": "Import", - "name": "ActivityKit", - "printedName": "ActivityKit", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityAttributes", - "printedName": "PushwooshLiveActivityAttributes", + "name": "DefaultLiveActivityAttributes", + "printedName": "DefaultLiveActivityAttributes", "children": [ { "kind": "Var", - "name": "pushwoosh", - "printedName": "pushwoosh", + "name": "data", + "printedName": "data", "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvp", "moduleName": "PushwooshFramework", - "protocolReq": true, + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -203,19 +300,30 @@ "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvg", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "get" }, { @@ -230,19 +338,30 @@ }, { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvs", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "set" }, { @@ -257,78 +376,29 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvM", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, "implicit": true, - "intro_iOS": "16.1", - "declAttributes": [ - "Available" - ], - "reqNewWitnessTableEntry": true, "accessorKind": "_modify" } ] - } - ], - "declKind": "Protocol", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP", - "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 : ActivityKit.ActivityAttributes, τ_0_0.ContentState : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", - "intro_iOS": "16.1", - "declAttributes": [ - "AccessControl", - "Available" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "ActivityAttributes", - "printedName": "ActivityAttributes", - "usr": "s:11ActivityKit0A10AttributesP", - "mangledName": "$s11ActivityKit0A10AttributesP" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshLiveActivityAttributeData", - "children": [ { "kind": "Var", - "name": "activityId", - "printedName": "activityId", + "name": "pushwoosh", + "printedName": "pushwoosh", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvp", "moduleName": "PushwooshFramework", "declAttributes": [ "HasStorage", @@ -343,14 +413,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvg", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "get" @@ -367,14 +437,14 @@ }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvs", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "set" @@ -391,8 +461,8 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvM", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "_modify" @@ -400,59 +470,439 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(activityId:)", + "kind": "TypeDecl", + "name": "ContentState", + "printedName": "ContentState", "children": [ { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", - "moduleName": "PushwooshFramework", - "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "create", - "printedName": "create(activityId:)", - "children": [ + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "kind": "Var", + "name": "pushwoosh", + "printedName": "pushwoosh", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4fromAEs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + }, + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV2eeoiySbAE_AEtFZ", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV2eeoiySbAE_AEtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", + "declKind": "Struct", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV", "moduleName": "PushwooshFramework", - "static": true, "declAttributes": [ "AccessControl" ], - "funcSelfKind": "NonMutating" + "conformances": [ + { + "kind": "Conformance", + "name": "PushwooshLiveActivityContentState", + "printedName": "PushwooshLiveActivityContentState", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] }, { "kind": "Constructor", @@ -461,9 +911,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "DefaultLiveActivityAttributes", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV" }, { "kind": "TypeNominal", @@ -473,8 +923,8 @@ } ], "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4fromACs7Decoder_p_tKcfc", "moduleName": "PushwooshFramework", "implicit": true, "throwing": true, @@ -498,8 +948,8 @@ } ], "declKind": "Func", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV6encode2toys7Encoder_p_tKF", "moduleName": "PushwooshFramework", "implicit": true, "throwing": true, @@ -507,13 +957,43 @@ } ], "declKind": "Struct", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV", "moduleName": "PushwooshFramework", "declAttributes": [ - "AccessControl" + "AccessControl", + "RawDocComment" ], "conformances": [ + { + "kind": "Conformance", + "name": "PushwooshLiveActivityAttributes", + "printedName": "PushwooshLiveActivityAttributes", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP" + }, + { + "kind": "Conformance", + "name": "ActivityAttributes", + "printedName": "ActivityAttributes", + "children": [ + { + "kind": "TypeWitness", + "name": "ContentState", + "printedName": "ContentState", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + } + ] + } + ], + "usr": "s:11ActivityKit0A10AttributesP", + "mangledName": "$s11ActivityKit0A10AttributesP" + }, { "kind": "Conformance", "name": "Decodable", @@ -530,10 +1010,24 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, + { + "kind": "Import", + "name": "ActivityKit", + "printedName": "ActivityKit", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityContentState", - "printedName": "PushwooshLiveActivityContentState", + "name": "PushwooshLiveActivityAttributes", + "printedName": "PushwooshLiveActivityAttributes", "children": [ { "kind": "Var", @@ -542,22 +1036,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", "moduleName": "PushwooshFramework", "protocolReq": true, "accessors": [ @@ -568,25 +1054,17 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "reqNewWitnessTableEntry": true, "accessorKind": "get" @@ -603,25 +1081,17 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "reqNewWitnessTableEntry": true, "accessorKind": "set" @@ -638,11 +1108,11 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "implicit": true, "intro_iOS": "16.1", @@ -656,11 +1126,11 @@ } ], "declKind": "Protocol", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 : Swift.Decodable, τ_0_0 : Swift.Encodable, τ_0_0 : Swift.Hashable>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 : ActivityKit.ActivityAttributes, τ_0_0.ContentState : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", "intro_iOS": "16.1", "declAttributes": [ "AccessControl", @@ -669,17 +1139,10 @@ "conformances": [ { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "ActivityAttributes", + "printedName": "ActivityAttributes", + "usr": "s:11ActivityKit0A10AttributesP", + "mangledName": "$s11ActivityKit0A10AttributesP" }, { "kind": "Conformance", @@ -699,77 +1162,30 @@ }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshLiveActivityContentStateData", + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshLiveActivityAttributeData", "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", - "moduleName": "PushwooshFramework", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", - "moduleName": "PushwooshFramework", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "activityId", + "printedName": "activityId", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", "moduleName": "PushwooshFramework", - "implicit": true, + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -778,84 +1194,1575 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", "moduleName": "PushwooshFramework", "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:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" } ] }, { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(activityId:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" }, { "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", "moduleName": "PushwooshFramework", - "implicit": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" }, { "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "name": "create", + "printedName": "create(activityId:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" }, { "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", "moduleName": "PushwooshFramework", "static": true, - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "funcSelfKind": "NonMutating" - } - ], + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivityContentState", + "printedName": "PushwooshLiveActivityContentState", + "children": [ + { + "kind": "Var", + "name": "pushwoosh", + "printedName": "pushwoosh", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "moduleName": "PushwooshFramework", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "implicit": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Available" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 : Swift.Decodable, τ_0_0 : Swift.Encodable, τ_0_0 : Swift.Hashable>", + "sugared_genericSig": "", + "intro_iOS": "16.1", + "declAttributes": [ + "AccessControl", + "Available" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshLiveActivityContentStateData", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + }, + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivities", + "printedName": "PushwooshLiveActivities", + "children": [ + { + "kind": "Function", + "name": "setup", + "printedName": "setup(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "τ_0_0.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ] + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultSetup", + "printedName": "defaultSetup()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultStart", + "printedName": "defaultStart(_:attributes:content:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivities", + "printedName": "PushwooshFramework.PushwooshLiveActivities", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities" + } + ], + "declKind": "Constructor", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(im)init", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesCACycfc", + "moduleName": "PushwooshFramework", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "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": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "AnyCodable", + "printedName": "AnyCodable", + "children": [ + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "fixedbinaryorder": 0, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "asBool", + "printedName": "asBool()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asInt", + "printedName": "asInt()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDouble", + "printedName": "asDouble()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asString", + "printedName": "asString()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asArray", + "printedName": "asArray()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDict", + "printedName": "asDict()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "τ_0_0?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableVyACxSgclufc", + "mangledName": "$s18PushwooshFramework10AnyCodableVyACxSgclufc", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(nilLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(booleanLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(integerLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(floatLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(extendedGraphemeClusterLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(arrayLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(dictionaryLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[(Swift.AnyHashable, Any)]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.AnyHashable, Any)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "debugDescription", + "printedName": "debugDescription", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivp", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivg", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], "declKind": "Struct", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV", + "usr": "s:18PushwooshFramework10AnyCodableV", + "mangledName": "$s18PushwooshFramework10AnyCodableV", "moduleName": "PushwooshFramework", "declAttributes": [ - "AccessControl" + "AccessControl", + "Frozen" ], "conformances": [ { @@ -872,162 +2779,249 @@ "usr": "s:SE", "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, { "kind": "Conformance", "name": "Equatable", "printedName": "Equatable", "usr": "s:SQ", "mangledName": "$sSQ" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, - { - "kind": "TypeDecl", - "name": "PushwooshLiveActivities", - "printedName": "PushwooshLiveActivities", - "children": [ + }, { - "kind": "Function", - "name": "setup", - "printedName": "setup(_:)", + "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": "ExpressibleByNilLiteral", + "printedName": "ExpressibleByNilLiteral", + "usr": "s:s23ExpressibleByNilLiteralP", + "mangledName": "$ss23ExpressibleByNilLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByBooleanLiteral", + "printedName": "ExpressibleByBooleanLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "τ_0_0.Type", + "kind": "TypeWitness", + "name": "BooleanLiteralType", + "printedName": "BooleanLiteralType", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ] } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", - "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "static": true, - "intro_iOS": "16.1", - "declAttributes": [ - "Final", - "AccessControl", - "Available", - "RawDocComment" - ], - "funcSelfKind": "NonMutating" + "usr": "s:s27ExpressibleByBooleanLiteralP", + "mangledName": "$ss27ExpressibleByBooleanLiteralP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", "children": [ { - "kind": "TypeNominal", - "name": "PushwooshLiveActivities", - "printedName": "PushwooshFramework.PushwooshLiveActivities", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities" + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] } ], - "declKind": "Constructor", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(im)init", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesCACycfc", - "moduleName": "PushwooshFramework", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Override" + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByFloatLiteral", + "printedName": "ExpressibleByFloatLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "FloatLiteralType", + "printedName": "FloatLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + } ], - "init_kind": "Designated" - } - ], - "declKind": "Class", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC", - "moduleName": "PushwooshFramework", - "declAttributes": [ - "AccessControl", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ + "usr": "s:s25ExpressibleByFloatLiteralP", + "mangledName": "$ss25ExpressibleByFloatLiteralP" + }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" }, { "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" }, { "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" }, { "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "ExpressibleByDictionaryLiteral", + "printedName": "ExpressibleByDictionaryLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "Key", + "printedName": "Key", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Value", + "printedName": "Value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s30ExpressibleByDictionaryLiteralP", + "mangledName": "$ss30ExpressibleByDictionaryLiteralP" }, { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" } ] } diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.private.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.private.swiftinterface index 5dd9281..25467fb 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -9,11 +9,32 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivitiesImplementationSetup : ObjectiveC.NSObject { + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + @objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @available(iOS 17.2, *) public static func setPushToStartToken(_ activityType: Attributes.Type, withToken: Swift.String) where Attributes : ActivityKit.ActivityAttributes @objc override dynamic public init() @objc deinit } +public struct DefaultLiveActivityAttributes : PushwooshFramework.PushwooshLiveActivityAttributes { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData + public struct ContentState : PushwooshFramework.PushwooshLiveActivityContentState { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityContentStateData? + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: PushwooshFramework.DefaultLiveActivityAttributes.ContentState, b: PushwooshFramework.DefaultLiveActivityAttributes.ContentState) -> Swift.Bool + public func encode(to encoder: any Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public init(from decoder: any Swift.Decoder) throws + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} @available(iOS 16.1, *) public protocol PushwooshLiveActivityAttributes : ActivityKit.ActivityAttributes where Self.ContentState : PushwooshFramework.PushwooshLiveActivityContentState { var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData { get set } @@ -41,6 +62,75 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject { @available(iOS 16.1, *) public static func setup(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @objc override dynamic public init() @objc deinit } +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftdoc b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftdoc index 6082046..ec15ac8 100644 Binary files a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftdoc and b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftinterface index 5dd9281..25467fb 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios.swiftinterface @@ -9,11 +9,32 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivitiesImplementationSetup : ObjectiveC.NSObject { + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + @objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @available(iOS 17.2, *) public static func setPushToStartToken(_ activityType: Attributes.Type, withToken: Swift.String) where Attributes : ActivityKit.ActivityAttributes @objc override dynamic public init() @objc deinit } +public struct DefaultLiveActivityAttributes : PushwooshFramework.PushwooshLiveActivityAttributes { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData + public struct ContentState : PushwooshFramework.PushwooshLiveActivityContentState { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityContentStateData? + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: PushwooshFramework.DefaultLiveActivityAttributes.ContentState, b: PushwooshFramework.DefaultLiveActivityAttributes.ContentState) -> Swift.Bool + public func encode(to encoder: any Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public init(from decoder: any Swift.Decoder) throws + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} @available(iOS 16.1, *) public protocol PushwooshLiveActivityAttributes : ActivityKit.ActivityAttributes where Self.ContentState : PushwooshFramework.PushwooshLiveActivityContentState { var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData { get set } @@ -41,6 +62,75 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject { @available(iOS 16.1, *) public static func setup(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @objc override dynamic public init() @objc deinit } +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/PushwooshFramework b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/PushwooshFramework index 6665c90..3a6a8b3 100755 Binary files a/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/PushwooshFramework and b/XCFramework/PushwooshFramework.xcframework/ios-arm64/PushwooshFramework.framework/PushwooshFramework differ diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h index 4e29b42..90aa578 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Headers/PushwooshFramework.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.7.9" +#define PUSHWOOSH_VERSION @"6.7.10" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.abi.json b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.abi.json index dc109fc..3ce1031 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.abi.json +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -3,6 +3,1057 @@ "kind": "Root", "name": "TopLevel", "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "AnyCodable", + "printedName": "AnyCodable", + "children": [ + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "fixedbinaryorder": 0, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "asBool", + "printedName": "asBool()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asInt", + "printedName": "asInt()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDouble", + "printedName": "asDouble()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asString", + "printedName": "asString()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asArray", + "printedName": "asArray()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDict", + "printedName": "asDict()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "τ_0_0?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableVyACxSgclufc", + "mangledName": "$s18PushwooshFramework10AnyCodableVyACxSgclufc", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(nilLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(booleanLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(integerLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(floatLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(extendedGraphemeClusterLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(arrayLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(dictionaryLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[(Swift.AnyHashable, Any)]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.AnyHashable, Any)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "debugDescription", + "printedName": "debugDescription", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivp", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivg", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework10AnyCodableV", + "mangledName": "$s18PushwooshFramework10AnyCodableV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "Frozen" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "ExpressibleByNilLiteral", + "printedName": "ExpressibleByNilLiteral", + "usr": "s:s23ExpressibleByNilLiteralP", + "mangledName": "$ss23ExpressibleByNilLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByBooleanLiteral", + "printedName": "ExpressibleByBooleanLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "BooleanLiteralType", + "printedName": "BooleanLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "usr": "s:s27ExpressibleByBooleanLiteralP", + "mangledName": "$ss27ExpressibleByBooleanLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByFloatLiteral", + "printedName": "ExpressibleByFloatLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "FloatLiteralType", + "printedName": "FloatLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + } + ], + "usr": "s:s25ExpressibleByFloatLiteralP", + "mangledName": "$ss25ExpressibleByFloatLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByDictionaryLiteral", + "printedName": "ExpressibleByDictionaryLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "Key", + "printedName": "Key", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Value", + "printedName": "Value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s30ExpressibleByDictionaryLiteralP", + "mangledName": "$ss30ExpressibleByDictionaryLiteralP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + } + ], "json_format_version": 8 }, "ConstValues": [] diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface index a2a48d2..06d2583 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -1,8 +1,74 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) // swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name PushwooshFramework +import Foundation @_exported import PushwooshFramework import Swift import _Concurrency import _StringProcessing import _SwiftConcurrencyShims +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.swiftinterface index a2a48d2..06d2583 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -1,8 +1,74 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) // swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name PushwooshFramework +import Foundation @_exported import PushwooshFramework import Swift import _Concurrency import _StringProcessing import _SwiftConcurrencyShims +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.abi.json b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.abi.json index dc109fc..3ce1031 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.abi.json +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -3,6 +3,1057 @@ "kind": "Root", "name": "TopLevel", "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "AnyCodable", + "printedName": "AnyCodable", + "children": [ + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "fixedbinaryorder": 0, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "asBool", + "printedName": "asBool()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asInt", + "printedName": "asInt()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDouble", + "printedName": "asDouble()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asString", + "printedName": "asString()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asArray", + "printedName": "asArray()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDict", + "printedName": "asDict()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "τ_0_0?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableVyACxSgclufc", + "mangledName": "$s18PushwooshFramework10AnyCodableVyACxSgclufc", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(nilLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(booleanLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(integerLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(floatLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(extendedGraphemeClusterLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(arrayLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(dictionaryLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[(Swift.AnyHashable, Any)]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.AnyHashable, Any)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "debugDescription", + "printedName": "debugDescription", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivp", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivg", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework10AnyCodableV", + "mangledName": "$s18PushwooshFramework10AnyCodableV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "Frozen" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "ExpressibleByNilLiteral", + "printedName": "ExpressibleByNilLiteral", + "usr": "s:s23ExpressibleByNilLiteralP", + "mangledName": "$ss23ExpressibleByNilLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByBooleanLiteral", + "printedName": "ExpressibleByBooleanLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "BooleanLiteralType", + "printedName": "BooleanLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "usr": "s:s27ExpressibleByBooleanLiteralP", + "mangledName": "$ss27ExpressibleByBooleanLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByFloatLiteral", + "printedName": "ExpressibleByFloatLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "FloatLiteralType", + "printedName": "FloatLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + } + ], + "usr": "s:s25ExpressibleByFloatLiteralP", + "mangledName": "$ss25ExpressibleByFloatLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByDictionaryLiteral", + "printedName": "ExpressibleByDictionaryLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "Key", + "printedName": "Key", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Value", + "printedName": "Value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s30ExpressibleByDictionaryLiteralP", + "mangledName": "$ss30ExpressibleByDictionaryLiteralP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + } + ], "json_format_version": 8 }, "ConstValues": [] diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface index 915da93..fc1a271 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -1,8 +1,74 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) // swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name PushwooshFramework +import Foundation @_exported import PushwooshFramework import Swift import _Concurrency import _StringProcessing import _SwiftConcurrencyShims +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index 915da93..fc1a271 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -1,8 +1,74 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) // swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name PushwooshFramework +import Foundation @_exported import PushwooshFramework import Swift import _Concurrency import _StringProcessing import _SwiftConcurrencyShims +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/PushwooshFramework b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/PushwooshFramework index 056b012..025b431 100755 Binary files a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/PushwooshFramework and b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshFramework.framework/Versions/A/PushwooshFramework differ diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h index cde3a60..d5a8fb1 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework-Swift.h @@ -277,6 +277,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif +@import Foundation; @import ObjectiveC; #endif @@ -304,9 +305,11 @@ SWIFT_CLASS("_TtC18PushwooshFramework23PushwooshLiveActivities") - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end +@class NSString; SWIFT_CLASS("_TtC18PushwooshFramework42PushwooshLiveActivitiesImplementationSetup") @interface PushwooshLiveActivitiesImplementationSetup : NSObject ++ (void)defaultStart:(NSString * _Nonnull)activityId attributes:(NSDictionary * _Nonnull)attributes content:(NSDictionary * _Nonnull)content SWIFT_AVAILABILITY(ios,introduced=16.1); - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end @@ -597,6 +600,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif +@import Foundation; @import ObjectiveC; #endif @@ -624,9 +628,11 @@ SWIFT_CLASS("_TtC18PushwooshFramework23PushwooshLiveActivities") - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end +@class NSString; SWIFT_CLASS("_TtC18PushwooshFramework42PushwooshLiveActivitiesImplementationSetup") @interface PushwooshLiveActivitiesImplementationSetup : NSObject ++ (void)defaultStart:(NSString * _Nonnull)activityId attributes:(NSDictionary * _Nonnull)attributes content:(NSDictionary * _Nonnull)content SWIFT_AVAILABILITY(ios,introduced=16.1); - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework.h b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework.h index 4e29b42..90aa578 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework.h +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Headers/PushwooshFramework.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.7.9" +#define PUSHWOOSH_VERSION @"6.7.10" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.abi.json b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.abi.json index ab066de..b6f4cac 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -23,6 +23,99 @@ "name": "PushwooshLiveActivitiesImplementationSetup", "printedName": "PushwooshLiveActivitiesImplementationSetup", "children": [ + { + "kind": "Function", + "name": "defaultSetup", + "printedName": "defaultSetup()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A33LiveActivitiesImplementationSetupC07defaultF0yyFZ", + "mangledName": "$s18PushwooshFramework0A33LiveActivitiesImplementationSetupC07defaultF0yyFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultStart", + "printedName": "defaultStart(_:attributes:content:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivitiesImplementationSetup(cm)defaultStart:attributes:content:", + "mangledName": "$s18PushwooshFramework0A33LiveActivitiesImplementationSetupC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "setPushToStartToken", @@ -159,42 +252,46 @@ } ] }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, - { - "kind": "Import", - "name": "ActivityKit", - "printedName": "ActivityKit", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityAttributes", - "printedName": "PushwooshLiveActivityAttributes", + "name": "DefaultLiveActivityAttributes", + "printedName": "DefaultLiveActivityAttributes", "children": [ { "kind": "Var", - "name": "pushwoosh", - "printedName": "pushwoosh", + "name": "data", + "printedName": "data", "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvp", "moduleName": "PushwooshFramework", - "protocolReq": true, + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -203,19 +300,30 @@ "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvg", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "get" }, { @@ -230,19 +338,30 @@ }, { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvs", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "set" }, { @@ -257,78 +376,29 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvM", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, "implicit": true, - "intro_iOS": "16.1", - "declAttributes": [ - "Available" - ], - "reqNewWitnessTableEntry": true, "accessorKind": "_modify" } ] - } - ], - "declKind": "Protocol", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP", - "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 : ActivityKit.ActivityAttributes, τ_0_0.ContentState : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", - "intro_iOS": "16.1", - "declAttributes": [ - "AccessControl", - "Available" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "ActivityAttributes", - "printedName": "ActivityAttributes", - "usr": "s:11ActivityKit0A10AttributesP", - "mangledName": "$s11ActivityKit0A10AttributesP" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshLiveActivityAttributeData", - "children": [ { "kind": "Var", - "name": "activityId", - "printedName": "activityId", + "name": "pushwoosh", + "printedName": "pushwoosh", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvp", "moduleName": "PushwooshFramework", "declAttributes": [ "HasStorage", @@ -343,14 +413,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvg", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "get" @@ -367,14 +437,14 @@ }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvs", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "set" @@ -391,8 +461,8 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvM", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "_modify" @@ -400,59 +470,439 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(activityId:)", + "kind": "TypeDecl", + "name": "ContentState", + "printedName": "ContentState", "children": [ { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", - "moduleName": "PushwooshFramework", - "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "create", - "printedName": "create(activityId:)", - "children": [ + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "kind": "Var", + "name": "pushwoosh", + "printedName": "pushwoosh", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4fromAEs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + }, + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV2eeoiySbAE_AEtFZ", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV2eeoiySbAE_AEtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", + "declKind": "Struct", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV", "moduleName": "PushwooshFramework", - "static": true, "declAttributes": [ "AccessControl" ], - "funcSelfKind": "NonMutating" + "conformances": [ + { + "kind": "Conformance", + "name": "PushwooshLiveActivityContentState", + "printedName": "PushwooshLiveActivityContentState", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] }, { "kind": "Constructor", @@ -461,9 +911,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "DefaultLiveActivityAttributes", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV" }, { "kind": "TypeNominal", @@ -473,8 +923,8 @@ } ], "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4fromACs7Decoder_p_tKcfc", "moduleName": "PushwooshFramework", "implicit": true, "throwing": true, @@ -498,8 +948,8 @@ } ], "declKind": "Func", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV6encode2toys7Encoder_p_tKF", "moduleName": "PushwooshFramework", "implicit": true, "throwing": true, @@ -507,13 +957,43 @@ } ], "declKind": "Struct", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV", "moduleName": "PushwooshFramework", "declAttributes": [ - "AccessControl" + "AccessControl", + "RawDocComment" ], "conformances": [ + { + "kind": "Conformance", + "name": "PushwooshLiveActivityAttributes", + "printedName": "PushwooshLiveActivityAttributes", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP" + }, + { + "kind": "Conformance", + "name": "ActivityAttributes", + "printedName": "ActivityAttributes", + "children": [ + { + "kind": "TypeWitness", + "name": "ContentState", + "printedName": "ContentState", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + } + ] + } + ], + "usr": "s:11ActivityKit0A10AttributesP", + "mangledName": "$s11ActivityKit0A10AttributesP" + }, { "kind": "Conformance", "name": "Decodable", @@ -530,10 +1010,24 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, + { + "kind": "Import", + "name": "ActivityKit", + "printedName": "ActivityKit", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityContentState", - "printedName": "PushwooshLiveActivityContentState", + "name": "PushwooshLiveActivityAttributes", + "printedName": "PushwooshLiveActivityAttributes", "children": [ { "kind": "Var", @@ -542,22 +1036,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", "moduleName": "PushwooshFramework", "protocolReq": true, "accessors": [ @@ -568,25 +1054,17 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "reqNewWitnessTableEntry": true, "accessorKind": "get" @@ -603,25 +1081,17 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "reqNewWitnessTableEntry": true, "accessorKind": "set" @@ -638,11 +1108,11 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "implicit": true, "intro_iOS": "16.1", @@ -656,11 +1126,11 @@ } ], "declKind": "Protocol", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 : Swift.Decodable, τ_0_0 : Swift.Encodable, τ_0_0 : Swift.Hashable>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 : ActivityKit.ActivityAttributes, τ_0_0.ContentState : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", "intro_iOS": "16.1", "declAttributes": [ "AccessControl", @@ -669,17 +1139,10 @@ "conformances": [ { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "ActivityAttributes", + "printedName": "ActivityAttributes", + "usr": "s:11ActivityKit0A10AttributesP", + "mangledName": "$s11ActivityKit0A10AttributesP" }, { "kind": "Conformance", @@ -699,77 +1162,30 @@ }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshLiveActivityContentStateData", + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshLiveActivityAttributeData", "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", - "moduleName": "PushwooshFramework", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", - "moduleName": "PushwooshFramework", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "activityId", + "printedName": "activityId", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", "moduleName": "PushwooshFramework", - "implicit": true, + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -778,84 +1194,1575 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", "moduleName": "PushwooshFramework", "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:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" } ] }, { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(activityId:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" }, { "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", "moduleName": "PushwooshFramework", - "implicit": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" }, { "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "name": "create", + "printedName": "create(activityId:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" }, { "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", "moduleName": "PushwooshFramework", "static": true, - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "funcSelfKind": "NonMutating" - } - ], + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivityContentState", + "printedName": "PushwooshLiveActivityContentState", + "children": [ + { + "kind": "Var", + "name": "pushwoosh", + "printedName": "pushwoosh", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "moduleName": "PushwooshFramework", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "implicit": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Available" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 : Swift.Decodable, τ_0_0 : Swift.Encodable, τ_0_0 : Swift.Hashable>", + "sugared_genericSig": "", + "intro_iOS": "16.1", + "declAttributes": [ + "AccessControl", + "Available" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshLiveActivityContentStateData", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + }, + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivities", + "printedName": "PushwooshLiveActivities", + "children": [ + { + "kind": "Function", + "name": "setup", + "printedName": "setup(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "τ_0_0.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ] + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultSetup", + "printedName": "defaultSetup()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultStart", + "printedName": "defaultStart(_:attributes:content:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivities", + "printedName": "PushwooshFramework.PushwooshLiveActivities", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities" + } + ], + "declKind": "Constructor", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(im)init", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesCACycfc", + "moduleName": "PushwooshFramework", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "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": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "AnyCodable", + "printedName": "AnyCodable", + "children": [ + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "fixedbinaryorder": 0, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "asBool", + "printedName": "asBool()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asInt", + "printedName": "asInt()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDouble", + "printedName": "asDouble()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asString", + "printedName": "asString()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asArray", + "printedName": "asArray()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDict", + "printedName": "asDict()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "τ_0_0?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableVyACxSgclufc", + "mangledName": "$s18PushwooshFramework10AnyCodableVyACxSgclufc", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(nilLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(booleanLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(integerLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(floatLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(extendedGraphemeClusterLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(arrayLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(dictionaryLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[(Swift.AnyHashable, Any)]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.AnyHashable, Any)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "debugDescription", + "printedName": "debugDescription", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivp", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivg", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], "declKind": "Struct", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV", + "usr": "s:18PushwooshFramework10AnyCodableV", + "mangledName": "$s18PushwooshFramework10AnyCodableV", "moduleName": "PushwooshFramework", "declAttributes": [ - "AccessControl" + "AccessControl", + "Frozen" ], "conformances": [ { @@ -872,162 +2779,249 @@ "usr": "s:SE", "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, { "kind": "Conformance", "name": "Equatable", "printedName": "Equatable", "usr": "s:SQ", "mangledName": "$sSQ" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, - { - "kind": "TypeDecl", - "name": "PushwooshLiveActivities", - "printedName": "PushwooshLiveActivities", - "children": [ + }, { - "kind": "Function", - "name": "setup", - "printedName": "setup(_:)", + "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": "ExpressibleByNilLiteral", + "printedName": "ExpressibleByNilLiteral", + "usr": "s:s23ExpressibleByNilLiteralP", + "mangledName": "$ss23ExpressibleByNilLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByBooleanLiteral", + "printedName": "ExpressibleByBooleanLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "τ_0_0.Type", + "kind": "TypeWitness", + "name": "BooleanLiteralType", + "printedName": "BooleanLiteralType", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ] } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", - "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "static": true, - "intro_iOS": "16.1", - "declAttributes": [ - "Final", - "AccessControl", - "Available", - "RawDocComment" - ], - "funcSelfKind": "NonMutating" + "usr": "s:s27ExpressibleByBooleanLiteralP", + "mangledName": "$ss27ExpressibleByBooleanLiteralP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", "children": [ { - "kind": "TypeNominal", - "name": "PushwooshLiveActivities", - "printedName": "PushwooshFramework.PushwooshLiveActivities", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities" + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] } ], - "declKind": "Constructor", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(im)init", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesCACycfc", - "moduleName": "PushwooshFramework", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Override" + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByFloatLiteral", + "printedName": "ExpressibleByFloatLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "FloatLiteralType", + "printedName": "FloatLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + } ], - "init_kind": "Designated" - } - ], - "declKind": "Class", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC", - "moduleName": "PushwooshFramework", - "declAttributes": [ - "AccessControl", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ + "usr": "s:s25ExpressibleByFloatLiteralP", + "mangledName": "$ss25ExpressibleByFloatLiteralP" + }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" }, { "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" }, { "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" }, { "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "ExpressibleByDictionaryLiteral", + "printedName": "ExpressibleByDictionaryLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "Key", + "printedName": "Key", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Value", + "printedName": "Value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s30ExpressibleByDictionaryLiteralP", + "mangledName": "$ss30ExpressibleByDictionaryLiteralP" }, { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" } ] } diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index a56232b..fa31641 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -9,11 +9,32 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivitiesImplementationSetup : ObjectiveC.NSObject { + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + @objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @available(iOS 17.2, *) public static func setPushToStartToken(_ activityType: Attributes.Type, withToken: Swift.String) where Attributes : ActivityKit.ActivityAttributes @objc override dynamic public init() @objc deinit } +public struct DefaultLiveActivityAttributes : PushwooshFramework.PushwooshLiveActivityAttributes { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData + public struct ContentState : PushwooshFramework.PushwooshLiveActivityContentState { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityContentStateData? + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: PushwooshFramework.DefaultLiveActivityAttributes.ContentState, b: PushwooshFramework.DefaultLiveActivityAttributes.ContentState) -> Swift.Bool + public func encode(to encoder: any Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public init(from decoder: any Swift.Decoder) throws + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} @available(iOS 16.1, *) public protocol PushwooshLiveActivityAttributes : ActivityKit.ActivityAttributes where Self.ContentState : PushwooshFramework.PushwooshLiveActivityContentState { var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData { get set } @@ -41,6 +62,75 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject { @available(iOS 16.1, *) public static func setup(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @objc override dynamic public init() @objc deinit } +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 71e17fe..8a035b2 100644 Binary files a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface index a56232b..fa31641 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -9,11 +9,32 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivitiesImplementationSetup : ObjectiveC.NSObject { + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + @objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @available(iOS 17.2, *) public static func setPushToStartToken(_ activityType: Attributes.Type, withToken: Swift.String) where Attributes : ActivityKit.ActivityAttributes @objc override dynamic public init() @objc deinit } +public struct DefaultLiveActivityAttributes : PushwooshFramework.PushwooshLiveActivityAttributes { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData + public struct ContentState : PushwooshFramework.PushwooshLiveActivityContentState { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityContentStateData? + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: PushwooshFramework.DefaultLiveActivityAttributes.ContentState, b: PushwooshFramework.DefaultLiveActivityAttributes.ContentState) -> Swift.Bool + public func encode(to encoder: any Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public init(from decoder: any Swift.Decoder) throws + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} @available(iOS 16.1, *) public protocol PushwooshLiveActivityAttributes : ActivityKit.ActivityAttributes where Self.ContentState : PushwooshFramework.PushwooshLiveActivityContentState { var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData { get set } @@ -41,6 +62,75 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject { @available(iOS 16.1, *) public static func setup(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @objc override dynamic public init() @objc deinit } +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json index ab066de..b6f4cac 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -23,6 +23,99 @@ "name": "PushwooshLiveActivitiesImplementationSetup", "printedName": "PushwooshLiveActivitiesImplementationSetup", "children": [ + { + "kind": "Function", + "name": "defaultSetup", + "printedName": "defaultSetup()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A33LiveActivitiesImplementationSetupC07defaultF0yyFZ", + "mangledName": "$s18PushwooshFramework0A33LiveActivitiesImplementationSetupC07defaultF0yyFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultStart", + "printedName": "defaultStart(_:attributes:content:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivitiesImplementationSetup(cm)defaultStart:attributes:content:", + "mangledName": "$s18PushwooshFramework0A33LiveActivitiesImplementationSetupC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "setPushToStartToken", @@ -159,42 +252,46 @@ } ] }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, - { - "kind": "Import", - "name": "ActivityKit", - "printedName": "ActivityKit", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityAttributes", - "printedName": "PushwooshLiveActivityAttributes", + "name": "DefaultLiveActivityAttributes", + "printedName": "DefaultLiveActivityAttributes", "children": [ { "kind": "Var", - "name": "pushwoosh", - "printedName": "pushwoosh", + "name": "data", + "printedName": "data", "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvp", "moduleName": "PushwooshFramework", - "protocolReq": true, + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -203,19 +300,30 @@ "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvg", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "get" }, { @@ -230,19 +338,30 @@ }, { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvs", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "set" }, { @@ -257,78 +376,29 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4dataSDySSAA10AnyCodableVGvM", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "protocolReq": true, "implicit": true, - "intro_iOS": "16.1", - "declAttributes": [ - "Available" - ], - "reqNewWitnessTableEntry": true, "accessorKind": "_modify" } ] - } - ], - "declKind": "Protocol", - "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", - "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP", - "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 : ActivityKit.ActivityAttributes, τ_0_0.ContentState : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", - "intro_iOS": "16.1", - "declAttributes": [ - "AccessControl", - "Available" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "ActivityAttributes", - "printedName": "ActivityAttributes", - "usr": "s:11ActivityKit0A10AttributesP", - "mangledName": "$s11ActivityKit0A10AttributesP" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshLiveActivityAttributeData", - "children": [ { "kind": "Var", - "name": "activityId", - "printedName": "activityId", + "name": "pushwoosh", + "printedName": "pushwoosh", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvp", "moduleName": "PushwooshFramework", "declAttributes": [ "HasStorage", @@ -343,14 +413,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvg", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "get" @@ -367,14 +437,14 @@ }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvs", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "set" @@ -391,8 +461,8 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV9pushwooshAA0adE13AttributeDataVvM", "moduleName": "PushwooshFramework", "implicit": true, "accessorKind": "_modify" @@ -400,59 +470,439 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(activityId:)", + "kind": "TypeDecl", + "name": "ContentState", + "printedName": "ContentState", "children": [ { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", - "moduleName": "PushwooshFramework", - "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "create", - "printedName": "create(activityId:)", - "children": [ + "kind": "Var", + "name": "data", + "printedName": "data", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4dataSDySSAA10AnyCodableVGvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "kind": "Var", + "name": "pushwoosh", + "printedName": "pushwoosh", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvs", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvM", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9pushwooshAA0adegH4DataVSgvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" + } + ] }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4fromAEs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivp", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivg", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + }, + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV2eeoiySbAE_AEtFZ", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV2eeoiySbAE_AEtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", + "declKind": "Struct", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV", "moduleName": "PushwooshFramework", - "static": true, "declAttributes": [ "AccessControl" ], - "funcSelfKind": "NonMutating" + "conformances": [ + { + "kind": "Conformance", + "name": "PushwooshLiveActivityContentState", + "printedName": "PushwooshLiveActivityContentState", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] }, { "kind": "Constructor", @@ -461,9 +911,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PushwooshLiveActivityAttributeData", - "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + "name": "DefaultLiveActivityAttributes", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV" }, { "kind": "TypeNominal", @@ -473,8 +923,8 @@ } ], "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV4fromACs7Decoder_p_tKcfc", "moduleName": "PushwooshFramework", "implicit": true, "throwing": true, @@ -498,8 +948,8 @@ } ], "declKind": "Func", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV6encode2toys7Encoder_p_tKF", "moduleName": "PushwooshFramework", "implicit": true, "throwing": true, @@ -507,13 +957,43 @@ } ], "declKind": "Struct", - "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV", - "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV", + "mangledName": "$s18PushwooshFramework29DefaultLiveActivityAttributesV", "moduleName": "PushwooshFramework", "declAttributes": [ - "AccessControl" + "AccessControl", + "RawDocComment" ], "conformances": [ + { + "kind": "Conformance", + "name": "PushwooshLiveActivityAttributes", + "printedName": "PushwooshLiveActivityAttributes", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP" + }, + { + "kind": "Conformance", + "name": "ActivityAttributes", + "printedName": "ActivityAttributes", + "children": [ + { + "kind": "TypeWitness", + "name": "ContentState", + "printedName": "ContentState", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentState", + "printedName": "PushwooshFramework.DefaultLiveActivityAttributes.ContentState", + "usr": "s:18PushwooshFramework29DefaultLiveActivityAttributesV12ContentStateV" + } + ] + } + ], + "usr": "s:11ActivityKit0A10AttributesP", + "mangledName": "$s11ActivityKit0A10AttributesP" + }, { "kind": "Conformance", "name": "Decodable", @@ -530,10 +1010,24 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, + { + "kind": "Import", + "name": "ActivityKit", + "printedName": "ActivityKit", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityContentState", - "printedName": "PushwooshLiveActivityContentState", + "name": "PushwooshLiveActivityAttributes", + "printedName": "PushwooshLiveActivityAttributes", "children": [ { "kind": "Var", @@ -542,22 +1036,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvp", "moduleName": "PushwooshFramework", "protocolReq": true, "accessors": [ @@ -568,25 +1054,17 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvg", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "reqNewWitnessTableEntry": true, "accessorKind": "get" @@ -603,25 +1081,17 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - } - ], - "usr": "s:Sq" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvs", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "reqNewWitnessTableEntry": true, "accessorKind": "set" @@ -638,11 +1108,11 @@ } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP9pushwooshAA0acD13AttributeDataVvM", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", "protocolReq": true, "implicit": true, "intro_iOS": "16.1", @@ -656,11 +1126,11 @@ } ], "declKind": "Protocol", - "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", - "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP", + "usr": "s:18PushwooshFramework0A22LiveActivityAttributesP", + "mangledName": "$s18PushwooshFramework0A22LiveActivityAttributesP", "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 : Swift.Decodable, τ_0_0 : Swift.Encodable, τ_0_0 : Swift.Hashable>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 : ActivityKit.ActivityAttributes, τ_0_0.ContentState : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", "intro_iOS": "16.1", "declAttributes": [ "AccessControl", @@ -669,17 +1139,10 @@ "conformances": [ { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "ActivityAttributes", + "printedName": "ActivityAttributes", + "usr": "s:11ActivityKit0A10AttributesP", + "mangledName": "$s11ActivityKit0A10AttributesP" }, { "kind": "Conformance", @@ -699,77 +1162,30 @@ }, { "kind": "TypeDecl", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshLiveActivityContentStateData", + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshLiveActivityAttributeData", "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", - "moduleName": "PushwooshFramework", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", - "moduleName": "PushwooshFramework", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "activityId", + "printedName": "activityId", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvp", "moduleName": "PushwooshFramework", - "implicit": true, + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -778,84 +1194,1575 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvg", "moduleName": "PushwooshFramework", "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:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvs", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdSSvM", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "_modify" } ] }, { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(activityId:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" }, { "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV10activityIdACSS_tcfc", "moduleName": "PushwooshFramework", - "implicit": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" }, { "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "name": "create", + "printedName": "create(activityId:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" }, { "kind": "TypeNominal", - "name": "PushwooshLiveActivityContentStateData", - "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6create10activityIdACSS_tFZ", "moduleName": "PushwooshFramework", "static": true, - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "funcSelfKind": "NonMutating" - } - ], + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityAttributeData", + "printedName": "PushwooshFramework.PushwooshLiveActivityAttributeData", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework0A25LiveActivityAttributeDataV", + "mangledName": "$s18PushwooshFramework0A25LiveActivityAttributeDataV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivityContentState", + "printedName": "PushwooshLiveActivityContentState", + "children": [ + { + "kind": "Var", + "name": "pushwoosh", + "printedName": "pushwoosh", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvp", + "moduleName": "PushwooshFramework", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvg", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData?", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvs", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP9pushwooshAA0acdeF4DataVSgvM", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityContentState>", + "sugared_genericSig": "", + "protocolReq": true, + "implicit": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Available" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "s:18PushwooshFramework0A24LiveActivityContentStateP", + "mangledName": "$s18PushwooshFramework0A24LiveActivityContentStateP", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 : Swift.Decodable, τ_0_0 : Swift.Encodable, τ_0_0 : Swift.Hashable>", + "sugared_genericSig": "", + "intro_iOS": "16.1", + "declAttributes": [ + "AccessControl", + "Available" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshLiveActivityContentStateData", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + }, + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivityContentStateData", + "printedName": "PushwooshFramework.PushwooshLiveActivityContentStateData", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV", + "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework" + }, + { + "kind": "TypeDecl", + "name": "PushwooshLiveActivities", + "printedName": "PushwooshLiveActivities", + "children": [ + { + "kind": "Function", + "name": "setup", + "printedName": "setup(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "τ_0_0.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ] + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", + "sugared_genericSig": "", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultSetup", + "printedName": "defaultSetup()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "defaultStart", + "printedName": "defaultStart(_:attributes:content:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "intro_iOS": "16.1", + "declAttributes": [ + "Final", + "AccessControl", + "Available", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "PushwooshLiveActivities", + "printedName": "PushwooshFramework.PushwooshLiveActivities", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities" + } + ], + "declKind": "Constructor", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(im)init", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesCACycfc", + "moduleName": "PushwooshFramework", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities", + "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "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": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "AnyCodable", + "printedName": "AnyCodable", + "children": [ + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "fixedbinaryorder": 0, + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV5valueypvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV5valueypvg", + "moduleName": "PushwooshFramework", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "asBool", + "printedName": "asBool()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asBoolSbSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asInt", + "printedName": "asInt()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV5asIntSiSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDouble", + "printedName": "asDouble()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Double?", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asDoubleSdSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asString", + "printedName": "asString()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV8asStringSSSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asArray", + "printedName": "asArray()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV7asArraySayACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "asDict", + "printedName": "asDict()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : PushwooshFramework.AnyCodable]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6asDictSDySSACGSgyF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "τ_0_0?", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableVyACxSgclufc", + "mangledName": "$s18PushwooshFramework10AnyCodableVyACxSgclufc", + "moduleName": "PushwooshFramework", + "genericSig": "<τ_0_0>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(nilLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV10nilLiteralACyt_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(booleanLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14booleanLiteralACSb_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(integerLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV14integerLiteralACSi_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(floatLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12floatLiteralACSd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(extendedGraphemeClusterLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV30extendedGraphemeClusterLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV13stringLiteralACSS_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(arrayLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Any]", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV12arrayLiteralACypd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(dictionaryLiteral:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[(Swift.AnyHashable, Any)]", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.AnyHashable, Any)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV17dictionaryLiteralACs0C8HashableV_yptd_tcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18PushwooshFramework10AnyCodableV4fromACs7Decoder_p_tKcfc", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "mangledName": "$s18PushwooshFramework10AnyCodableV6encode2toys7Encoder_p_tKF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + }, + { + "kind": "TypeNominal", + "name": "AnyCodable", + "printedName": "PushwooshFramework.AnyCodable", + "usr": "s:18PushwooshFramework10AnyCodableV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "mangledName": "$s18PushwooshFramework10AnyCodableV2eeoiySbAC_ACtFZ", + "moduleName": "PushwooshFramework", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV11descriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV11descriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "debugDescription", + "printedName": "debugDescription", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvp", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "mangledName": "$s18PushwooshFramework10AnyCodableV16debugDescriptionSSvg", + "moduleName": "PushwooshFramework", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "mangledName": "$s18PushwooshFramework10AnyCodableV4hash4intoys6HasherVz_tF", + "moduleName": "PushwooshFramework", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivp", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivp", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18PushwooshFramework10AnyCodableV9hashValueSivg", + "mangledName": "$s18PushwooshFramework10AnyCodableV9hashValueSivg", + "moduleName": "PushwooshFramework", + "implicit": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + } + ], "declKind": "Struct", - "usr": "s:18PushwooshFramework0A28LiveActivityContentStateDataV", - "mangledName": "$s18PushwooshFramework0A28LiveActivityContentStateDataV", + "usr": "s:18PushwooshFramework10AnyCodableV", + "mangledName": "$s18PushwooshFramework10AnyCodableV", "moduleName": "PushwooshFramework", "declAttributes": [ - "AccessControl" + "AccessControl", + "Frozen" ], "conformances": [ { @@ -872,162 +2779,249 @@ "usr": "s:SE", "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, { "kind": "Conformance", "name": "Equatable", "printedName": "Equatable", "usr": "s:SQ", "mangledName": "$sSQ" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "PushwooshFramework" - }, - { - "kind": "TypeDecl", - "name": "PushwooshLiveActivities", - "printedName": "PushwooshLiveActivities", - "children": [ + }, { - "kind": "Function", - "name": "setup", - "printedName": "setup(_:)", + "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": "ExpressibleByNilLiteral", + "printedName": "ExpressibleByNilLiteral", + "usr": "s:s23ExpressibleByNilLiteralP", + "mangledName": "$ss23ExpressibleByNilLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByBooleanLiteral", + "printedName": "ExpressibleByBooleanLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "τ_0_0.Type", + "kind": "TypeWitness", + "name": "BooleanLiteralType", + "printedName": "BooleanLiteralType", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ] } ], - "declKind": "Func", - "usr": "s:18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC5setupyyxmAA0aC18ActivityAttributesRzlFZ", - "moduleName": "PushwooshFramework", - "genericSig": "<τ_0_0 where τ_0_0 : PushwooshFramework.PushwooshLiveActivityAttributes>", - "sugared_genericSig": "", - "static": true, - "intro_iOS": "16.1", - "declAttributes": [ - "Final", - "AccessControl", - "Available", - "RawDocComment" - ], - "funcSelfKind": "NonMutating" + "usr": "s:s27ExpressibleByBooleanLiteralP", + "mangledName": "$ss27ExpressibleByBooleanLiteralP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", "children": [ { - "kind": "TypeNominal", - "name": "PushwooshLiveActivities", - "printedName": "PushwooshFramework.PushwooshLiveActivities", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities" + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] } ], - "declKind": "Constructor", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(im)init", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesCACycfc", - "moduleName": "PushwooshFramework", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Override" + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByFloatLiteral", + "printedName": "ExpressibleByFloatLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "FloatLiteralType", + "printedName": "FloatLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Double", + "printedName": "Swift.Double", + "usr": "s:Sd" + } + ] + } ], - "init_kind": "Designated" - } - ], - "declKind": "Class", - "usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities", - "mangledName": "$s18PushwooshFramework0A14LiveActivitiesC", - "moduleName": "PushwooshFramework", - "declAttributes": [ - "AccessControl", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ + "usr": "s:s25ExpressibleByFloatLiteralP", + "mangledName": "$ss25ExpressibleByFloatLiteralP" + }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" }, { "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" }, { "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + "name": "ExpressibleByStringInterpolation", + "printedName": "ExpressibleByStringInterpolation", + "children": [ + { + "kind": "TypeWitness", + "name": "StringInterpolation", + "printedName": "StringInterpolation", + "children": [ + { + "kind": "TypeNominal", + "name": "DefaultStringInterpolation", + "printedName": "Swift.DefaultStringInterpolation", + "usr": "s:s26DefaultStringInterpolationV" + } + ] + } + ], + "usr": "s:s32ExpressibleByStringInterpolationP", + "mangledName": "$ss32ExpressibleByStringInterpolationP" }, { "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + "name": "ExpressibleByArrayLiteral", + "printedName": "ExpressibleByArrayLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ArrayLiteralElement", + "printedName": "ArrayLiteralElement", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s25ExpressibleByArrayLiteralP", + "mangledName": "$ss25ExpressibleByArrayLiteralP" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "ExpressibleByDictionaryLiteral", + "printedName": "ExpressibleByDictionaryLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "Key", + "printedName": "Key", + "children": [ + { + "kind": "TypeNominal", + "name": "AnyHashable", + "printedName": "Swift.AnyHashable", + "usr": "s:s11AnyHashableV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Value", + "printedName": "Value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ] + } + ], + "usr": "s:s30ExpressibleByDictionaryLiteralP", + "mangledName": "$ss30ExpressibleByDictionaryLiteralP" }, { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" } ] } diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index 98a2789..72186ec 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -9,11 +9,32 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivitiesImplementationSetup : ObjectiveC.NSObject { + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + @objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @available(iOS 17.2, *) public static func setPushToStartToken(_ activityType: Attributes.Type, withToken: Swift.String) where Attributes : ActivityKit.ActivityAttributes @objc override dynamic public init() @objc deinit } +public struct DefaultLiveActivityAttributes : PushwooshFramework.PushwooshLiveActivityAttributes { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData + public struct ContentState : PushwooshFramework.PushwooshLiveActivityContentState { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityContentStateData? + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: PushwooshFramework.DefaultLiveActivityAttributes.ContentState, b: PushwooshFramework.DefaultLiveActivityAttributes.ContentState) -> Swift.Bool + public func encode(to encoder: any Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public init(from decoder: any Swift.Decoder) throws + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} @available(iOS 16.1, *) public protocol PushwooshLiveActivityAttributes : ActivityKit.ActivityAttributes where Self.ContentState : PushwooshFramework.PushwooshLiveActivityContentState { var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData { get set } @@ -41,6 +62,75 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject { @available(iOS 16.1, *) public static func setup(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @objc override dynamic public init() @objc deinit } +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 0aa0e7a..cca0ac1 100644 Binary files a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 98a2789..72186ec 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -9,11 +9,32 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivitiesImplementationSetup : ObjectiveC.NSObject { + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + @objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @available(iOS 17.2, *) public static func setPushToStartToken(_ activityType: Attributes.Type, withToken: Swift.String) where Attributes : ActivityKit.ActivityAttributes @objc override dynamic public init() @objc deinit } +public struct DefaultLiveActivityAttributes : PushwooshFramework.PushwooshLiveActivityAttributes { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData + public struct ContentState : PushwooshFramework.PushwooshLiveActivityContentState { + public var data: [Swift.String : PushwooshFramework.AnyCodable] + public var pushwoosh: PushwooshFramework.PushwooshLiveActivityContentStateData? + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: PushwooshFramework.DefaultLiveActivityAttributes.ContentState, b: PushwooshFramework.DefaultLiveActivityAttributes.ContentState) -> Swift.Bool + public func encode(to encoder: any Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public init(from decoder: any Swift.Decoder) throws + } + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws +} @available(iOS 16.1, *) public protocol PushwooshLiveActivityAttributes : ActivityKit.ActivityAttributes where Self.ContentState : PushwooshFramework.PushwooshLiveActivityContentState { var pushwoosh: PushwooshFramework.PushwooshLiveActivityAttributeData { get set } @@ -41,6 +62,75 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha @objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject { @available(iOS 16.1, *) public static func setup(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes + @available(iOS 16.1, *) + public static func defaultSetup() + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any]) @objc override dynamic public init() @objc deinit } +@frozen public struct AnyCodable : Swift.Codable { + public let value: Any + public func asBool() -> Swift.Bool? + public func asInt() -> Swift.Int? + public func asDouble() -> Swift.Double? + public func asString() -> Swift.String? + public func asArray() -> [PushwooshFramework.AnyCodable]? + public func asDict() -> [Swift.String : PushwooshFramework.AnyCodable]? + public init(_ value: T?) + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) + public init(from decoder: any Swift.Decoder) throws + public func encode(to encoder: any Swift.Encoder) throws +} +extension PushwooshFramework.AnyCodable : Swift.Equatable { + public static func == (lhs: PushwooshFramework.AnyCodable, rhs: PushwooshFramework.AnyCodable) -> Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByNilLiteral { +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByBooleanLiteral { + public typealias BooleanLiteralType = Swift.Bool +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByIntegerLiteral { + public typealias IntegerLiteralType = Swift.Int +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByFloatLiteral { + public typealias FloatLiteralType = Swift.Double +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringLiteral { + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByStringInterpolation { + public typealias StringInterpolation = Swift.DefaultStringInterpolation +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByArrayLiteral { + public typealias ArrayLiteralElement = Any +} +extension PushwooshFramework.AnyCodable : Swift.ExpressibleByDictionaryLiteral { + public typealias Key = Swift.AnyHashable + public typealias Value = Any +} +extension PushwooshFramework.AnyCodable : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/PushwooshFramework b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/PushwooshFramework index 3098aea..50aedb2 100755 Binary files a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/PushwooshFramework and b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/PushwooshFramework differ diff --git a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/_CodeSignature/CodeResources b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/_CodeSignature/CodeResources index f1cdb7c..6d82da9 100644 --- a/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/_CodeSignature/CodeResources +++ b/XCFramework/PushwooshFramework.xcframework/ios-arm64_x86_64-simulator/PushwooshFramework.framework/_CodeSignature/CodeResources @@ -54,11 +54,11 @@ Headers/PushwooshFramework-Swift.h - O+yqq8Znqx4k16egV6JyZ1DNi1U= + PBGo5lgWgU9JLXh1MnJBmpUyYGk= Headers/PushwooshFramework.h - qkzROmfR3qBlT0NeQBa/dvTlLMw= + L6I7TE+dxZAR4VcN+MH3/e7qjoI= Info.plist @@ -66,43 +66,43 @@ Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.abi.json - G4PUNSHpFHmYUBkElwdYzsD6XVY= + 9X03o9PjCz8kds6LvfzsM6hV5lE= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - 5deg2thZPdKw4Cqau1ppNHxCDmI= + mOF7EWtwOO4Au5fBSYY98pyr7GU= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc - qjHQZWz+LTbJq9w/pMm9sT22V0w= + XhDzZH281hBFaT0HoWNimYPWL34= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface - 5deg2thZPdKw4Cqau1ppNHxCDmI= + mOF7EWtwOO4Au5fBSYY98pyr7GU= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule - qNwANJEcKujD2HLjSE4pDvM2PLQ= + uDkU/t36SZkZmJ2193SnpPuTaiw= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json - G4PUNSHpFHmYUBkElwdYzsD6XVY= + 9X03o9PjCz8kds6LvfzsM6hV5lE= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - 6HSqjXmtQ1WRfOoTOMPY4P7phgk= + 2XzSOfp4RrbqgVW19mnzAAranFk= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - HeEQCxPhB7QYIMR+vWIqhA7Tw3s= + ejWcYEclw7KZjfG0bNKLYxTb014= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - 6HSqjXmtQ1WRfOoTOMPY4P7phgk= + 2XzSOfp4RrbqgVW19mnzAAranFk= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - RgSGcUZPnG7Wj7AIgUe8Uw0ZVyU= + oNhjmsbw7pNeSWrvAJF9pEXwKXU= Modules/module.modulemap @@ -203,84 +203,84 @@ hash2 - x85Bg5cdvk0Ny+MlHs5SbVUYBdJm3Tkr6sF9A/oSHKw= + 7j7q5ipwhzfVsrhOjW3EBf40q0LZUP9w1ZUQAMUrakA= Headers/PushwooshFramework.h hash2 - /3J+dlIl4FCBGG6Ja045NrzCBHKsVe0F9NJBgYdRNJs= + QIqJhXXDzUZr2lyWmlbyjixHGupCLxqIDXA37cV2eG0= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.abi.json hash2 - X/bI3TFM3ysXwVZcuKp0SgCSyQwNXtQ67hrLPjxZI84= + TsIs+XrMH2e99s8QGIezI8Mc5dUvOLhI48oH15+m78c= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - KP6aU8lgt4D5xTe6/kYkF8/KhjWUGm1XpSTXqXusJCk= + cQLmR7j47eeT9dNdo/Yn9RJTKsmjhBoYoglMwZO3WWQ= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - e0Gz7TDr3GaLikKLjf44pZ2IKlGR/CfQ3tid5+6tqSM= + G6woxCYWIx3rI00rsZQwqdLi2yNSjbJ7n0awY2RpXwg= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - KP6aU8lgt4D5xTe6/kYkF8/KhjWUGm1XpSTXqXusJCk= + cQLmR7j47eeT9dNdo/Yn9RJTKsmjhBoYoglMwZO3WWQ= Modules/PushwooshFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - gji2t8aTgKdKqXxPKIpSWaoEqoXw0rdVvHTgwMmpBro= + rLpFDjW6ykTrAJWqd3XVb/IQ5Jki0FzrCPbFwlMK57c= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - X/bI3TFM3ysXwVZcuKp0SgCSyQwNXtQ67hrLPjxZI84= + TsIs+XrMH2e99s8QGIezI8Mc5dUvOLhI48oH15+m78c= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - Ps3HzAZcSPBNnb9w2TfAankKYcTvQFqSPqiWALfKCtc= + QeEPboQ2loN1Pr8ND7aYwSs22EzII8iyJixzQYCIx5k= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - UH2HrpjrJYrfwPCab+FWujzBgHb4jWaekTuQFODGqtM= + cyYG37xejCdVx7dqZqgU6Lh+UVKskvKy09pBhRJYjUA= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - Ps3HzAZcSPBNnb9w2TfAankKYcTvQFqSPqiWALfKCtc= + QeEPboQ2loN1Pr8ND7aYwSs22EzII8iyJixzQYCIx5k= Modules/PushwooshFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - C+qI9bzLGwRYg1/v6kHMFLsyngP3G3aFVg3JyBvg8Zw= + KUdYIQ75kZCkYUhtP4qGGWPZMxf5Z8B0GbBF8AJ43N4= Modules/module.modulemap diff --git a/XCFramework/PushwooshGeozones.xcframework/Info.plist b/XCFramework/PushwooshGeozones.xcframework/Info.plist index 39dcbcb..1395365 100644 --- a/XCFramework/PushwooshGeozones.xcframework/Info.plist +++ b/XCFramework/PushwooshGeozones.xcframework/Info.plist @@ -6,23 +6,26 @@ BinaryPath - PushwooshGeozones.framework/PushwooshGeozones + PushwooshGeozones.framework/Versions/A/PushwooshGeozones LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-maccatalyst LibraryPath PushwooshGeozones.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + maccatalyst BinaryPath - PushwooshGeozones.framework/Versions/A/PushwooshGeozones + PushwooshGeozones.framework/PushwooshGeozones LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64_x86_64-simulator LibraryPath PushwooshGeozones.framework SupportedArchitectures @@ -33,24 +36,21 @@ SupportedPlatform ios SupportedPlatformVariant - maccatalyst + simulator BinaryPath PushwooshGeozones.framework/PushwooshGeozones LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath PushwooshGeozones.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/XCFramework/PushwooshInboxBundle.bundle/Info.plist b/XCFramework/PushwooshInboxBundle.bundle/Info.plist new file mode 100644 index 0000000..7370562 Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/Info.plist differ diff --git a/XCFramework/PushwooshInboxBundle.bundle/PWIInboxAttachmentViewController.nib b/XCFramework/PushwooshInboxBundle.bundle/PWIInboxAttachmentViewController.nib new file mode 100644 index 0000000..f01d6ff Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/PWIInboxAttachmentViewController.nib differ diff --git a/XCFramework/PushwooshInboxBundle.bundle/PWIInboxMessageViewCell.nib b/XCFramework/PushwooshInboxBundle.bundle/PWIInboxMessageViewCell.nib new file mode 100644 index 0000000..f88b3cc Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/PWIInboxMessageViewCell.nib differ diff --git a/XCFramework/PushwooshInboxBundle.bundle/PWIInboxViewController.nib b/XCFramework/PushwooshInboxBundle.bundle/PWIInboxViewController.nib new file mode 100644 index 0000000..7cbe993 Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/PWIInboxViewController.nib differ diff --git a/XCFramework/PushwooshInboxBundle.bundle/errorMessage@2x.png b/XCFramework/PushwooshInboxBundle.bundle/errorMessage@2x.png new file mode 100644 index 0000000..266c888 Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/errorMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxBundle.bundle/inbox_icon.png b/XCFramework/PushwooshInboxBundle.bundle/inbox_icon.png new file mode 100644 index 0000000..63b385b Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/inbox_icon.png differ diff --git a/XCFramework/PushwooshInboxBundle.bundle/noMessage@2x.png b/XCFramework/PushwooshInboxBundle.bundle/noMessage@2x.png new file mode 100644 index 0000000..06187c4 Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/noMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxBundle.bundle/unread.png b/XCFramework/PushwooshInboxBundle.bundle/unread.png new file mode 100644 index 0000000..3678300 Binary files /dev/null and b/XCFramework/PushwooshInboxBundle.bundle/unread.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/Info.plist b/XCFramework/PushwooshInboxUI.xcframework/Info.plist new file mode 100644 index 0000000..5c532f5 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/Info.plist @@ -0,0 +1,61 @@ + + + + + AvailableLibraries + + + BinaryPath + PushwooshInboxUI.framework/PushwooshInboxUI + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + PushwooshInboxUI.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + BinaryPath + PushwooshInboxUI.framework/PushwooshInboxUI + LibraryIdentifier + ios-arm64 + LibraryPath + PushwooshInboxUI.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + PushwooshInboxUI.framework/Versions/A/PushwooshInboxUI + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + PushwooshInboxUI.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PWIInboxStyle.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PWIInboxStyle.h new file mode 100644 index 0000000..652594c --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PWIInboxStyle.h @@ -0,0 +1,122 @@ +// +// PWIInboxStyle.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +typedef NSString * (^PWIDateFormatterBlock)(NSDate *date, NSObject *owner); + +//! This class is designed to customize the Inbox appearance +@interface PWIInboxStyle : NSObject + +//! This block customizes the date formatting +@property (nonatomic, readwrite) PWIDateFormatterBlock dateFormatterBlock; + +//! The default icon in the cell next to the message; if not specified, the app icon is used +@property (nonatomic, readwrite) UIImage *defaultImageIcon; + +//! The default font +@property (nonatomic, readwrite) UIFont *defaultFont; + +//! The default text color +@property (nonatomic, readwrite) UIColor *defaultTextColor; + +//! The text color of a read notification +@property (nonatomic, readwrite) UIColor *readTextColor; + +//! The default background color +@property (nonatomic, readwrite) UIColor *backgroundColor; + +//! The default selection color +@property (nonatomic, readwrite) UIColor *selectionColor; + +//! The appearance of the unread messages mark +@property (nonatomic, readwrite) UIImage *unreadImage; + +//! The image which is displayed if an error occurs and the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listErrorImage; + +//! The error text which is displayed when an error occurs; cannot be localized +@property (nonatomic, readwrite) NSString *listErrorMessage; + +//! The image which is displayed if the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listEmptyImage; + +//! The text which is displayed if the list of inbox messages is empty; cannot be localized +@property (nonatomic, readwrite) NSString *listEmptyMessage; + +//! The accent color +@property (nonatomic, readwrite) UIColor *accentColor; + +//! The color of message titles +@property (nonatomic, readwrite) UIColor *titleColor; + +//! The title color for read notifications +@property (nonatomic, readwrite) UIColor *readTitleColor; + +//! The color of messages descriptions +@property (nonatomic, readwrite) UIColor *descriptionColor; + +//! The color of message dates +@property (nonatomic, readwrite) UIColor *dateColor; + +//! The color of the separator +@property (nonatomic, readwrite) UIColor *separatorColor; + +//! The font of message titles +@property (nonatomic, readwrite) UIFont *titleFont; + +//! The font of message descriptions +@property (nonatomic, readwrite) UIFont *descriptionFont; + +//! The font of message dates +@property (nonatomic, readwrite) UIFont *dateFont; + +//! The default bar color +@property (nonatomic, readwrite) UIColor *barBackgroundColor; + +//! The default back button color +@property(nonatomic, readwrite) UIColor *barAccentColor; + +//! The default bar accent color +@property (nonatomic, readwrite) UIColor *barTextColor; + +//! The default bar title text +@property (nonatomic, readwrite) NSString *barTitle; + +/** + The method returning the default style; all parameters might be changed + + @retutn instance of default style + */ ++ (instancetype)defaultStyle; + +/** + This method updates the default style for PWInboxViewController + + @param style the new default style for PWInboxViewController + */ ++ (void)setupDefaultStyle:(PWIInboxStyle *)style; + +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, date; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font; +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, font, dateFormatterBlock; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font + dateFromatterBlock:(PWIDateFormatterBlock)dateFormatterBlock; + +@end diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PWIInboxUI.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PWIInboxUI.h new file mode 100644 index 0000000..e7fb885 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PWIInboxUI.h @@ -0,0 +1,39 @@ +// +// PWIInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +@protocol PWInboxMessageProtocol; + +@interface PWIInboxViewController : UIViewController + +@property (nonatomic) void (^onMessageClickBlock)(id message); + +/** + Reloads everything from scratch. + */ +- (void)reloadData; +- (instancetype)init NS_UNAVAILABLE; + +@end + +@class PWIInboxStyle; +@interface PWIInboxUI : NSObject + +/** + @return PWIInboxViewController with a specified style + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style; + +/** + @return PWIInboxViewController with a specified style and height of table view + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style andContentHeight:(CGFloat)contentHeight; + +@end diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PushwooshInboxUI.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PushwooshInboxUI.h new file mode 100644 index 0000000..d17863d --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Headers/PushwooshInboxUI.h @@ -0,0 +1,19 @@ +// +// PushwooshInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +//! Project version number for PushwooshInboxUI. +FOUNDATION_EXPORT double PushwooshInboxUIVersionNumber; + +//! Project version string for PushwooshInboxUI. +FOUNDATION_EXPORT NSString * const PushwooshInboxUIVersion; + +#import "PWIInboxUI.h" +#import "PWIInboxStyle.h" + diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Info.plist b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Info.plist new file mode 100644 index 0000000..58f264e Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Info.plist differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Modules/module.modulemap b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Modules/module.modulemap new file mode 100644 index 0000000..8e0f4c2 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module PushwooshInboxUI { + umbrella header "PushwooshInboxUI.h" + + export * + module * { export * } +} diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxAttachmentViewController.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxAttachmentViewController.nib new file mode 100644 index 0000000..f01d6ff Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxAttachmentViewController.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxMessageViewCell.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxMessageViewCell.nib new file mode 100644 index 0000000..f88b3cc Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxMessageViewCell.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxViewController.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxViewController.nib new file mode 100644 index 0000000..7cbe993 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PWIInboxViewController.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PushwooshInboxUI b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PushwooshInboxUI new file mode 100755 index 0000000..99c76b7 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/PushwooshInboxUI differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/errorMessage@2x.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/errorMessage@2x.png new file mode 100644 index 0000000..266c888 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/errorMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/inbox_icon.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/inbox_icon.png new file mode 100644 index 0000000..63b385b Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/inbox_icon.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/noMessage@2x.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/noMessage@2x.png new file mode 100644 index 0000000..06187c4 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/noMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/unread.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/unread.png new file mode 100644 index 0000000..3678300 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64/PushwooshInboxUI.framework/unread.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Headers b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Modules b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/PushwooshInboxUI b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/PushwooshInboxUI new file mode 120000 index 0000000..6981c8a --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/PushwooshInboxUI @@ -0,0 +1 @@ +Versions/Current/PushwooshInboxUI \ No newline at end of file diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Resources b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxStyle.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxStyle.h new file mode 100644 index 0000000..652594c --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxStyle.h @@ -0,0 +1,122 @@ +// +// PWIInboxStyle.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +typedef NSString * (^PWIDateFormatterBlock)(NSDate *date, NSObject *owner); + +//! This class is designed to customize the Inbox appearance +@interface PWIInboxStyle : NSObject + +//! This block customizes the date formatting +@property (nonatomic, readwrite) PWIDateFormatterBlock dateFormatterBlock; + +//! The default icon in the cell next to the message; if not specified, the app icon is used +@property (nonatomic, readwrite) UIImage *defaultImageIcon; + +//! The default font +@property (nonatomic, readwrite) UIFont *defaultFont; + +//! The default text color +@property (nonatomic, readwrite) UIColor *defaultTextColor; + +//! The text color of a read notification +@property (nonatomic, readwrite) UIColor *readTextColor; + +//! The default background color +@property (nonatomic, readwrite) UIColor *backgroundColor; + +//! The default selection color +@property (nonatomic, readwrite) UIColor *selectionColor; + +//! The appearance of the unread messages mark +@property (nonatomic, readwrite) UIImage *unreadImage; + +//! The image which is displayed if an error occurs and the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listErrorImage; + +//! The error text which is displayed when an error occurs; cannot be localized +@property (nonatomic, readwrite) NSString *listErrorMessage; + +//! The image which is displayed if the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listEmptyImage; + +//! The text which is displayed if the list of inbox messages is empty; cannot be localized +@property (nonatomic, readwrite) NSString *listEmptyMessage; + +//! The accent color +@property (nonatomic, readwrite) UIColor *accentColor; + +//! The color of message titles +@property (nonatomic, readwrite) UIColor *titleColor; + +//! The title color for read notifications +@property (nonatomic, readwrite) UIColor *readTitleColor; + +//! The color of messages descriptions +@property (nonatomic, readwrite) UIColor *descriptionColor; + +//! The color of message dates +@property (nonatomic, readwrite) UIColor *dateColor; + +//! The color of the separator +@property (nonatomic, readwrite) UIColor *separatorColor; + +//! The font of message titles +@property (nonatomic, readwrite) UIFont *titleFont; + +//! The font of message descriptions +@property (nonatomic, readwrite) UIFont *descriptionFont; + +//! The font of message dates +@property (nonatomic, readwrite) UIFont *dateFont; + +//! The default bar color +@property (nonatomic, readwrite) UIColor *barBackgroundColor; + +//! The default back button color +@property(nonatomic, readwrite) UIColor *barAccentColor; + +//! The default bar accent color +@property (nonatomic, readwrite) UIColor *barTextColor; + +//! The default bar title text +@property (nonatomic, readwrite) NSString *barTitle; + +/** + The method returning the default style; all parameters might be changed + + @retutn instance of default style + */ ++ (instancetype)defaultStyle; + +/** + This method updates the default style for PWInboxViewController + + @param style the new default style for PWInboxViewController + */ ++ (void)setupDefaultStyle:(PWIInboxStyle *)style; + +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, date; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font; +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, font, dateFormatterBlock; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font + dateFromatterBlock:(PWIDateFormatterBlock)dateFormatterBlock; + +@end diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxUI.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxUI.h new file mode 100644 index 0000000..e7fb885 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxUI.h @@ -0,0 +1,39 @@ +// +// PWIInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +@protocol PWInboxMessageProtocol; + +@interface PWIInboxViewController : UIViewController + +@property (nonatomic) void (^onMessageClickBlock)(id message); + +/** + Reloads everything from scratch. + */ +- (void)reloadData; +- (instancetype)init NS_UNAVAILABLE; + +@end + +@class PWIInboxStyle; +@interface PWIInboxUI : NSObject + +/** + @return PWIInboxViewController with a specified style + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style; + +/** + @return PWIInboxViewController with a specified style and height of table view + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style andContentHeight:(CGFloat)contentHeight; + +@end diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PushwooshInboxUI.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PushwooshInboxUI.h new file mode 100644 index 0000000..d17863d --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Headers/PushwooshInboxUI.h @@ -0,0 +1,19 @@ +// +// PushwooshInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +//! Project version number for PushwooshInboxUI. +FOUNDATION_EXPORT double PushwooshInboxUIVersionNumber; + +//! Project version string for PushwooshInboxUI. +FOUNDATION_EXPORT NSString * const PushwooshInboxUIVersion; + +#import "PWIInboxUI.h" +#import "PWIInboxStyle.h" + diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Modules/module.modulemap b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..8e0f4c2 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module PushwooshInboxUI { + umbrella header "PushwooshInboxUI.h" + + export * + module * { export * } +} diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/PushwooshInboxUI b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/PushwooshInboxUI new file mode 100755 index 0000000..5c54c47 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/PushwooshInboxUI differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/Info.plist b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..caf066f --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 23G80 + CFBundleDevelopmentRegion + en + CFBundleExecutable + PushwooshInboxUI + CFBundleIdentifier + com.pushwoosh.PushwooshInboxUI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + PushwooshInboxUI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 6.7.10 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 6.7.10 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 21F77 + DTPlatformName + macosx + DTPlatformVersion + 14.5 + DTSDKBuild + 23F73 + DTSDKName + macosx14.5 + DTXcode + 1540 + DTXcodeBuild + 15F31d + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxAttachmentViewController.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxAttachmentViewController.nib new file mode 100644 index 0000000..6e4583a Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxAttachmentViewController.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxMessageViewCell.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxMessageViewCell.nib new file mode 100644 index 0000000..7ed10c3 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxMessageViewCell.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxViewController.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxViewController.nib new file mode 100644 index 0000000..b26c13a Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/PWIInboxViewController.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/errorMessage@2x.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/errorMessage@2x.png new file mode 100644 index 0000000..56f304a Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/errorMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/inbox_icon.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/inbox_icon.png new file mode 100644 index 0000000..22ab43c Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/inbox_icon.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/noMessage@2x.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/noMessage@2x.png new file mode 100644 index 0000000..2671895 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/noMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/unread.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/unread.png new file mode 100644 index 0000000..8f47513 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/A/Resources/unread.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/Current b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-maccatalyst/PushwooshInboxUI.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PWIInboxStyle.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PWIInboxStyle.h new file mode 100644 index 0000000..652594c --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PWIInboxStyle.h @@ -0,0 +1,122 @@ +// +// PWIInboxStyle.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +typedef NSString * (^PWIDateFormatterBlock)(NSDate *date, NSObject *owner); + +//! This class is designed to customize the Inbox appearance +@interface PWIInboxStyle : NSObject + +//! This block customizes the date formatting +@property (nonatomic, readwrite) PWIDateFormatterBlock dateFormatterBlock; + +//! The default icon in the cell next to the message; if not specified, the app icon is used +@property (nonatomic, readwrite) UIImage *defaultImageIcon; + +//! The default font +@property (nonatomic, readwrite) UIFont *defaultFont; + +//! The default text color +@property (nonatomic, readwrite) UIColor *defaultTextColor; + +//! The text color of a read notification +@property (nonatomic, readwrite) UIColor *readTextColor; + +//! The default background color +@property (nonatomic, readwrite) UIColor *backgroundColor; + +//! The default selection color +@property (nonatomic, readwrite) UIColor *selectionColor; + +//! The appearance of the unread messages mark +@property (nonatomic, readwrite) UIImage *unreadImage; + +//! The image which is displayed if an error occurs and the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listErrorImage; + +//! The error text which is displayed when an error occurs; cannot be localized +@property (nonatomic, readwrite) NSString *listErrorMessage; + +//! The image which is displayed if the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listEmptyImage; + +//! The text which is displayed if the list of inbox messages is empty; cannot be localized +@property (nonatomic, readwrite) NSString *listEmptyMessage; + +//! The accent color +@property (nonatomic, readwrite) UIColor *accentColor; + +//! The color of message titles +@property (nonatomic, readwrite) UIColor *titleColor; + +//! The title color for read notifications +@property (nonatomic, readwrite) UIColor *readTitleColor; + +//! The color of messages descriptions +@property (nonatomic, readwrite) UIColor *descriptionColor; + +//! The color of message dates +@property (nonatomic, readwrite) UIColor *dateColor; + +//! The color of the separator +@property (nonatomic, readwrite) UIColor *separatorColor; + +//! The font of message titles +@property (nonatomic, readwrite) UIFont *titleFont; + +//! The font of message descriptions +@property (nonatomic, readwrite) UIFont *descriptionFont; + +//! The font of message dates +@property (nonatomic, readwrite) UIFont *dateFont; + +//! The default bar color +@property (nonatomic, readwrite) UIColor *barBackgroundColor; + +//! The default back button color +@property(nonatomic, readwrite) UIColor *barAccentColor; + +//! The default bar accent color +@property (nonatomic, readwrite) UIColor *barTextColor; + +//! The default bar title text +@property (nonatomic, readwrite) NSString *barTitle; + +/** + The method returning the default style; all parameters might be changed + + @retutn instance of default style + */ ++ (instancetype)defaultStyle; + +/** + This method updates the default style for PWInboxViewController + + @param style the new default style for PWInboxViewController + */ ++ (void)setupDefaultStyle:(PWIInboxStyle *)style; + +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, date; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font; +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, font, dateFormatterBlock; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font + dateFromatterBlock:(PWIDateFormatterBlock)dateFormatterBlock; + +@end diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PWIInboxUI.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PWIInboxUI.h new file mode 100644 index 0000000..e7fb885 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PWIInboxUI.h @@ -0,0 +1,39 @@ +// +// PWIInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +@protocol PWInboxMessageProtocol; + +@interface PWIInboxViewController : UIViewController + +@property (nonatomic) void (^onMessageClickBlock)(id message); + +/** + Reloads everything from scratch. + */ +- (void)reloadData; +- (instancetype)init NS_UNAVAILABLE; + +@end + +@class PWIInboxStyle; +@interface PWIInboxUI : NSObject + +/** + @return PWIInboxViewController with a specified style + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style; + +/** + @return PWIInboxViewController with a specified style and height of table view + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style andContentHeight:(CGFloat)contentHeight; + +@end diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PushwooshInboxUI.h b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PushwooshInboxUI.h new file mode 100644 index 0000000..d17863d --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Headers/PushwooshInboxUI.h @@ -0,0 +1,19 @@ +// +// PushwooshInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +//! Project version number for PushwooshInboxUI. +FOUNDATION_EXPORT double PushwooshInboxUIVersionNumber; + +//! Project version string for PushwooshInboxUI. +FOUNDATION_EXPORT NSString * const PushwooshInboxUIVersion; + +#import "PWIInboxUI.h" +#import "PWIInboxStyle.h" + diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Info.plist b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Info.plist new file mode 100644 index 0000000..1212905 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Info.plist differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Modules/module.modulemap b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Modules/module.modulemap new file mode 100644 index 0000000..8e0f4c2 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module PushwooshInboxUI { + umbrella header "PushwooshInboxUI.h" + + export * + module * { export * } +} diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxAttachmentViewController.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxAttachmentViewController.nib new file mode 100644 index 0000000..f01d6ff Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxAttachmentViewController.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxMessageViewCell.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxMessageViewCell.nib new file mode 100644 index 0000000..f88b3cc Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxMessageViewCell.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxViewController.nib b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxViewController.nib new file mode 100644 index 0000000..7cbe993 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PWIInboxViewController.nib differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PushwooshInboxUI b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PushwooshInboxUI new file mode 100755 index 0000000..c9fef3f Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/PushwooshInboxUI differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/_CodeSignature/CodeResources b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..e31ff27 --- /dev/null +++ b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/_CodeSignature/CodeResources @@ -0,0 +1,223 @@ + + + + + files + + Headers/PWIInboxStyle.h + + O/1jFUjLLaYIUopGmwpWY4HExrs= + + Headers/PWIInboxUI.h + + c1aamYmkmz4J31RzxXIqcY6MAic= + + Headers/PushwooshInboxUI.h + + 7ILl2ieXGSAh5XzY8gZHVjLPsrw= + + Info.plist + + XIes4X+QSnz63WscgZeux4BNTmo= + + Modules/module.modulemap + + ffYef55UhReliYd2KDUrbxZEy7k= + + PWIInboxAttachmentViewController.nib + + txtVJfQhjtLEKR5LRF81o1GLuhc= + + PWIInboxMessageViewCell.nib + + 4bF6VTqBeEKkg0EtiNWBvz1L73Q= + + PWIInboxViewController.nib + + h044vm8905QQS9RrV2d9OKgAuWo= + + errorMessage@2x.png + + a77yxs8AmAxwVANywl9kE/pmO+A= + + inbox_icon.png + + HqQpQb8y5q+zjxEDP9byJehjYmU= + + noMessage@2x.png + + M7sGljlle/ceJUkPs6w2DHmJnRU= + + unread.png + + nIqx94iGjfBT3EGwy9C9gMGm7Hs= + + + files2 + + Headers/PWIInboxStyle.h + + hash2 + + sM1ohRniFd7BGe60gRxLBFp3OHq34OPzrsLIzlrPNPM= + + + Headers/PWIInboxUI.h + + hash2 + + gUY0ANc23G1OSSF4fOWityFbkBU8V4lQcYi1PZvNNvg= + + + Headers/PushwooshInboxUI.h + + hash2 + + 1AvEm1gxg6/KuyBOUNuzJv6UjyMjUBNDQux2XpS6iP0= + + + Modules/module.modulemap + + hash2 + + c0rJ/7/o/6mItaUbY/gP78qU+aKiPyMrmPsHEgqm4iI= + + + PWIInboxAttachmentViewController.nib + + hash2 + + Uq/hIGgtjuHPkc5C1xWKIFyroU8ev+VpKvMfAtPElFk= + + + PWIInboxMessageViewCell.nib + + hash2 + + YErdsHwDZH1wxMcjPxFSkqCAxdR4gzLgQsqC1Z7Rk6s= + + + PWIInboxViewController.nib + + hash2 + + 4y8PFzOZ7BD4iwlaDMdDGMshsRCrC0HPCeFOych1Q1Y= + + + errorMessage@2x.png + + hash2 + + OS3lyvDBWTNHUxOgMSIM/FuEHC1XQqGVs6q+6wcCHbo= + + + inbox_icon.png + + hash2 + + 7eBOD0NauG1hgSXtNm2ldgv1y0B4CJBZ0Is5W0lgLcw= + + + noMessage@2x.png + + hash2 + + TiTIBIff15zExRbxG2I3jlFeM3/TtpVELqRoBnd8VRE= + + + unread.png + + hash2 + + Fgmn/JuvyoD7wJV8OklboUlzvaQhEPmH3IXl3Db+dYY= + + + + 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/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/errorMessage@2x.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/errorMessage@2x.png new file mode 100644 index 0000000..266c888 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/errorMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/inbox_icon.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/inbox_icon.png new file mode 100644 index 0000000..63b385b Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/inbox_icon.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/noMessage@2x.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/noMessage@2x.png new file mode 100644 index 0000000..06187c4 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/noMessage@2x.png differ diff --git a/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/unread.png b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/unread.png new file mode 100644 index 0000000..3678300 Binary files /dev/null and b/XCFramework/PushwooshInboxUI.xcframework/ios-arm64_x86_64-simulator/PushwooshInboxUI.framework/unread.png differ diff --git a/iOS_SDK/Pushwoosh/Pushwoosh.podspec b/iOS_SDK/Pushwoosh/Pushwoosh.podspec index 7176d41..98b2499 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh.podspec +++ b/iOS_SDK/Pushwoosh/Pushwoosh.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = "Pushwoosh" - s.version = "6.7.9" + s.version = "6.7.10" s.summary = "Push notifications library by Pushwoosh." s.platform = :ios diff --git a/iOS_SDK/Pushwoosh/Pushwoosh.xcodeproj/project.pbxproj b/iOS_SDK/Pushwoosh/Pushwoosh.xcodeproj/project.pbxproj index 50a70f2..5ea049b 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh.xcodeproj/project.pbxproj +++ b/iOS_SDK/Pushwoosh/Pushwoosh.xcodeproj/project.pbxproj @@ -343,6 +343,8 @@ 449CC1682BAA11B5003E16DC /* WKUserScript+PWInterfacesScriptGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DB6E88723F576F600421AA4 /* WKUserScript+PWInterfacesScriptGenerator.h */; }; 449CC1692BAA11E8003E16DC /* WKWebView+PWSynchronousEvaluateJavaScript.m in Sources */ = {isa = PBXBuildFile; fileRef = 5DB6E88023F576F500421AA4 /* WKWebView+PWSynchronousEvaluateJavaScript.m */; }; 449CC16A2BAA11EB003E16DC /* WKWebView+PWSynchronousEvaluateJavaScript.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DB6E87E23F576F500421AA4 /* WKWebView+PWSynchronousEvaluateJavaScript.h */; }; + 44E75ED52CF7644E00717C5B /* AnyCodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 44E75ED42CF7644E00717C5B /* AnyCodable.swift */; }; + 44E75ED72CF7648D00717C5B /* DefaultLiveActivityAttributes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 44E75ED62CF7648D00717C5B /* DefaultLiveActivityAttributes.swift */; }; 44FE0D392CAD6CDD001C34FD /* PWModalWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = AF30846F2996A1F500E19F10 /* PWModalWindow.m */; }; 44FE0D3A2CAD6CF0001C34FD /* PWModalWindow.h in Headers */ = {isa = PBXBuildFile; fileRef = AF30846E2996A1F500E19F10 /* PWModalWindow.h */; }; 44FE0D3B2CAD6CF4001C34FD /* PWModalWindowSettings.m in Sources */ = {isa = PBXBuildFile; fileRef = 443117BC2C6FA091008F82C6 /* PWModalWindowSettings.m */; }; @@ -1587,6 +1589,8 @@ 449CC00B2BA9C289003E16DC /* Pushwoosh.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pushwoosh.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 449CC0F22BA9E699003E16DC /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "Platforms/XROS.platform/Developer/SDKs/XROS1.1.sdk/usr/lib/libc++.tbd"; sourceTree = DEVELOPER_DIR; }; 449CC0F42BA9E6A9003E16DC /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = Platforms/XROS.platform/Developer/SDKs/XROS1.1.sdk/usr/lib/libz.tbd; sourceTree = DEVELOPER_DIR; }; + 44E75ED42CF7644E00717C5B /* AnyCodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnyCodable.swift; sourceTree = ""; }; + 44E75ED62CF7648D00717C5B /* DefaultLiveActivityAttributes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultLiveActivityAttributes.swift; sourceTree = ""; }; 4649F4B61ED5517A00D3D90C /* PushNotificationManager+Mock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "PushNotificationManager+Mock.h"; path = "PushwooshTests/Mock/PushNotificationManager+Mock.h"; sourceTree = SOURCE_ROOT; }; 4649F4B71ED5517A00D3D90C /* PushNotificationManager+Mock.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "PushNotificationManager+Mock.m"; path = "PushwooshTests/Mock/PushNotificationManager+Mock.m"; sourceTree = SOURCE_ROOT; }; 4649F4B81ED5517A00D3D90C /* PWPushNotificationDelegateMock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PWPushNotificationDelegateMock.h; path = PushwooshTests/Mock/PWPushNotificationDelegateMock.h; sourceTree = SOURCE_ROOT; }; @@ -2036,6 +2040,8 @@ children = ( 4463DB622C64FB4C005F547E /* PushwooshLiveActivityAttributes.swift */, 4463DB682C64FD3E005F547E /* PushwooshLiveActivitiesImplementationSetup.swift */, + 44E75ED42CF7644E00717C5B /* AnyCodable.swift */, + 44E75ED62CF7648D00717C5B /* DefaultLiveActivityAttributes.swift */, ); path = "Live Activities Swift"; sourceTree = ""; @@ -4501,6 +4507,7 @@ 5DAEE790246413A900219D92 /* PWUtilsMobile.m in Sources */, 5DB6E89123F576F600421AA4 /* WKWebView+PWSynchronousEvaluateJavaScript.m in Sources */, 5DB6E65723F5639C00421AA4 /* PWBusinessCaseManager.m in Sources */, + 44E75ED72CF7648D00717C5B /* DefaultLiveActivityAttributes.swift in Sources */, 5DB6E89523F576F600421AA4 /* PWEasyJSListener.m in Sources */, 5DB6E52023F55EB300421AA4 /* PWRequest.m in Sources */, 5DB6E75723F5695300421AA4 /* PWNotificationManagerCompatiOS8.m in Sources */, @@ -4557,6 +4564,7 @@ 5DB6E7C023F56E5700421AA4 /* PWInteractivePush.m in Sources */, 5DB6E3D323F55AAD00421AA4 /* PWDataManager.ios.m in Sources */, 5DB6E51A23F55EB300421AA4 /* PWCachedRequest.m in Sources */, + 44E75ED52CF7644E00717C5B /* AnyCodable.swift in Sources */, 5DB6E66D23F5655600421AA4 /* PWGetResourcesRequest.m in Sources */, 5DB6E5B123F5615200421AA4 /* PWInteractionDisabledWindow.m in Sources */, 5DB6E85923F5762C00421AA4 /* PWInboxMessagesRequest.m in Sources */, diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/AnyCodable.swift b/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/AnyCodable.swift new file mode 100644 index 0000000..4d0008b --- /dev/null +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/AnyCodable.swift @@ -0,0 +1,303 @@ +// +// AnyCodable.swift +// PushwooshiOS +// +// Created by André Kis on 26.11.24. +// Copyright © 2024 Pushwoosh. All rights reserved. +// + +import Foundation + +@frozen public struct AnyCodable: Codable { + public let value: Any + + public func asBool() -> Bool? { return value as? Bool } + public func asInt() -> Int? { return value as? Int } + public func asDouble() -> Double? { return value as? Double } + public func asString() -> String? { return value as? String } + public func asArray() -> [AnyCodable]? { return value as? [AnyCodable] } + public func asDict() -> [String: AnyCodable]? { return value as? [String: AnyCodable] } + + public init(_ value: T?) { + self.value = value ?? () + } + + public init(nilLiteral _: ()) { + self.init(nil as Any?) + } + + public init(booleanLiteral value: Bool) { + self.init(value) + } + + public init(integerLiteral value: Int) { + self.init(value) + } + + public init(floatLiteral value: Double) { + self.init(value) + } + + public init(extendedGraphemeClusterLiteral value: String) { + self.init(value) + } + + public init(stringLiteral value: String) { + self.init(value) + } + + public init(arrayLiteral elements: Any...) { + self.init(elements) + } + + public init(dictionaryLiteral elements: (AnyHashable, Any)...) { + self.init([AnyHashable: Any](elements, uniquingKeysWith: { first, _ in first })) + } + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + + if container.decodeNil() { + #if canImport(Foundation) + self.init(NSNull()) + #else + self.init(Optional.none) + #endif + } else if let bool = try? container.decode(Bool.self) { + self.init(bool) + } else if let int = try? container.decode(Int.self) { + self.init(int) + } else if let uint = try? container.decode(UInt.self) { + self.init(uint) + } else if let double = try? container.decode(Double.self) { + self.init(double) + } else if let string = try? container.decode(String.self) { + self.init(string) + } else if let array = try? container.decode([AnyCodable].self) { + self.init(array) + } else if let dictionary = try? container.decode([String: AnyCodable].self) { + self.init(dictionary) + } else { + throw DecodingError.dataCorruptedError(in: container, debugDescription: "AnyCodable value cannot be decoded") + } + } + + // swiftlint:disable cyclomatic_complexity + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + + switch value { + #if canImport(Foundation) + case is NSNull: + try container.encodeNil() + #endif + case is Void: + try container.encodeNil() + case let bool as Bool: + try container.encode(bool) + case let int as Int: + try container.encode(int) + case let int8 as Int8: + try container.encode(int8) + case let int16 as Int16: + try container.encode(int16) + case let int32 as Int32: + try container.encode(int32) + case let int64 as Int64: + try container.encode(int64) + case let uint as UInt: + try container.encode(uint) + case let uint8 as UInt8: + try container.encode(uint8) + case let uint16 as UInt16: + try container.encode(uint16) + case let uint32 as UInt32: + try container.encode(uint32) + case let uint64 as UInt64: + try container.encode(uint64) + case let float as Float: + try container.encode(float) + case let double as Double: + try container.encode(double) + case let string as String: + try container.encode(string) + #if canImport(Foundation) + case let number as NSNumber: + try encode(nsnumber: number, into: &container) + case let date as Date: + try container.encode(date) + case let url as URL: + try container.encode(url) + #endif + case let array as [Any?]: + try container.encode(array.map { AnyCodable($0) }) + case let dictionary as [String: Any?]: + try container.encode(dictionary.mapValues { AnyCodable($0) }) + case let encodable as Encodable: + try encodable.encode(to: encoder) + default: + let context = EncodingError.Context(codingPath: container.codingPath, debugDescription: "AnyCodable value cannot be encoded") + throw EncodingError.invalidValue(value, context) + } + } + + #if canImport(Foundation) + private func encode(nsnumber: NSNumber, into container: inout SingleValueEncodingContainer) throws { + switch Character(Unicode.Scalar(UInt8(nsnumber.objCType.pointee))) { + case "B": + try container.encode(nsnumber.boolValue) + case "c": + try container.encode(nsnumber.int8Value) + case "s": + try container.encode(nsnumber.int16Value) + case "i", "l": + try container.encode(nsnumber.int32Value) + case "q": + try container.encode(nsnumber.int64Value) + case "C": + try container.encode(nsnumber.uint8Value) + case "S": + try container.encode(nsnumber.uint16Value) + case "I", "L": + try container.encode(nsnumber.uint32Value) + case "Q": + try container.encode(nsnumber.uint64Value) + case "f": + try container.encode(nsnumber.floatValue) + case "d": + try container.encode(nsnumber.doubleValue) + default: + let context = EncodingError.Context(codingPath: container.codingPath, debugDescription: "NSNumber cannot be encoded because its type is not handled") + throw EncodingError.invalidValue(nsnumber, context) + } + } + #endif +} + +extension AnyCodable: Equatable { + public static func == (lhs: AnyCodable, rhs: AnyCodable) -> Bool { + switch (lhs.value, rhs.value) { +#if canImport(Foundation) + case is (NSNull, NSNull), is (Void, Void): + return true +#endif + case is (Void, Void): + return true + case let (lhs as Bool, rhs as Bool): + return lhs == rhs + case let (lhs as Int, rhs as Int): + return lhs == rhs + case let (lhs as Int8, rhs as Int8): + return lhs == rhs + case let (lhs as Int16, rhs as Int16): + return lhs == rhs + case let (lhs as Int32, rhs as Int32): + return lhs == rhs + case let (lhs as Int64, rhs as Int64): + return lhs == rhs + case let (lhs as UInt, rhs as UInt): + return lhs == rhs + case let (lhs as UInt8, rhs as UInt8): + return lhs == rhs + case let (lhs as UInt16, rhs as UInt16): + return lhs == rhs + case let (lhs as UInt32, rhs as UInt32): + return lhs == rhs + case let (lhs as UInt64, rhs as UInt64): + return lhs == rhs + case let (lhs as Float, rhs as Float): + return lhs == rhs + case let (lhs as Double, rhs as Double): + return lhs == rhs + case let (lhs as String, rhs as String): + return lhs == rhs + case let (lhs as [String: AnyCodable], rhs as [String: AnyCodable]): + return lhs == rhs + case let (lhs as [AnyCodable], rhs as [AnyCodable]): + return lhs == rhs + case let (lhs as [String: Any], rhs as [String: Any]): + return NSDictionary(dictionary: lhs) == NSDictionary(dictionary: rhs) + case let (lhs as [Any], rhs as [Any]): + return NSArray(array: lhs) == NSArray(array: rhs) + case is (NSNull, NSNull): + return true + default: + return false + } + } +} + +extension AnyCodable: CustomStringConvertible { + public var description: String { + switch value { + case is Void: + return String(describing: nil as Any?) + case let value as CustomStringConvertible: + return value.description + default: + return String(describing: value) + } + } +} + +extension AnyCodable: CustomDebugStringConvertible { + public var debugDescription: String { + switch value { + case let value as CustomDebugStringConvertible: + return "AnyCodable(\(value.debugDescription))" + default: + return "AnyCodable(\(description))" + } + } +} + +extension AnyCodable: ExpressibleByNilLiteral {} +extension AnyCodable: ExpressibleByBooleanLiteral {} +extension AnyCodable: ExpressibleByIntegerLiteral {} +extension AnyCodable: ExpressibleByFloatLiteral {} +extension AnyCodable: ExpressibleByStringLiteral {} +extension AnyCodable: ExpressibleByStringInterpolation {} +extension AnyCodable: ExpressibleByArrayLiteral {} +extension AnyCodable: ExpressibleByDictionaryLiteral {} + +extension AnyCodable: Hashable { + public func hash(into hasher: inout Hasher) { + switch value { + case let value as Bool: + hasher.combine(value) + case let value as Int: + hasher.combine(value) + case let value as Int8: + hasher.combine(value) + case let value as Int16: + hasher.combine(value) + case let value as Int32: + hasher.combine(value) + case let value as Int64: + hasher.combine(value) + case let value as UInt: + hasher.combine(value) + case let value as UInt8: + hasher.combine(value) + case let value as UInt16: + hasher.combine(value) + case let value as UInt32: + hasher.combine(value) + case let value as UInt64: + hasher.combine(value) + case let value as Float: + hasher.combine(value) + case let value as Double: + hasher.combine(value) + case let value as String: + hasher.combine(value) + case let value as [String: AnyCodable]: + hasher.combine(value) + case let value as [AnyCodable]: + hasher.combine(value) + default: + break + } + } +} diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/DefaultLiveActivityAttributes.swift b/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/DefaultLiveActivityAttributes.swift new file mode 100644 index 0000000..1b0b11d --- /dev/null +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/DefaultLiveActivityAttributes.swift @@ -0,0 +1,69 @@ +// +// DefaultLiveActivityAttributes.swift +// PushwooshiOS +// +// Created by André Kis on 26.11.24. +// Copyright © 2024 Pushwoosh. All rights reserved. +// + +#if targetEnvironment(macCatalyst) +#else + +/** + A default structure conforming to `PushwooshLiveActivityAttributes` that is registered with Pushwoosh as a Live Activity + through `PushwooshLiveActivities.defaultSetup()`. The only requirement for the customer app is to create a Widget + in their Widget Extension with an `ActivityConfiguration` for `DefaultLiveActivityAttributes`. + + All properties (attributes and content-state) within this widget are dynamically defined as a dictionary of values + in the static `data` property. Note that the `data` properties must be included in the payloads. + + Example "start notification" payload using `DefaultLiveActivityAttributes`: + + ``` + "live_activity": { + "event": "start", + "content-state": { + "data" : { + "yourKey": "yourValue" + } + }, + "attributes-type": "DefaultLiveActivityAttributes", + "attributes": { + "data" : { + "youKey": "yourValue" + } + } + + ``` + + Example "update notification" payload using `DefaultLiveActivityAttributes`: + + ``` + "live_activity": { + "event": "update", + "content-state": { + "data": { + "yourKey": "yourValue" + } + }, + "attributes-type": "DefaultLiveActivityAttributes", + "attributes": { + "data" : { + "yourKey": "yourValue" + } + } + } + + ``` + */ + +public struct DefaultLiveActivityAttributes: PushwooshLiveActivityAttributes { + public var data: [String: AnyCodable] + public var pushwoosh: PushwooshLiveActivityAttributeData + + public struct ContentState: PushwooshLiveActivityContentState { + public var data: [String: AnyCodable] + public var pushwoosh: PushwooshLiveActivityContentStateData? + } +} +#endif diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/PushwooshLiveActivitiesImplementationSetup.swift b/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/PushwooshLiveActivitiesImplementationSetup.swift index 6d0c93e..b6e7828 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/PushwooshLiveActivitiesImplementationSetup.swift +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Live Activities Swift/PushwooshLiveActivitiesImplementationSetup.swift @@ -37,6 +37,38 @@ public class PushwooshLiveActivitiesImplementationSetup: NSObject { } observeActivity(activityType) } + + @available(iOS 16.1, *) + public static func defaultSetup() { + configureLiveActivity(DefaultLiveActivityAttributes.self) + } + + @objc + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: String, attributes: [String: Any], content: [String: Any]) { + let pushwooshAttribute = PushwooshLiveActivityAttributeData.create(activityId: activityId) + + var attributeData = [String: AnyCodable]() + for attribute in attributes { + attributeData.updateValue(AnyCodable(attribute.value), forKey: attribute.key) + } + + var contentData = [String: AnyCodable]() + for contentItem in content { + contentData.updateValue(AnyCodable(contentItem.value), forKey: contentItem.key) + } + + let attributes = DefaultLiveActivityAttributes(data: attributeData, pushwoosh: pushwooshAttribute) + let contentState = DefaultLiveActivityAttributes.ContentState(data: contentData) + do { + _ = try Activity.request( + attributes: attributes, + contentState: contentState, + pushType: .token) + } catch let error { + print("Start default live activity error: \(error.localizedDescription)") + } + } // MARK: - OBSERVE PUSH TO START TOKEN @available(iOS 17.2, *) diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshFramework.h b/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshFramework.h index 4e29b42..90aa578 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshFramework.h +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshFramework.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.7.9" +#define PUSHWOOSH_VERSION @"6.7.10" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshLiveActivities.swift b/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshLiveActivities.swift index 89fd9b7..37512ca 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshLiveActivities.swift +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Public/PushwooshLiveActivities.swift @@ -27,5 +27,38 @@ public class PushwooshLiveActivities: NSObject { public static func setup(_ activityType: Attributes.Type) { PushwooshLiveActivitiesImplementationSetup.configureLiveActivity(activityType) } + + /** + Configures the Pushwoosh SDK to manage the default `DefaultLiveActivityAttributes` structure, which conforms to the + `PushwooshLiveActivityAttributes` protocol. By using this function, the widget attributes are controlled by the Pushwoosh SDK, + enabling the SDK to handle the entire lifecycle of the live activity. From the app's perspective, the only requirement is to create + a Live Activity widget within a widget extension, including an `ActivityConfiguration` for `DefaultLiveActivityAttributes`. + + This approach is particularly useful for scenarios where: + 1. There is only one Live Activity widget in the app. + 2. A cross-platform framework is used, and the developer wants to avoid creating bindings between the framework and iOS native + ActivityKit. + + - Parameters: + - options: An optional parameter for providing more detailed configuration options. + */ + @available(iOS 16.1, *) + public static func defaultSetup() { + PushwooshLiveActivitiesImplementationSetup.defaultSetup() + } + + /** + Starts a new Live Activity modeled by the `DefaultLiveActivityAttributes` structure. The `DefaultLiveActivityAttributes` + is initialized using the dynamic `attributes` and `content` provided. + + - Parameters: + - activityId: The identifier for the live activity on this device, which will be used to start the activity and make it eligible for updates. + - attributes: A dictionary containing the static attributes to initialize `DefaultLiveActivityAttributes`. + - content: A dictionary containing the initial content state to initialize `DefaultLiveActivityAttributes`. + */ + @available(iOS 16.1, *) + public static func defaultStart(_ activityId: String, attributes: [String: Any], content: [String: Any]) { + PushwooshLiveActivitiesImplementationSetup.defaultStart(activityId, attributes: attributes, content: content) + } } #endif diff --git a/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec b/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec index 85e666a..076734a 100644 --- a/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec +++ b/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = "PushwooshXCFramework" - s.version = "6.7.9" + s.version = "6.7.10" s.summary = "Push notifications library by Pushwoosh." s.platform = :ios diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxBundle/Info.plist b/iOS_SDK/PushwooshInboxUI/PushwooshInboxBundle/Info.plist new file mode 100644 index 0000000..846c9e5 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxBundle/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + NSHumanReadableCopyright + Copyright © 2017 Pushwoosh. All rights reserved. + NSPrincipalClass + + + diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.podspec b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.podspec new file mode 100644 index 0000000..b24d122 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.podspec @@ -0,0 +1,26 @@ +Pod::Spec.new do |s| + + s.name = "PushwooshInboxUI" + s.version = "6.7.10" + s.summary = "Pushwoosh Inbox UI library by Pushwoosh." + s.platform = :ios + s.ios.deployment_target = '9.0' + + s.description = "Pushwoosh Inbox UI library by Pushwoosh. " \ + "http://www.pushwoosh.com " + + s.homepage = "http://www.pushwoosh.com" + s.license = { :type => 'MIT', :file => 'LICENSE' } + + s.authors = { "Max Konev" => "max@pushwoosh.com" } + + s.source = { :git => "https://github.com/Pushwoosh/pushwoosh-inbox-ui-ios-sdk.git", :tag => s.version } + + s.dependency 'Pushwoosh', '~> 6.0' + s.ios.vendored_frameworks = 'Framework/PushwooshInboxUI.framework' + s.resources = 'Framework/PushwooshInboxBundle.bundle' + + s.framework = 'SystemConfiguration', 'UIKit', 'UserNotifications' + s.requires_arc = true + +end \ No newline at end of file diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.xcodeproj/project.pbxproj b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1dc2c79 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.xcodeproj/project.pbxproj @@ -0,0 +1,851 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXAggregateTarget section */ + A469F59B1FBC3C970062CBF5 /* PushwooshInboxUIFramework */ = { + isa = PBXAggregateTarget; + buildConfigurationList = A469F59E1FBC3C970062CBF5 /* Build configuration list for PBXAggregateTarget "PushwooshInboxUIFramework" */; + buildPhases = ( + A469F5A01FBC4A520062CBF5 /* Create Framework */, + ); + dependencies = ( + ); + name = PushwooshInboxUIFramework; + productName = PushwooshInboxUIFramework; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 2A708F9322C15C01002086B2 /* PWIInboxAttachmentViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9090D98E22A12ECD005853B9 /* PWIInboxAttachmentViewController.m */; }; + 2A708F9422C15C15002086B2 /* PWIInboxAttachmentViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9090D98F22A12ECD005853B9 /* PWIInboxAttachmentViewController.xib */; }; + 2A708F9522C15C16002086B2 /* PWIInboxAttachmentViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9090D98F22A12ECD005853B9 /* PWIInboxAttachmentViewController.xib */; }; + 2A708F9622C15C24002086B2 /* PWIInboxAttachmentViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 9090D98D22A12ECD005853B9 /* PWIInboxAttachmentViewController.h */; }; + 9090D99022A12ECD005853B9 /* PWIInboxAttachmentViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 9090D98D22A12ECD005853B9 /* PWIInboxAttachmentViewController.h */; }; + 9090D99122A12ECD005853B9 /* PWIInboxAttachmentViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9090D98E22A12ECD005853B9 /* PWIInboxAttachmentViewController.m */; }; + 9090D99222A12ECD005853B9 /* PWIInboxAttachmentViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9090D98F22A12ECD005853B9 /* PWIInboxAttachmentViewController.xib */; }; + A42B59F11FBF12C80061E583 /* NSBundle+PWIHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A42B59EF1FBF12C80061E583 /* NSBundle+PWIHelper.h */; }; + A42B59F21FBF12C80061E583 /* NSBundle+PWIHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A42B59EF1FBF12C80061E583 /* NSBundle+PWIHelper.h */; }; + A42B59F31FBF12C80061E583 /* NSBundle+PWIHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A42B59F01FBF12C80061E583 /* NSBundle+PWIHelper.m */; }; + A42B59F41FBF12C80061E583 /* NSBundle+PWIHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A42B59F01FBF12C80061E583 /* NSBundle+PWIHelper.m */; }; + A469F5B41FBD74390062CBF5 /* inbox_icon.png in Resources */ = {isa = PBXBuildFile; fileRef = A4F321BD1FAA0F7A00A8058E /* inbox_icon.png */; }; + A469F5B51FBD743C0062CBF5 /* unread.png in Resources */ = {isa = PBXBuildFile; fileRef = A4F321C71FABFF9D00A8058E /* unread.png */; }; + A469F5B61FBD74400062CBF5 /* noMessage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A46D6F4A1FB303E4003979C7 /* noMessage@2x.png */; }; + A469F5B71FBD74430062CBF5 /* errorMessage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A46D6F4C1FB303EB003979C7 /* errorMessage@2x.png */; }; + A469F5B81FBD74930062CBF5 /* PWIInboxMessageViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = A4DB69D21FA990AD007210E6 /* PWIInboxMessageViewCell.xib */; }; + A469F5B91FBD749B0062CBF5 /* PWIInboxViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A4F321AE1FA9B74B00A8058E /* PWIInboxViewController.xib */; }; + A469F61F1FBD851A0062CBF5 /* inbox_icon.png in Resources */ = {isa = PBXBuildFile; fileRef = A4F321BD1FAA0F7A00A8058E /* inbox_icon.png */; }; + A469F6201FBD851D0062CBF5 /* unread.png in Resources */ = {isa = PBXBuildFile; fileRef = A4F321C71FABFF9D00A8058E /* unread.png */; }; + A469F6211FBD85210062CBF5 /* noMessage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A46D6F4A1FB303E4003979C7 /* noMessage@2x.png */; }; + A469F6221FBD85250062CBF5 /* errorMessage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A46D6F4C1FB303EB003979C7 /* errorMessage@2x.png */; }; + A469F6231FBD852D0062CBF5 /* PWIInboxMessageViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = A4DB69D21FA990AD007210E6 /* PWIInboxMessageViewCell.xib */; }; + A469F6241FBD85310062CBF5 /* PWIInboxViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A4F321AE1FA9B74B00A8058E /* PWIInboxViewController.xib */; }; + A46D6F4B1FB303E4003979C7 /* noMessage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A46D6F4A1FB303E4003979C7 /* noMessage@2x.png */; }; + A46D6F4D1FB303EB003979C7 /* errorMessage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A46D6F4C1FB303EB003979C7 /* errorMessage@2x.png */; }; + A4DB69A61FA98A37007210E6 /* PushwooshInboxUI.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69A41FA98A37007210E6 /* PushwooshInboxUI.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4DB69C11FA98DDA007210E6 /* PWIInboxStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69BF1FA98DDA007210E6 /* PWIInboxStyle.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4DB69C21FA98DDA007210E6 /* PWIInboxStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69C01FA98DDA007210E6 /* PWIInboxStyle.m */; }; + A4DB69C51FA98E67007210E6 /* PWIInboxUI.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69C31FA98E67007210E6 /* PWIInboxUI.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4DB69C61FA98E67007210E6 /* PWIInboxUI.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69C41FA98E67007210E6 /* PWIInboxUI.m */; }; + A4DB69CD1FA98FE9007210E6 /* PWIInboxViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69CA1FA98FE9007210E6 /* PWIInboxViewController.h */; }; + A4DB69CE1FA98FE9007210E6 /* PWIInboxViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69CB1FA98FE9007210E6 /* PWIInboxViewController.m */; }; + A4DB69D31FA990AD007210E6 /* PWIInboxMessageViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69D01FA990AD007210E6 /* PWIInboxMessageViewCell.h */; }; + A4DB69D41FA990AD007210E6 /* PWIInboxMessageViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69D11FA990AD007210E6 /* PWIInboxMessageViewCell.m */; }; + A4DB69D51FA990AD007210E6 /* PWIInboxMessageViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = A4DB69D21FA990AD007210E6 /* PWIInboxMessageViewCell.xib */; }; + A4DB69DD1FA9913F007210E6 /* PWIWeakRef.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69D91FA9913F007210E6 /* PWIWeakRef.m */; }; + A4DB69DE1FA9913F007210E6 /* UITableViewCell+PWIHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69DA1FA9913F007210E6 /* UITableViewCell+PWIHelper.h */; }; + A4DB69DF1FA9913F007210E6 /* PWIWeakRef.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69DB1FA9913F007210E6 /* PWIWeakRef.h */; }; + A4DB69E01FA9913F007210E6 /* UITableViewCell+PWIHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69DC1FA9913F007210E6 /* UITableViewCell+PWIHelper.m */; }; + A4DB69E71FA9AA50007210E6 /* UIImageView+PWILoadImage.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69E51FA9AA50007210E6 /* UIImageView+PWILoadImage.h */; }; + A4DB69E81FA9AA50007210E6 /* UIImageView+PWILoadImage.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69E61FA9AA50007210E6 /* UIImageView+PWILoadImage.m */; }; + A4DCE5121FBAE9F4009CE923 /* PWIInboxUI.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69C41FA98E67007210E6 /* PWIInboxUI.m */; }; + A4DCE5131FBAEA03009CE923 /* PWIInboxStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69C01FA98DDA007210E6 /* PWIInboxStyle.m */; }; + A4DCE5141FBAEA10009CE923 /* PWIInboxViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69CB1FA98FE9007210E6 /* PWIInboxViewController.m */; }; + A4DCE5151FBAEA16009CE923 /* PWIInboxMessageViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69D11FA990AD007210E6 /* PWIInboxMessageViewCell.m */; }; + A4DCE5161FBAEA1E009CE923 /* UIImageView+PWILoadImage.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69E61FA9AA50007210E6 /* UIImageView+PWILoadImage.m */; }; + A4DCE5171FBAEA35009CE923 /* UIImage+PWITintColor.m in Sources */ = {isa = PBXBuildFile; fileRef = A4F321D11FAC07FC00A8058E /* UIImage+PWITintColor.m */; }; + A4DCE5181FBAEABB009CE923 /* PWIPushwooshHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A4F321B71FA9E9C000A8058E /* PWIPushwooshHelper.m */; }; + A4DCE5191FBAEAC0009CE923 /* UITableViewCell+PWIHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69DC1FA9913F007210E6 /* UITableViewCell+PWIHelper.m */; }; + A4DCE51A1FBAEAC5009CE923 /* PWIWeakRef.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB69D91FA9913F007210E6 /* PWIWeakRef.m */; }; + A4DCE51C1FBAEB4E009CE923 /* PWInbox.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69E11FA9A990007210E6 /* PWInbox.h */; }; + A4DCE51F1FBB1742009CE923 /* PWInbox.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69E11FA9A990007210E6 /* PWInbox.h */; }; + A4DCE5201FBB1751009CE923 /* PWIWeakRef.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69DB1FA9913F007210E6 /* PWIWeakRef.h */; }; + A4DCE5211FBB1754009CE923 /* UITableViewCell+PWIHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69DA1FA9913F007210E6 /* UITableViewCell+PWIHelper.h */; }; + A4DCE5221FBB1759009CE923 /* PWIPushwooshHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A4F321B61FA9E9C000A8058E /* PWIPushwooshHelper.h */; }; + A4DCE5231FBB175E009CE923 /* UIImage+PWITintColor.h in Headers */ = {isa = PBXBuildFile; fileRef = A4F321D01FAC07FC00A8058E /* UIImage+PWITintColor.h */; }; + A4DCE5241FBB1764009CE923 /* UIImageView+PWILoadImage.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69E51FA9AA50007210E6 /* UIImageView+PWILoadImage.h */; }; + A4DCE5251FBB1768009CE923 /* PWIInboxMessageViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69D01FA990AD007210E6 /* PWIInboxMessageViewCell.h */; }; + A4DCE5261FBB176C009CE923 /* PWIInboxViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69CA1FA98FE9007210E6 /* PWIInboxViewController.h */; }; + A4DCE5271FBB1772009CE923 /* PWIInboxStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69BF1FA98DDA007210E6 /* PWIInboxStyle.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4DCE5281FBB177A009CE923 /* PWIInboxUI.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69C31FA98E67007210E6 /* PWIInboxUI.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4DCE5291FBB1783009CE923 /* PushwooshInboxUI.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB69A41FA98A37007210E6 /* PushwooshInboxUI.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4F321AF1FA9B74B00A8058E /* PWIInboxViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A4F321AE1FA9B74B00A8058E /* PWIInboxViewController.xib */; }; + A4F321B81FA9E9C000A8058E /* PWIPushwooshHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A4F321B61FA9E9C000A8058E /* PWIPushwooshHelper.h */; }; + A4F321B91FA9E9C000A8058E /* PWIPushwooshHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A4F321B71FA9E9C000A8058E /* PWIPushwooshHelper.m */; }; + A4F321D21FAC07FC00A8058E /* UIImage+PWITintColor.h in Headers */ = {isa = PBXBuildFile; fileRef = A4F321D01FAC07FC00A8058E /* UIImage+PWITintColor.h */; }; + A4F321D31FAC07FC00A8058E /* UIImage+PWITintColor.m in Sources */ = {isa = PBXBuildFile; fileRef = A4F321D11FAC07FC00A8058E /* UIImage+PWITintColor.m */; }; + A4F321D51FAC0C6800A8058E /* unread.png in Resources */ = {isa = PBXBuildFile; fileRef = A4F321C71FABFF9D00A8058E /* unread.png */; }; + A4F321D61FAC0C6B00A8058E /* inbox_icon.png in Resources */ = {isa = PBXBuildFile; fileRef = A4F321BD1FAA0F7A00A8058E /* inbox_icon.png */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + A4DCE5071FBAE3E7009CE923 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 9090D98D22A12ECD005853B9 /* PWIInboxAttachmentViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PWIInboxAttachmentViewController.h; sourceTree = ""; }; + 9090D98E22A12ECD005853B9 /* PWIInboxAttachmentViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PWIInboxAttachmentViewController.m; sourceTree = ""; }; + 9090D98F22A12ECD005853B9 /* PWIInboxAttachmentViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PWIInboxAttachmentViewController.xib; sourceTree = ""; }; + A42B59EF1FBF12C80061E583 /* NSBundle+PWIHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSBundle+PWIHelper.h"; sourceTree = ""; }; + A42B59F01FBF12C80061E583 /* NSBundle+PWIHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSBundle+PWIHelper.m"; sourceTree = ""; }; + A469F6191FBD85030062CBF5 /* PushwooshInboxBundle.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PushwooshInboxBundle.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; + A469F61B1FBD85030062CBF5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A46D6F4A1FB303E4003979C7 /* noMessage@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "noMessage@2x.png"; sourceTree = ""; }; + A46D6F4C1FB303EB003979C7 /* errorMessage@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "errorMessage@2x.png"; sourceTree = ""; }; + A4DB69A11FA98A37007210E6 /* PushwooshInboxUI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PushwooshInboxUI.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A4DB69A41FA98A37007210E6 /* PushwooshInboxUI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PushwooshInboxUI.h; sourceTree = ""; }; + A4DB69A51FA98A37007210E6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A4DB69BF1FA98DDA007210E6 /* PWIInboxStyle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PWIInboxStyle.h; sourceTree = ""; }; + A4DB69C01FA98DDA007210E6 /* PWIInboxStyle.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PWIInboxStyle.m; sourceTree = ""; }; + A4DB69C31FA98E67007210E6 /* PWIInboxUI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PWIInboxUI.h; sourceTree = ""; }; + A4DB69C41FA98E67007210E6 /* PWIInboxUI.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PWIInboxUI.m; sourceTree = ""; }; + A4DB69CA1FA98FE9007210E6 /* PWIInboxViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PWIInboxViewController.h; sourceTree = ""; }; + A4DB69CB1FA98FE9007210E6 /* PWIInboxViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PWIInboxViewController.m; sourceTree = ""; }; + A4DB69D01FA990AD007210E6 /* PWIInboxMessageViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PWIInboxMessageViewCell.h; sourceTree = ""; }; + A4DB69D11FA990AD007210E6 /* PWIInboxMessageViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PWIInboxMessageViewCell.m; sourceTree = ""; }; + A4DB69D21FA990AD007210E6 /* PWIInboxMessageViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PWIInboxMessageViewCell.xib; sourceTree = ""; }; + A4DB69D91FA9913F007210E6 /* PWIWeakRef.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PWIWeakRef.m; sourceTree = ""; }; + A4DB69DA1FA9913F007210E6 /* UITableViewCell+PWIHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITableViewCell+PWIHelper.h"; sourceTree = ""; }; + A4DB69DB1FA9913F007210E6 /* PWIWeakRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PWIWeakRef.h; sourceTree = ""; }; + A4DB69DC1FA9913F007210E6 /* UITableViewCell+PWIHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITableViewCell+PWIHelper.m"; sourceTree = ""; }; + A4DB69E11FA9A990007210E6 /* PWInbox.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PWInbox.h; sourceTree = ""; }; + A4DB69E51FA9AA50007210E6 /* UIImageView+PWILoadImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+PWILoadImage.h"; sourceTree = ""; }; + A4DB69E61FA9AA50007210E6 /* UIImageView+PWILoadImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+PWILoadImage.m"; sourceTree = ""; }; + A4DCE5091FBAE3E7009CE923 /* libPushwooshInboxUI.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPushwooshInboxUI.a; sourceTree = BUILT_PRODUCTS_DIR; }; + A4F321AE1FA9B74B00A8058E /* PWIInboxViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PWIInboxViewController.xib; sourceTree = ""; }; + A4F321B61FA9E9C000A8058E /* PWIPushwooshHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PWIPushwooshHelper.h; sourceTree = ""; }; + A4F321B71FA9E9C000A8058E /* PWIPushwooshHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PWIPushwooshHelper.m; sourceTree = ""; }; + A4F321BD1FAA0F7A00A8058E /* inbox_icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = inbox_icon.png; sourceTree = ""; }; + A4F321C71FABFF9D00A8058E /* unread.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = unread.png; sourceTree = ""; }; + A4F321D01FAC07FC00A8058E /* UIImage+PWITintColor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIImage+PWITintColor.h"; sourceTree = ""; }; + A4F321D11FAC07FC00A8058E /* UIImage+PWITintColor.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIImage+PWITintColor.m"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A469F6161FBD85030062CBF5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4DB699D1FA98A37007210E6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4DCE5061FBAE3E7009CE923 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A469F61A1FBD85030062CBF5 /* PushwooshInboxBundle */ = { + isa = PBXGroup; + children = ( + A469F61B1FBD85030062CBF5 /* Info.plist */, + ); + path = PushwooshInboxBundle; + sourceTree = ""; + }; + A4DB69971FA98A37007210E6 = { + isa = PBXGroup; + children = ( + A4DB69A31FA98A37007210E6 /* PushwooshInboxUI */, + A469F61A1FBD85030062CBF5 /* PushwooshInboxBundle */, + A4DB69A21FA98A37007210E6 /* Products */, + ); + sourceTree = ""; + }; + A4DB69A21FA98A37007210E6 /* Products */ = { + isa = PBXGroup; + children = ( + A4DB69A11FA98A37007210E6 /* PushwooshInboxUI.framework */, + A4DCE5091FBAE3E7009CE923 /* libPushwooshInboxUI.a */, + A469F6191FBD85030062CBF5 /* PushwooshInboxBundle.bundle */, + ); + name = Products; + sourceTree = ""; + }; + A4DB69A31FA98A37007210E6 /* PushwooshInboxUI */ = { + isa = PBXGroup; + children = ( + A4F321BC1FAA0F6900A8058E /* Resources */, + A4DB69BE1FA98DC2007210E6 /* Classes */, + A4DB69A41FA98A37007210E6 /* PushwooshInboxUI.h */, + A4DB69A51FA98A37007210E6 /* Info.plist */, + ); + path = PushwooshInboxUI; + sourceTree = ""; + }; + A4DB69BE1FA98DC2007210E6 /* Classes */ = { + isa = PBXGroup; + children = ( + A4DB69D81FA9913F007210E6 /* Utils */, + A4DB69E41FA9AA50007210E6 /* Views */, + A4DB69D61FA990F6007210E6 /* ViewControllers */, + A4DB69D71FA9911E007210E6 /* Public */, + ); + name = Classes; + sourceTree = ""; + }; + A4DB69D61FA990F6007210E6 /* ViewControllers */ = { + isa = PBXGroup; + children = ( + A4DB69D01FA990AD007210E6 /* PWIInboxMessageViewCell.h */, + A4DB69D11FA990AD007210E6 /* PWIInboxMessageViewCell.m */, + A4DB69D21FA990AD007210E6 /* PWIInboxMessageViewCell.xib */, + A4DB69CA1FA98FE9007210E6 /* PWIInboxViewController.h */, + A4DB69CB1FA98FE9007210E6 /* PWIInboxViewController.m */, + A4F321AE1FA9B74B00A8058E /* PWIInboxViewController.xib */, + 9090D98D22A12ECD005853B9 /* PWIInboxAttachmentViewController.h */, + 9090D98E22A12ECD005853B9 /* PWIInboxAttachmentViewController.m */, + 9090D98F22A12ECD005853B9 /* PWIInboxAttachmentViewController.xib */, + ); + path = ViewControllers; + sourceTree = ""; + }; + A4DB69D71FA9911E007210E6 /* Public */ = { + isa = PBXGroup; + children = ( + A4DB69BF1FA98DDA007210E6 /* PWIInboxStyle.h */, + A4DB69C01FA98DDA007210E6 /* PWIInboxStyle.m */, + A4DB69C31FA98E67007210E6 /* PWIInboxUI.h */, + A4DB69C41FA98E67007210E6 /* PWIInboxUI.m */, + ); + path = Public; + sourceTree = ""; + }; + A4DB69D81FA9913F007210E6 /* Utils */ = { + isa = PBXGroup; + children = ( + A4DB69E11FA9A990007210E6 /* PWInbox.h */, + A4DB69DB1FA9913F007210E6 /* PWIWeakRef.h */, + A4DB69D91FA9913F007210E6 /* PWIWeakRef.m */, + A4DB69DA1FA9913F007210E6 /* UITableViewCell+PWIHelper.h */, + A4DB69DC1FA9913F007210E6 /* UITableViewCell+PWIHelper.m */, + A4F321B61FA9E9C000A8058E /* PWIPushwooshHelper.h */, + A4F321B71FA9E9C000A8058E /* PWIPushwooshHelper.m */, + A4F321D01FAC07FC00A8058E /* UIImage+PWITintColor.h */, + A4F321D11FAC07FC00A8058E /* UIImage+PWITintColor.m */, + A42B59EF1FBF12C80061E583 /* NSBundle+PWIHelper.h */, + A42B59F01FBF12C80061E583 /* NSBundle+PWIHelper.m */, + ); + path = Utils; + sourceTree = ""; + }; + A4DB69E41FA9AA50007210E6 /* Views */ = { + isa = PBXGroup; + children = ( + A4DB69E51FA9AA50007210E6 /* UIImageView+PWILoadImage.h */, + A4DB69E61FA9AA50007210E6 /* UIImageView+PWILoadImage.m */, + ); + path = Views; + sourceTree = ""; + }; + A4F321BC1FAA0F6900A8058E /* Resources */ = { + isa = PBXGroup; + children = ( + A4F321BD1FAA0F7A00A8058E /* inbox_icon.png */, + A4F321C71FABFF9D00A8058E /* unread.png */, + A46D6F4A1FB303E4003979C7 /* noMessage@2x.png */, + A46D6F4C1FB303EB003979C7 /* errorMessage@2x.png */, + ); + path = Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + A4DB699E1FA98A37007210E6 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + A4DB69C11FA98DDA007210E6 /* PWIInboxStyle.h in Headers */, + A4DB69DE1FA9913F007210E6 /* UITableViewCell+PWIHelper.h in Headers */, + A4DB69CD1FA98FE9007210E6 /* PWIInboxViewController.h in Headers */, + A4DCE51C1FBAEB4E009CE923 /* PWInbox.h in Headers */, + A4F321B81FA9E9C000A8058E /* PWIPushwooshHelper.h in Headers */, + A4DB69D31FA990AD007210E6 /* PWIInboxMessageViewCell.h in Headers */, + A4DB69E71FA9AA50007210E6 /* UIImageView+PWILoadImage.h in Headers */, + A4DB69DF1FA9913F007210E6 /* PWIWeakRef.h in Headers */, + A4DB69C51FA98E67007210E6 /* PWIInboxUI.h in Headers */, + 9090D99022A12ECD005853B9 /* PWIInboxAttachmentViewController.h in Headers */, + A4F321D21FAC07FC00A8058E /* UIImage+PWITintColor.h in Headers */, + A4DB69A61FA98A37007210E6 /* PushwooshInboxUI.h in Headers */, + A42B59F11FBF12C80061E583 /* NSBundle+PWIHelper.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4DCE51E1FBB1730009CE923 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + A4DCE5211FBB1754009CE923 /* UITableViewCell+PWIHelper.h in Headers */, + A4DCE51F1FBB1742009CE923 /* PWInbox.h in Headers */, + A4DCE5231FBB175E009CE923 /* UIImage+PWITintColor.h in Headers */, + A4DCE5271FBB1772009CE923 /* PWIInboxStyle.h in Headers */, + A4DCE5281FBB177A009CE923 /* PWIInboxUI.h in Headers */, + A4DCE5221FBB1759009CE923 /* PWIPushwooshHelper.h in Headers */, + A4DCE5251FBB1768009CE923 /* PWIInboxMessageViewCell.h in Headers */, + A4DCE5261FBB176C009CE923 /* PWIInboxViewController.h in Headers */, + A4DCE5291FBB1783009CE923 /* PushwooshInboxUI.h in Headers */, + 2A708F9622C15C24002086B2 /* PWIInboxAttachmentViewController.h in Headers */, + A4DCE5241FBB1764009CE923 /* UIImageView+PWILoadImage.h in Headers */, + A4DCE5201FBB1751009CE923 /* PWIWeakRef.h in Headers */, + A42B59F21FBF12C80061E583 /* NSBundle+PWIHelper.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + A469F6181FBD85030062CBF5 /* PushwooshInboxBundle */ = { + isa = PBXNativeTarget; + buildConfigurationList = A469F61C1FBD85030062CBF5 /* Build configuration list for PBXNativeTarget "PushwooshInboxBundle" */; + buildPhases = ( + A469F6151FBD85030062CBF5 /* Sources */, + A469F6161FBD85030062CBF5 /* Frameworks */, + A469F6171FBD85030062CBF5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PushwooshInboxBundle; + productName = PushwooshInboxBundle; + productReference = A469F6191FBD85030062CBF5 /* PushwooshInboxBundle.bundle */; + productType = "com.apple.product-type.bundle"; + }; + A4DB69A01FA98A37007210E6 /* PushwooshInboxUI */ = { + isa = PBXNativeTarget; + buildConfigurationList = A4DB69A91FA98A37007210E6 /* Build configuration list for PBXNativeTarget "PushwooshInboxUI" */; + buildPhases = ( + A4DB699C1FA98A37007210E6 /* Sources */, + A4DB699D1FA98A37007210E6 /* Frameworks */, + A4DB699E1FA98A37007210E6 /* Headers */, + A4DB699F1FA98A37007210E6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PushwooshInboxUI; + productName = PushwooshInboxUI; + productReference = A4DB69A11FA98A37007210E6 /* PushwooshInboxUI.framework */; + productType = "com.apple.product-type.framework"; + }; + A4DCE5081FBAE3E7009CE923 /* PushwooshInboxUI.iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = A4DCE5111FBAE3E7009CE923 /* Build configuration list for PBXNativeTarget "PushwooshInboxUI.iOS" */; + buildPhases = ( + A4DCE5051FBAE3E7009CE923 /* Sources */, + A4DCE51E1FBB1730009CE923 /* Headers */, + A4DCE5071FBAE3E7009CE923 /* CopyFiles */, + A4DCE5061FBAE3E7009CE923 /* Frameworks */, + A469F5B31FBD74290062CBF5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PushwooshInboxUI.iOS; + productName = PushwooshInboxUI.iOS; + productReference = A4DCE5091FBAE3E7009CE923 /* libPushwooshInboxUI.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A4DB69981FA98A37007210E6 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = PWI; + LastUpgradeCheck = 0920; + ORGANIZATIONNAME = Pushwoosh; + TargetAttributes = { + A469F59B1FBC3C970062CBF5 = { + CreatedOnToolsVersion = 9.1; + ProvisioningStyle = Automatic; + }; + A469F6181FBD85030062CBF5 = { + CreatedOnToolsVersion = 9.1; + ProvisioningStyle = Manual; + }; + A4DB69A01FA98A37007210E6 = { + CreatedOnToolsVersion = 9.0.1; + ProvisioningStyle = Automatic; + }; + A4DCE5081FBAE3E7009CE923 = { + CreatedOnToolsVersion = 9.1; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = A4DB699B1FA98A37007210E6 /* Build configuration list for PBXProject "PushwooshInboxUI" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = A4DB69971FA98A37007210E6; + productRefGroup = A4DB69A21FA98A37007210E6 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A4DB69A01FA98A37007210E6 /* PushwooshInboxUI */, + A4DCE5081FBAE3E7009CE923 /* PushwooshInboxUI.iOS */, + A469F59B1FBC3C970062CBF5 /* PushwooshInboxUIFramework */, + A469F6181FBD85030062CBF5 /* PushwooshInboxBundle */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A469F5B31FBD74290062CBF5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A469F5B91FBD749B0062CBF5 /* PWIInboxViewController.xib in Resources */, + 2A708F9422C15C15002086B2 /* PWIInboxAttachmentViewController.xib in Resources */, + A469F5B81FBD74930062CBF5 /* PWIInboxMessageViewCell.xib in Resources */, + A469F5B51FBD743C0062CBF5 /* unread.png in Resources */, + A469F5B41FBD74390062CBF5 /* inbox_icon.png in Resources */, + A469F5B61FBD74400062CBF5 /* noMessage@2x.png in Resources */, + A469F5B71FBD74430062CBF5 /* errorMessage@2x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A469F6171FBD85030062CBF5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A469F6241FBD85310062CBF5 /* PWIInboxViewController.xib in Resources */, + 2A708F9522C15C16002086B2 /* PWIInboxAttachmentViewController.xib in Resources */, + A469F6201FBD851D0062CBF5 /* unread.png in Resources */, + A469F61F1FBD851A0062CBF5 /* inbox_icon.png in Resources */, + A469F6231FBD852D0062CBF5 /* PWIInboxMessageViewCell.xib in Resources */, + A469F6211FBD85210062CBF5 /* noMessage@2x.png in Resources */, + A469F6221FBD85250062CBF5 /* errorMessage@2x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4DB699F1FA98A37007210E6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A46D6F4D1FB303EB003979C7 /* errorMessage@2x.png in Resources */, + 9090D99222A12ECD005853B9 /* PWIInboxAttachmentViewController.xib in Resources */, + A4F321D51FAC0C6800A8058E /* unread.png in Resources */, + A4F321D61FAC0C6B00A8058E /* inbox_icon.png in Resources */, + A4F321AF1FA9B74B00A8058E /* PWIInboxViewController.xib in Resources */, + A46D6F4B1FB303E4003979C7 /* noMessage@2x.png in Resources */, + A4DB69D51FA990AD007210E6 /* PWIInboxMessageViewCell.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + A469F5A01FBC4A520062CBF5 /* Create Framework */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Create Framework"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "set -x\n\n. ../build/create_inbox_xcframework_ios.sh || exit 1\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A469F6151FBD85030062CBF5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4DB699C1FA98A37007210E6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A4DB69D41FA990AD007210E6 /* PWIInboxMessageViewCell.m in Sources */, + A4F321D31FAC07FC00A8058E /* UIImage+PWITintColor.m in Sources */, + A4DB69C21FA98DDA007210E6 /* PWIInboxStyle.m in Sources */, + A4DB69E01FA9913F007210E6 /* UITableViewCell+PWIHelper.m in Sources */, + A4DB69CE1FA98FE9007210E6 /* PWIInboxViewController.m in Sources */, + 9090D99122A12ECD005853B9 /* PWIInboxAttachmentViewController.m in Sources */, + A4DB69DD1FA9913F007210E6 /* PWIWeakRef.m in Sources */, + A42B59F31FBF12C80061E583 /* NSBundle+PWIHelper.m in Sources */, + A4DB69C61FA98E67007210E6 /* PWIInboxUI.m in Sources */, + A4F321B91FA9E9C000A8058E /* PWIPushwooshHelper.m in Sources */, + A4DB69E81FA9AA50007210E6 /* UIImageView+PWILoadImage.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4DCE5051FBAE3E7009CE923 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A4DCE51A1FBAEAC5009CE923 /* PWIWeakRef.m in Sources */, + A4DCE5131FBAEA03009CE923 /* PWIInboxStyle.m in Sources */, + A4DCE5151FBAEA16009CE923 /* PWIInboxMessageViewCell.m in Sources */, + A4DCE5141FBAEA10009CE923 /* PWIInboxViewController.m in Sources */, + A4DCE5171FBAEA35009CE923 /* UIImage+PWITintColor.m in Sources */, + 2A708F9322C15C01002086B2 /* PWIInboxAttachmentViewController.m in Sources */, + A4DCE5121FBAE9F4009CE923 /* PWIInboxUI.m in Sources */, + A42B59F41FBF12C80061E583 /* NSBundle+PWIHelper.m in Sources */, + A4DCE5191FBAEAC0009CE923 /* UITableViewCell+PWIHelper.m in Sources */, + A4DCE5161FBAEA1E009CE923 /* UIImageView+PWILoadImage.m in Sources */, + A4DCE5181FBAEABB009CE923 /* PWIPushwooshHelper.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + A469F59C1FBC3C970062CBF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = YES; + DEPLOYMENT_POSTPROCESSING = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_TREAT_WARNINGS_AS_ERRORS = YES; + GENERATE_MASTER_OBJECT_FILE = YES; + INFOPLIST_FILE = PushwooshInboxUI/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MODULEMAP_FILE = "$(SRCROOT)/module.modulemap"; + PRODUCT_NAME = PushwooshInboxUI; + WRAPPER_EXTENSION = framework; + }; + name = Debug; + }; + A469F59D1FBC3C970062CBF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = YES; + DEPLOYMENT_POSTPROCESSING = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_TREAT_WARNINGS_AS_ERRORS = YES; + GENERATE_MASTER_OBJECT_FILE = YES; + INFOPLIST_FILE = PushwooshInboxUI/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MODULEMAP_FILE = "$(SRCROOT)/module.modulemap"; + PRODUCT_NAME = PushwooshInboxUI; + WRAPPER_EXTENSION = framework; + }; + name = Release; + }; + A469F61D1FBD85030062CBF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = PushwooshInboxBundle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.PushwooshInboxBundle; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = ""; + WRAPPER_EXTENSION = bundle; + }; + name = Debug; + }; + A469F61E1FBD85030062CBF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = PushwooshInboxBundle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.PushwooshInboxBundle; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = ""; + WRAPPER_EXTENSION = bundle; + }; + name = Release; + }; + A4DB69A71FA98A37007210E6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + BITCODE_GENERATION_MODE = bitcode; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 5.8.5; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = "-fembed-bitcode"; + SDKROOT = iphoneos; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A4DB69A81FA98A37007210E6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + BITCODE_GENERATION_MODE = bitcode; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 5.8.5; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = "-fembed-bitcode"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + A4DB69AA1FA98A37007210E6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEPLOYMENT_POSTPROCESSING = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 5.8.5; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = PushwooshInboxUI/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "$(SRCROOT)/module.modulemap"; + PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.PushwooshInboxUI; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + A4DB69AB1FA98A37007210E6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = YES; + DEFINES_MODULE = YES; + DEPLOYMENT_POSTPROCESSING = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 5.8.5; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = PushwooshInboxUI/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "$(SRCROOT)/module.modulemap"; + PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.PushwooshInboxUI; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + A4DCE50F1FBAE3E7009CE923 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEPLOYMENT_POSTPROCESSING = NO; + GENERATE_MASTER_OBJECT_FILE = YES; + INFOPLIST_FILE = PushwooshInboxUI/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MODULEMAP_FILE = "$(SRCROOT)/module.modulemap"; + PRODUCT_NAME = PushwooshInboxUI; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + A4DCE5101FBAE3E7009CE923 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = YES; + DEPLOYMENT_POSTPROCESSING = YES; + GENERATE_MASTER_OBJECT_FILE = YES; + INFOPLIST_FILE = PushwooshInboxUI/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MODULEMAP_FILE = "$(SRCROOT)/module.modulemap"; + PRODUCT_NAME = PushwooshInboxUI; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A469F59E1FBC3C970062CBF5 /* Build configuration list for PBXAggregateTarget "PushwooshInboxUIFramework" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A469F59C1FBC3C970062CBF5 /* Debug */, + A469F59D1FBC3C970062CBF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A469F61C1FBD85030062CBF5 /* Build configuration list for PBXNativeTarget "PushwooshInboxBundle" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A469F61D1FBD85030062CBF5 /* Debug */, + A469F61E1FBD85030062CBF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A4DB699B1FA98A37007210E6 /* Build configuration list for PBXProject "PushwooshInboxUI" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A4DB69A71FA98A37007210E6 /* Debug */, + A4DB69A81FA98A37007210E6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A4DB69A91FA98A37007210E6 /* Build configuration list for PBXNativeTarget "PushwooshInboxUI" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A4DB69AA1FA98A37007210E6 /* Debug */, + A4DB69AB1FA98A37007210E6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A4DCE5111FBAE3E7009CE923 /* Build configuration list for PBXNativeTarget "PushwooshInboxUI.iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A4DCE50F1FBAE3E7009CE923 /* Debug */, + A4DCE5101FBAE3E7009CE923 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = A4DB69981FA98A37007210E6 /* Project object */; +} diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.xcodeproj/xcshareddata/xcschemes/PushwooshInboxUI.xcscheme b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.xcodeproj/xcshareddata/xcschemes/PushwooshInboxUI.xcscheme new file mode 100644 index 0000000..1f77034 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI.xcodeproj/xcshareddata/xcschemes/PushwooshInboxUI.xcscheme @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Info.plist b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Info.plist new file mode 100644 index 0000000..d0b5d4e --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 6.7.10 + CFBundleVersion + 6.7.10 + NSPrincipalClass + + + diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxStyle.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxStyle.h new file mode 100644 index 0000000..652594c --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxStyle.h @@ -0,0 +1,122 @@ +// +// PWIInboxStyle.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +typedef NSString * (^PWIDateFormatterBlock)(NSDate *date, NSObject *owner); + +//! This class is designed to customize the Inbox appearance +@interface PWIInboxStyle : NSObject + +//! This block customizes the date formatting +@property (nonatomic, readwrite) PWIDateFormatterBlock dateFormatterBlock; + +//! The default icon in the cell next to the message; if not specified, the app icon is used +@property (nonatomic, readwrite) UIImage *defaultImageIcon; + +//! The default font +@property (nonatomic, readwrite) UIFont *defaultFont; + +//! The default text color +@property (nonatomic, readwrite) UIColor *defaultTextColor; + +//! The text color of a read notification +@property (nonatomic, readwrite) UIColor *readTextColor; + +//! The default background color +@property (nonatomic, readwrite) UIColor *backgroundColor; + +//! The default selection color +@property (nonatomic, readwrite) UIColor *selectionColor; + +//! The appearance of the unread messages mark +@property (nonatomic, readwrite) UIImage *unreadImage; + +//! The image which is displayed if an error occurs and the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listErrorImage; + +//! The error text which is displayed when an error occurs; cannot be localized +@property (nonatomic, readwrite) NSString *listErrorMessage; + +//! The image which is displayed if the list of inbox messages is empty +@property (nonatomic, readwrite) UIImage *listEmptyImage; + +//! The text which is displayed if the list of inbox messages is empty; cannot be localized +@property (nonatomic, readwrite) NSString *listEmptyMessage; + +//! The accent color +@property (nonatomic, readwrite) UIColor *accentColor; + +//! The color of message titles +@property (nonatomic, readwrite) UIColor *titleColor; + +//! The title color for read notifications +@property (nonatomic, readwrite) UIColor *readTitleColor; + +//! The color of messages descriptions +@property (nonatomic, readwrite) UIColor *descriptionColor; + +//! The color of message dates +@property (nonatomic, readwrite) UIColor *dateColor; + +//! The color of the separator +@property (nonatomic, readwrite) UIColor *separatorColor; + +//! The font of message titles +@property (nonatomic, readwrite) UIFont *titleFont; + +//! The font of message descriptions +@property (nonatomic, readwrite) UIFont *descriptionFont; + +//! The font of message dates +@property (nonatomic, readwrite) UIFont *dateFont; + +//! The default bar color +@property (nonatomic, readwrite) UIColor *barBackgroundColor; + +//! The default back button color +@property(nonatomic, readwrite) UIColor *barAccentColor; + +//! The default bar accent color +@property (nonatomic, readwrite) UIColor *barTextColor; + +//! The default bar title text +@property (nonatomic, readwrite) NSString *barTitle; + +/** + The method returning the default style; all parameters might be changed + + @retutn instance of default style + */ ++ (instancetype)defaultStyle; + +/** + This method updates the default style for PWInboxViewController + + @param style the new default style for PWInboxViewController + */ ++ (void)setupDefaultStyle:(PWIInboxStyle *)style; + +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, date; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font; +/** + The method filling style's fields based on following parameters: icon, textColor, accentColor, font, dateFormatterBlock; all parameters might be changed + */ ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon + textColor:(UIColor *)textColor + accentColor:(UIColor *)accentColor + font:(UIFont *)font + dateFromatterBlock:(PWIDateFormatterBlock)dateFormatterBlock; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxStyle.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxStyle.m new file mode 100644 index 0000000..b9a94ed --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxStyle.m @@ -0,0 +1,165 @@ +// +// PWIInboxStyle.m +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "PWIInboxStyle.h" +#import "UIImage+PWITintColor.h" +#import "NSBundle+PWIHelper.h" + +@interface PWIInboxStyleDefault : NSObject + +@property (nonatomic) PWIInboxStyle *defaultStyle; + +@end + +@implementation PWIInboxStyleDefault + ++ (instancetype)sharedInstance { + static dispatch_once_t once; + static id sharedInstance; + dispatch_once(&once, ^{ + sharedInstance = [[self alloc] init]; + }); + return sharedInstance; +} + +@end + +@interface PWIInboxStyle () + +@property (nonatomic) NSDateFormatter *formatter; +@property (nonatomic) NSDateFormatter *timeFormatter; + +@end + +@implementation PWIInboxStyle + ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon textColor:(UIColor *)textColor accentColor:(UIColor *)accentColor font:(UIFont *)font { + PWIInboxStyle *style = [self createDefaultStyle]; + [style setupTextColor:textColor accentColor:accentColor font:font]; + style.defaultImageIcon = icon; + return style; +} + ++ (instancetype)customStyleWithDefaultImageIcon:(UIImage *)icon textColor:(UIColor *)textColor accentColor:(UIColor *)accentColor font:(UIFont *)font dateFromatterBlock:(PWIDateFormatterBlock)dateFormatterBlock { + PWIInboxStyle *style = [self customStyleWithDefaultImageIcon:icon textColor:textColor accentColor:accentColor font:font]; + style.dateFormatterBlock = dateFormatterBlock; + return style; +} + +- (void)setupTextColor:(UIColor *)color accentColor:(UIColor *)accentColor font:(UIFont *)font { + _defaultFont = [font fontWithSize:UIFont.systemFontSize]; + _defaultTextColor = color; + + _accentColor = accentColor; + _titleColor = color; + _descriptionColor = [color colorWithAlphaComponent:0.85]; + _dateColor = [color colorWithAlphaComponent:0.85]; + _separatorColor = [color colorWithAlphaComponent:0.5]; + + _titleFont = [font fontWithSize:UIFont.systemFontSize]; + _descriptionFont = [font fontWithSize:UIFont.systemFontSize]; + _dateFont = [font fontWithSize:UIFont.smallSystemFontSize]; + + _listEmptyMessage = NSLocalizedString(@"There are currently no messages in Inbox.",); + _listErrorMessage = NSLocalizedString(@"It seems something went wrong. Please try again later!",); + + _unreadImage = [UIImage imageNamed:@"unread" inBundle:[NSBundle pwi_bundleForClass:self.class] compatibleWithTraitCollection:nil]; + _listErrorImage = [UIImage imageNamed:@"errorMessage" inBundle:[NSBundle pwi_bundleForClass:self.class] compatibleWithTraitCollection:nil]; + _listEmptyImage = [UIImage imageNamed:@"noMessage" inBundle:[NSBundle pwi_bundleForClass:self.class] compatibleWithTraitCollection:nil]; + + [self updateAccentColor]; +} + +- (void)setAccentColor:(UIColor *)accentColor { + if (![_accentColor isEqual:accentColor]) { + _accentColor = accentColor; + [self updateAccentColor]; + } +} + +- (void)setUnreadImage:(UIImage *)unreadImage { + _unreadImage = unreadImage; + [self updateAccentColor]; +} + +- (void)setListErrorImage:(UIImage *)listErrorImage { + _listErrorImage = listErrorImage; + [self updateAccentColor]; +} + +- (void)setListEmptyImage:(UIImage *)listEmptyImage { + _listEmptyImage = listEmptyImage; + [self updateAccentColor]; +} + +- (void)updateAccentColor { + _unreadImage = [_unreadImage pwi_imageWithTintColor:_accentColor]; + _listErrorImage = [_listErrorImage pwi_imageWithTintColor:_accentColor]; + _listEmptyImage = [_listEmptyImage pwi_imageWithTintColor:_accentColor]; +} + ++ (void)setupDefaultStyle:(PWIInboxStyle *)style { + [PWIInboxStyleDefault sharedInstance].defaultStyle = style; +} + ++ (instancetype)defaultStyle { + if ([PWIInboxStyleDefault sharedInstance].defaultStyle) { + return [PWIInboxStyleDefault sharedInstance].defaultStyle; + } else { + PWIInboxStyle *style = [self createDefaultStyle]; + [PWIInboxStyleDefault sharedInstance].defaultStyle = style; + return style; + } +} + ++ (instancetype)createDefaultStyle { + PWIInboxStyle *style = [self new]; + style.backgroundColor = [UIApplication sharedApplication].keyWindow.rootViewController.view.backgroundColor ?: [UIColor whiteColor]; + UIColor *accentColor = [UIApplication sharedApplication].keyWindow.tintColor; + if (!accentColor) { + accentColor = [UIColor colorWithRed:9.0f / 255.0f green:105.f / 255.0 blue:150.f / 255.0 alpha:1.0]; + } + [style setup]; + [style setupTextColor:[UIColor darkTextColor] accentColor:accentColor font:[UIFont systemFontOfSize:17]]; + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wpartial-availability" + if ([UIFont respondsToSelector:@selector(systemFontOfSize:weight:)]) { + style.titleFont = [UIFont systemFontOfSize:UIFont.systemFontSize weight:UIFontWeightMedium]; + } +#pragma clang diagnostic pop + + return style; +} + +- (void)setup { + _formatter = [[NSDateFormatter alloc] init]; + [_formatter setDateFormat:@"yyyy.MM.dd"]; + _timeFormatter = [NSDateFormatter new]; + _timeFormatter.timeStyle = NSDateFormatterShortStyle; + + __weak typeof(self) wself = self; + [self setupDateFrommater:^NSString *(NSDate *date, NSObject *owner) { + if ([[NSCalendar currentCalendar] isDateInToday:date]) { + return [wself.timeFormatter stringFromDate:date]; + } else { + return [wself.formatter stringFromDate:date]; + } + }]; + + _defaultImageIcon = [UIImage imageNamed:[NSBundle mainBundle].infoDictionary[@"CFBundleIcons"][@"CFBundlePrimaryIcon"][@"CFBundleIconName"]]; + if (!_defaultImageIcon) { + _defaultImageIcon = [UIImage imageNamed:@"inbox_icon" inBundle:[NSBundle pwi_bundleForClass:self.class] compatibleWithTraitCollection:nil]; + } +} + +- (void)setupDateFrommater:(PWIDateFormatterBlock)block { + _dateFormatterBlock = [block copy]; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxUI.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxUI.h new file mode 100644 index 0000000..e7fb885 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxUI.h @@ -0,0 +1,39 @@ +// +// PWIInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import + +@protocol PWInboxMessageProtocol; + +@interface PWIInboxViewController : UIViewController + +@property (nonatomic) void (^onMessageClickBlock)(id message); + +/** + Reloads everything from scratch. + */ +- (void)reloadData; +- (instancetype)init NS_UNAVAILABLE; + +@end + +@class PWIInboxStyle; +@interface PWIInboxUI : NSObject + +/** + @return PWIInboxViewController with a specified style + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style; + +/** + @return PWIInboxViewController with a specified style and height of table view + */ ++ (PWIInboxViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style andContentHeight:(CGFloat)contentHeight; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxUI.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxUI.m new file mode 100644 index 0000000..47c0b9b --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Public/PWIInboxUI.m @@ -0,0 +1,27 @@ +// +// PWIInboxUI.m +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "PWIInboxUI.h" +#import "PWIInboxStyle.h" +#import "PWIInboxViewController.h" + +NSString * const PushwooshInboxUIVersion = @"5.8.5"; + +@implementation PWIInboxUI + ++ (UIViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style { + PWIInboxViewController *inboxViewController = [[PWIInboxViewController alloc] initWithStyle:style]; + return inboxViewController; +} + ++ (UIViewController *)createInboxControllerWithStyle:(PWIInboxStyle *)style andContentHeight:(CGFloat)contentHeight { + PWIInboxViewController *inboxViewController = [[PWIInboxViewController alloc] initWithStyle:style andContentHeight:contentHeight]; + return inboxViewController; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/PushwooshInboxUI.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/PushwooshInboxUI.h new file mode 100644 index 0000000..d17863d --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/PushwooshInboxUI.h @@ -0,0 +1,19 @@ +// +// PushwooshInboxUI.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +//! Project version number for PushwooshInboxUI. +FOUNDATION_EXPORT double PushwooshInboxUIVersionNumber; + +//! Project version string for PushwooshInboxUI. +FOUNDATION_EXPORT NSString * const PushwooshInboxUIVersion; + +#import "PWIInboxUI.h" +#import "PWIInboxStyle.h" + diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/errorMessage@2x.png b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/errorMessage@2x.png new file mode 100644 index 0000000..56f304a Binary files /dev/null and b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/errorMessage@2x.png differ diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/inbox_icon.png b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/inbox_icon.png new file mode 100644 index 0000000..22ab43c Binary files /dev/null and b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/inbox_icon.png differ diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/noMessage@2x.png b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/noMessage@2x.png new file mode 100644 index 0000000..2671895 Binary files /dev/null and b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/noMessage@2x.png differ diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/unread.png b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/unread.png new file mode 100644 index 0000000..8f47513 Binary files /dev/null and b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Resources/unread.png differ diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/NSBundle+PWIHelper.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/NSBundle+PWIHelper.h new file mode 100644 index 0000000..1e9f2fa --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/NSBundle+PWIHelper.h @@ -0,0 +1,15 @@ +// +// NSBundle+PWIHelper.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 17/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +@interface NSBundle (PWIHelper) + ++ (NSBundle *)pwi_bundleForClass:(Class)aClass; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/NSBundle+PWIHelper.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/NSBundle+PWIHelper.m new file mode 100644 index 0000000..b840981 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/NSBundle+PWIHelper.m @@ -0,0 +1,28 @@ +// +// NSBundle+PWIHelper.m +// PushwooshInboxUI +// +// Created by Pushwoosh on 17/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "NSBundle+PWIHelper.h" + +@implementation NSBundle (PWIHelper) + ++ (NSBundle *)pwi_bundleForClass:(Class)aClass { + NSBundle *bundle = [NSBundle bundleWithIdentifier:@"com.pushwoosh.PushwooshInboxBundle"]; + + if (!bundle) { + NSString *resourceBundlePath = [[NSBundle mainBundle] pathForResource:@"PushwooshInboxBundle" ofType:@"bundle"]; + bundle = [NSBundle bundleWithPath:resourceBundlePath]; + } + + if (!bundle) { + bundle = [NSBundle bundleForClass:aClass]; + } + + return bundle; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIPushwooshHelper.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIPushwooshHelper.h new file mode 100644 index 0000000..ff97e7f --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIPushwooshHelper.h @@ -0,0 +1,19 @@ +// +// PWIPushwooshHelper.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import "PWInbox.h" + +@interface PWIPushwooshHelper : NSObject + +@property(class, nonatomic, readonly) Class pwInbox; + ++ (Class)pwInbox; ++ (BOOL)checkPushwooshFrameworkAvailableAndRunExaptionIfNeeded; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIPushwooshHelper.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIPushwooshHelper.m new file mode 100644 index 0000000..f0bb314 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIPushwooshHelper.m @@ -0,0 +1,97 @@ +// +// PWIPushwooshHelper.m +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "PWIPushwooshHelper.h" +#import "PushwooshInboxUI.h" + +#define kPushwooshVersionPrefix @"5." +#define kPushwooshVersion @"5.5+" +#define kIntegrateSDKLink @"http://docs.pushwoosh.com/docs/native-ios-sdk" + +#define kPWI_Attention @"\n\n\n\n===========================\n\n\n\n" +#define kPWI_WarningNeedIntegratePushwoosh @"To use PushwooshInboxUI, please integrate the Pushwoosh SDK v%@: %@" +#define kPWI_WarningNeedUpdatePushwoosh @"To use PushwooshInboxUI, please update the Pushwoosh SDK to v4.6.0: link" +#define kPWI_WarningDiffentVersionPushwoosh @"Attention: PushwooshInboxUI version (v%@) is different from Pushwoosh SDK version (v%@). There might be compatibility issues." + +@interface PushNotificationManager : NSObject + ++ (NSString *)pushwooshVersion; + +@end + +@implementation PWIPushwooshHelper + ++ (Class)pwInbox { + return NSClassFromString(@"PWInbox"); +} + ++ (Class)pushNotificationManager { + return NSClassFromString(@"PushNotificationManager"); +} + ++ (BOOL)checkPushwooshFrameworkAvailableAndRunExaptionIfNeeded { + BOOL pushwooshFrameworkAvailable = YES; + NSString *exceptionReason = nil; + + if (!self.checkPushwooshInboxAvailable) { + pushwooshFrameworkAvailable = NO; + exceptionReason = [NSString stringWithFormat:kPWI_WarningNeedUpdatePushwoosh]; + } + if (!self.checkSDKVersion) { + pushwooshFrameworkAvailable = NO; + exceptionReason = [NSString stringWithFormat:kPWI_WarningNeedUpdatePushwoosh]; + } + if (!self.checkPushwooshAvailable) { + pushwooshFrameworkAvailable = NO; + exceptionReason = [NSString stringWithFormat:kPWI_WarningNeedIntegratePushwoosh, kPushwooshVersion, kIntegrateSDKLink]; + } + + if (exceptionReason) { + NSLog(@"%@ Integrate PushwooshInboxUI Error: %@%@", kPWI_Attention, exceptionReason, kPWI_Attention); + } + + if (!pushwooshFrameworkAvailable) { +#ifdef DEBUG + [[NSException exceptionWithName:@"Integrate PushwooshInboxUI Error" reason:exceptionReason userInfo:@{}] raise]; +#endif + } + + return pushwooshFrameworkAvailable; +} + ++ (BOOL)checkPushwooshInboxAvailable { + if ([self.pwInbox class]) { + return YES; + } else { + return NO; + } +} + ++ (BOOL)checkPushwooshAvailable { + Class pushwoosh = NSClassFromString(@"PushNotificationManager"); + if ([pushwoosh class]) { + return YES; + } else { + return NO; + } +} + ++ (BOOL)checkSDKVersion { + Class pushNotificationManager = self.pushNotificationManager; + if ([pushNotificationManager respondsToSelector:@selector(pushwooshVersion)]) { + NSString *pushwooshVersion = [pushNotificationManager pushwooshVersion]; + if (![pushwooshVersion hasPrefix:kPushwooshVersionPrefix]) { + NSLog(@"%@%@%@", kPWI_Attention, [NSString stringWithFormat:kPWI_WarningDiffentVersionPushwoosh, PushwooshInboxUIVersion, pushwooshVersion], kPWI_Attention); + } + return YES; + } else { + return NO; + } +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIWeakRef.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIWeakRef.h new file mode 100644 index 0000000..ed8abb1 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIWeakRef.h @@ -0,0 +1,17 @@ +// +// PWWeakRef.h +// PushNotificationManager +// +// Created by Pushwoosh on 23/08/16. +// Copyright © 2016 Pushwoosh. All rights reserved. +// + +#import + +@interface PWIWeakRef : NSObject + +@property (nonatomic, weak) Type object; + ++ (instancetype) refWithObject:(Type) object; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIWeakRef.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIWeakRef.m new file mode 100644 index 0000000..97036f2 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWIWeakRef.m @@ -0,0 +1,19 @@ +// +// PWWeakRef.m +// PushNotificationManager +// +// Created by Pushwoosh on 23/08/16. +// Copyright © 2016 Pushwoosh. All rights reserved. +// + +#import "PWIWeakRef.h" + +@implementation PWIWeakRef + ++ (instancetype) refWithObject:(id) object { + PWIWeakRef *ref = [PWIWeakRef new]; + ref.object = object; + return ref; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWInbox.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWInbox.h new file mode 100644 index 0000000..27ac300 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/PWInbox.h @@ -0,0 +1,57 @@ +// +// PWInbox.h +// Pushwoosh +// +// Created by Pushwoosh on 18/10/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +FOUNDATION_EXPORT NSString * const PWInboxMessagesDidUpdateNotification; +FOUNDATION_EXPORT NSString * const PWInboxMessagesDidReceiveInPushNotification; + +typedef NS_ENUM(NSInteger, PWInboxMessageType) { + PWInboxMessageTypePlain = 0, + PWInboxMessageTypeRichmedia = 1, + PWInboxMessageTypeURL = 2, + PWInboxMessageTypeDeeplink = 3 +}; + +@protocol PWInboxMessageProtocol + +@required + +@property (readonly, nonatomic) NSString *code; +@property (readonly, nonatomic) NSString *title; +@property (readonly, nonatomic) NSString *imageUrl; +@property (readonly, nonatomic) NSString *message; +@property (readonly, nonatomic) NSDate *sendDate; +@property (readonly, nonatomic) PWInboxMessageType type; +@property (readonly, nonatomic) BOOL isRead; +@property (readonly, nonatomic) BOOL isActionPerformed; +@property (readonly, nonatomic) NSString *attachmentUrl; +@property (readonly, nonatomic) NSDictionary *actionParams; + +@end + +@interface PWInbox : NSObject + +- (instancetype)init NS_UNAVAILABLE; + ++ (void)messagesWithNoActionPerformedCountWithCompletion:(void (^)(NSInteger count, NSError *error))completion; ++ (void)unreadMessagesCountWithCompletion:(void (^)(NSInteger count, NSError *error))completion; ++ (void)messagesCountWithCompletion:(void (^)(NSInteger count, NSError *error))completion; ++ (void)loadMessagesWithCompletion:(void (^)(NSArray *> *messages, NSError *error))completion; + ++ (void)performActionForMessageWithCode:(NSString *)code; ++ (void)deleteMessagesWithCodes:(NSArray *)codes; ++ (void)readMessagesWithCodes:(NSArray *)codes; + ++ (id)addObserverForDidReceiveInPushNotificationCompletion:(void (^)(NSArray *> *messagesAdded))completion; ++ (id)addObserverForUpdateInboxMessagesCompletion:(void (^)(NSArray *> *messagesDeleted, + NSArray *> *messagesAdded, + NSArray *> *messagesUpdated))completion; ++ (void)removeObserver:(id)observer; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UIImage+PWITintColor.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UIImage+PWITintColor.h new file mode 100644 index 0000000..86fd124 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UIImage+PWITintColor.h @@ -0,0 +1,15 @@ +// +// UIImage+PWITintColor.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 03/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +@interface UIImage (PWITintColor) + +- (UIImage *)pwi_imageWithTintColor:(UIColor *)color; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UIImage+PWITintColor.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UIImage+PWITintColor.m new file mode 100644 index 0000000..d2fb42b --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UIImage+PWITintColor.m @@ -0,0 +1,23 @@ +// +// UIImage+PWITintColor.m +// PushwooshInboxUI +// +// Created by Pushwoosh on 03/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "UIImage+PWITintColor.h" + +@implementation UIImage (PWITintColor) + +- (UIImage *)pwi_imageWithTintColor:(UIColor *)color { + UIImage *image = [self imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; + UIGraphicsBeginImageContextWithOptions(self.size, NO, image.scale); + [color set]; + [image drawInRect:CGRectMake(0, 0, self.size.width, image.size.height)]; + image = UIGraphicsGetImageFromCurrentImageContext(); + UIGraphicsEndImageContext(); + return image; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UITableViewCell+PWIHelper.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UITableViewCell+PWIHelper.h new file mode 100644 index 0000000..c04509e --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UITableViewCell+PWIHelper.h @@ -0,0 +1,24 @@ +// +// UITableViewCell+PWHelper.h +// InboxDemo +// +// Created by Pushwoosh on 19/10/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import + +@class PWIInboxStyle; + +@protocol PWIInboxStyleProtocol +@optional; + +- (void)updateStyle:(PWIInboxStyle *)style; + +@end + +@interface UITableViewCell (PWIHelper) + ++ (instancetype)pwi_cellForTableView:(UITableView *)tableView style:(PWIInboxStyle *)style; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UITableViewCell+PWIHelper.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UITableViewCell+PWIHelper.m new file mode 100644 index 0000000..8762f13 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Utils/UITableViewCell+PWIHelper.m @@ -0,0 +1,40 @@ +// +// UITableViewCell+PWHelper.m +// InboxDemo +// +// Created by Pushwoosh on 19/10/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "UITableViewCell+PWIHelper.h" +#import "NSBundle+PWIHelper.h" + +@interface UITableViewCell (PWIStyle) + +@end + +@implementation UITableViewCell (PWIHelper) + ++ (instancetype)pwi_loadFromNibWithStyle:(PWIInboxStyle *)style { + NSBundle *bundle = [NSBundle pwi_bundleForClass:self]; + NSArray *loadedObjects = [bundle loadNibNamed:NSStringFromClass(self) owner:nil options:nil]; + for (id obj in loadedObjects) { + if ([obj isKindOfClass:self]) { + if ([obj respondsToSelector:@selector(updateStyle:)]) { + [obj updateStyle:style]; + } + return obj; + } + } + return nil; +} + ++ (instancetype)pwi_cellForTableView:(UITableView *)tableView style:(PWIInboxStyle *)style { + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:NSStringFromClass(self)]; + if (!cell) { + cell = [self pwi_loadFromNibWithStyle:style]; + } + return cell; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.h new file mode 100644 index 0000000..106325a --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.h @@ -0,0 +1,19 @@ +// +// PWIInboxAttachmentViewController.h +// PushwooshInboxUI +// +// Created by Nikolay Galizin on 31/05/2019. +// Copyright © 2019 Pushwoosh. All rights reserved. +// + +#import +#import "PWIInboxStyle.h" + +@interface PWIInboxAttachmentViewController : UIViewController + +@property (nonatomic) UIImageView *animationBeginView; +@property (nonatomic) NSString *attachmentUrl; + +- (instancetype)initWithStyle:(PWIInboxStyle *)style; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.m new file mode 100644 index 0000000..1190464 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.m @@ -0,0 +1,146 @@ +// +// PWIInboxAttachmentViewController.m +// PushwooshInboxUI +// +// Created by Nikolay Galizin on 31/05/2019. +// Copyright © 2019 Pushwoosh. All rights reserved. +// +#import +#import "PWIInboxAttachmentViewController.h" +#import "UIImageView+PWILoadImage.h" +#import "NSBundle+PWIHelper.h" +#import "PWIInboxStyle.h" + +@interface PWIInboxAttachmentViewController () + +@property (weak, nonatomic) IBOutlet UIImageView *imageView; +@property (nonatomic) PWIInboxStyle *style; + +@end + +@implementation PWIInboxAttachmentViewController + +- (instancetype)initWithStyle:(PWIInboxStyle *)style { + NSString *stringName = self.nibName; + if (self = [super initWithNibName:stringName bundle:[NSBundle pwi_bundleForClass:self.class]]) { + _style = style; + self.modalPresentationCapturesStatusBarAppearance = YES; + } + return self; +} + +- (NSString *)nibName { + return @"PWIInboxAttachmentViewController"; +} + +- (void)loadView { + [[NSBundle pwi_bundleForClass:self.class] loadNibNamed:self.nibName owner:self options:nil]; + if (!_style) { + _style = [PWIInboxStyle defaultStyle]; + } +} + +- (UIStatusBarStyle)preferredStatusBarStyle { + return [self respondsToSelector:NSSelectorFromString(@"isModalInPresentation")] ? 3 : UIStatusBarStyleDefault; +} + +- (void)viewDidLoad { + [super viewDidLoad]; + [_imageView pwi_loadImageFromUrl:_attachmentUrl callback:nil]; + [self updateStyle:_style]; +} + +- (void)updateStyle:(PWIInboxStyle *)style { + _style = style; + self.view.tintColor = _style.accentColor; + self.view.backgroundColor = _style.backgroundColor; +} + +- (IBAction)imageViewTapped:(id)sender { + [self dismissViewControllerAnimated:YES completion:nil]; +} + +- (nullable id )animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController* )presenting sourceController:(UIViewController *)source { + return self; +} + +- (nullable id )animationControllerForDismissedController:(UIViewController *)dismissed { + return self; +} + +- (NSTimeInterval)transitionDuration:(nullable id )transitionContext { + return 0.4; +} + +- (void)animateTransition:(id )transitionContext { + UIViewController *toController = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; + UIViewController *fromController = [transitionContext viewControllerForKey:UITransitionContextFromViewControllerKey]; + + UIView *fromView = fromController.view; + UIView *toView = toController.view; + if ([toController isKindOfClass:[UINavigationController class]]) { + toController = ((UINavigationController *)toController).viewControllers.firstObject; + } + + BOOL isPresenting = toController == self; + + if (isPresenting) { + [transitionContext.containerView addSubview:toView]; + } + + self.view.frame = [transitionContext finalFrameForViewController:self]; + + UIView *beginAnimationView = [_animationBeginView snapshotViewAfterScreenUpdates:YES]; + CGRect beginAnimationFrame = beginAnimationView.frame = [_animationBeginView convertRect:_animationBeginView.bounds toView:transitionContext.containerView]; + CGRect imageFrame = [_imageView convertRect:_imageView.bounds toView:transitionContext.containerView]; + CGFloat xScale = beginAnimationView.frame.size.width/_imageView.image.size.width; + CGFloat yScale = beginAnimationView.frame.size.height/_imageView.image.size.height; + + CGFloat scale = 1; + if (xScale > yScale) { + scale = imageFrame.size.height / _imageView.image.size.height * _imageView.image.size.width / beginAnimationView.frame.size.width; + } else { + scale = imageFrame.size.width / _imageView.image.size.width * _imageView.image.size.height / beginAnimationView.frame.size.height; + } + + if (isPresenting) { + self.view.alpha = 0; + [transitionContext.containerView addSubview:beginAnimationView]; + + _imageView.transform = CGAffineTransformMakeScale(1/scale, 1/scale); + _imageView.center = beginAnimationView.center; + + _animationBeginView.hidden = YES; + + [UIView animateWithDuration:0.4 delay:0. usingSpringWithDamping:45.71 initialSpringVelocity:0 options:0 animations:^{ + beginAnimationView.center = CGPointMake(transitionContext.containerView.frame.size.width/2, transitionContext.containerView.frame.size.height/2); + beginAnimationView.transform = CGAffineTransformMakeScale(scale, scale); + self.view.alpha = 1; + beginAnimationView.alpha = 0; + _imageView.transform = CGAffineTransformIdentity; + _imageView.center = self.view.center; + } completion:^(BOOL finished) { + _animationBeginView.hidden = NO; + [transitionContext completeTransition:finished]; + [beginAnimationView removeFromSuperview]; + }]; + } else { + UIView *endAnimationView = [_imageView snapshotViewAfterScreenUpdates:YES]; + [transitionContext.containerView addSubview:endAnimationView]; + _imageView.hidden = YES; + _animationBeginView.alpha = 0; + + [UIView animateWithDuration:0.4 delay:0. usingSpringWithDamping:45.71 initialSpringVelocity:0 options:0 animations:^{ + endAnimationView.transform = CGAffineTransformMakeScale(1/scale, 1/scale); + endAnimationView.center = CGPointMake(beginAnimationFrame.origin.x + beginAnimationFrame.size.width/2, beginAnimationFrame.origin.y + beginAnimationFrame.size.height/2); + endAnimationView.alpha = 0; + self.view.alpha = 0; + _animationBeginView.alpha = 1; + } completion:^(BOOL finished) { + [transitionContext completeTransition:finished]; + [fromView removeFromSuperview]; + }]; + } +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.xib b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.xib new file mode 100644 index 0000000..14ce432 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxAttachmentViewController.xib @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.h new file mode 100644 index 0000000..7d3b0ed --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.h @@ -0,0 +1,21 @@ +// +// PWIInboxMessageViewCell.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import "UITableViewCell+PWIHelper.h" +#import "PWInbox.h" + +@class PWIInboxStyle; +@interface PWIInboxMessageViewCell : UITableViewCell + +@property (readonly, nonatomic) NSObject *message; + +- (void)updateStyle:(PWIInboxStyle *)style; +- (void)updateMessage:(NSObject *)message; +- (void)setInboxAttachmentTappedCallback:(void (^)(UIImageView *, NSString *))inboxAttachmentTappedCallback; +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.m new file mode 100644 index 0000000..4cfe690 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.m @@ -0,0 +1,123 @@ +// +// PWIInboxMessageViewCell.m +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "PWIInboxMessageViewCell.h" +#import "UIImageView+PWILoadImage.h" +#import "PushwooshInboxUI.h" + +@interface PWIInboxMessageViewCell () + +@property (weak, nonatomic) IBOutlet UILabel *titleLabel; +@property (weak, nonatomic) IBOutlet UILabel *messageLabel; +@property (weak, nonatomic) IBOutlet UIImageView *inboxImageView; +@property (nonatomic) PWIInboxStyle *style; +@property (weak, nonatomic) IBOutlet UIImageView *inboxAttachmentImageView; +@property (weak, nonatomic) IBOutlet NSLayoutConstraint *inboxAttachmentImageViewWidthConstraint; +@property (weak, nonatomic) IBOutlet NSLayoutConstraint *inboxAttachmentImageViewHeightConstraint; + +@property (weak, nonatomic) IBOutlet UIButton *inboxAttachmentButton; +@property (weak, nonatomic) IBOutlet NSLayoutConstraint *inboxAttachmentButtonHeightConstraint; +@property (weak, nonatomic) IBOutlet NSLayoutConstraint *inboxAttachmentButtonWidthConstraint; +@property (nonatomic, copy, nullable) void (^inboxAttachmentTappedCallback)(UIImageView *, NSString *); + +@end + + +@implementation PWIInboxMessageViewCell + +- (UIEdgeInsets)layoutMargins { + return UIEdgeInsetsZero; +} + +- (void)updateStyle:(PWIInboxStyle *)style { + _style = style; + if (style.selectionColor) { + self.selectedBackgroundView = [[UIView alloc] initWithFrame:self.bounds]; + self.selectedBackgroundView.backgroundColor = style.selectionColor; + } + _messageLabel.font = _style.descriptionFont; + _messageLabel.textColor = _style.descriptionColor; + _titleLabel.font = _style.titleFont; + _titleLabel.textColor = _style.titleColor; +} + +- (void)updateMessage:(NSObject *)message { + _message = message; + _titleLabel.attributedText = [self titleAttributedStringForMessage:message]; + _messageLabel.attributedText = [self textAttributedStringForMessage:message]; + [_inboxImageView pwi_loadImageFromUrl:message.imageUrl callback:nil]; + if (!message.imageUrl.length) { + _inboxImageView.image = _style.defaultImageIcon; + } + NSString *attachmentUrl = message.attachmentUrl; + if (attachmentUrl.length == 0) { + [_inboxAttachmentImageView pwi_loadImageFromUrl:nil callback:nil]; + _inboxAttachmentImageViewWidthConstraint.constant = 0; + _inboxAttachmentImageViewHeightConstraint.constant = 0; + _inboxAttachmentImageView.hidden = YES; + _inboxAttachmentButtonWidthConstraint.constant = 0; + _inboxAttachmentButtonHeightConstraint.constant = 0; + _inboxAttachmentButton.hidden = YES; + } else { + [_inboxAttachmentImageView pwi_loadImageFromUrl:attachmentUrl callback:^(UIImage *image) { + _inboxAttachmentImageViewWidthConstraint.constant = 50; + _inboxAttachmentImageViewHeightConstraint.constant = 50; + _inboxAttachmentImageView.hidden = NO; + _inboxAttachmentButtonWidthConstraint.constant = 50; + _inboxAttachmentButtonHeightConstraint.constant = 50; + _inboxAttachmentButton.hidden = NO; + }]; + } +} + +- (NSAttributedString *)titleAttributedStringForMessage:(NSObject *)message { + NSMutableAttributedString *string = [[NSMutableAttributedString alloc] init]; + + if (!message.isRead && _style.unreadImage) { + NSTextAttachment *textAttachment = [[NSTextAttachment alloc] init]; + textAttachment.image = _style.unreadImage; + textAttachment.bounds = CGRectMake(0, 0, 10, 10); + [string appendAttributedString:[NSAttributedString attributedStringWithAttachment:textAttachment]]; + [string appendAttributedString:[[NSAttributedString alloc] initWithString:@" "]]; + } + + if (message.title) { + if (message.isRead && _style.readTitleColor) { + [string appendAttributedString:[[NSAttributedString alloc] initWithString:message.title attributes:@{NSForegroundColorAttributeName : _style.readTitleColor}]]; + } else { + [string appendAttributedString:[[NSAttributedString alloc] initWithString:message.title]]; + } + } + + if (message.sendDate) { + NSString *dateString = _style.dateFormatterBlock(message.sendDate, self); + if (message.title.length > 0) { + [string appendAttributedString:[[NSAttributedString alloc] initWithString:@" "]]; + } + [string appendAttributedString:[[NSAttributedString alloc] initWithString:dateString attributes:@{NSFontAttributeName : _style.dateFont, + NSForegroundColorAttributeName : _style.dateColor + }]]; + } + return string; +} + +- (NSAttributedString *)textAttributedStringForMessage:(NSObject *)message { + return (message.isRead && _style.readTextColor) ? [self textMessage:message.message textColor:_style.readTextColor] : [self textMessage:message.message textColor:_style.defaultTextColor]; +} + +- (NSMutableAttributedString *)textMessage:(NSString *)message textColor:(UIColor *)color { + NSMutableAttributedString *modifiedMessage = [[NSMutableAttributedString alloc] init]; + [modifiedMessage appendAttributedString:[[NSAttributedString alloc] initWithString:message attributes:@{NSForegroundColorAttributeName : color}]]; + return modifiedMessage; +} + +- (IBAction)attachmentButtonTapped:(id)sender { + _inboxAttachmentTappedCallback(_inboxAttachmentImageView, _message.attachmentUrl); +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.xib b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.xib new file mode 100644 index 0000000..3d4b37e --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxMessageViewCell.xib @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.h new file mode 100644 index 0000000..cb3424e --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.h @@ -0,0 +1,18 @@ +// +// PWIInboxViewController.h +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import +#import "PWIInboxUI.h" + +@class PWIInboxStyle; +@interface PWIInboxViewController (Internal) + +- (instancetype)initWithStyle:(PWIInboxStyle *)style; +- (instancetype)initWithStyle:(PWIInboxStyle *)style andContentHeight:(CGFloat)contentHeight; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.m new file mode 100644 index 0000000..b9bcbac --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.m @@ -0,0 +1,309 @@ +// +// PWIInboxViewController.m +// PushwooshInboxUI +// +// Created by Pushwoosh on 01/11/2017. +// Copyright © 2017 Pushwoosh. All rights reserved. +// + +#import "PWIInboxViewController.h" +#import "PWIInboxMessageViewCell.h" +#import "PWIPushwooshHelper.h" +#import "PWIInboxStyle.h" +#import "PWInbox.h" +#import "NSBundle+PWIHelper.h" +#import "PWIInboxAttachmentViewController.h" + +@interface PWIInboxViewController () + +@property (weak, nonatomic) IBOutlet UIView *errorView; +@property (weak, nonatomic) IBOutlet UIImageView *errorImageView; +@property (weak, nonatomic) IBOutlet UILabel *errorMessageLabel; + +@property (weak, nonatomic) IBOutlet UIView *emptyView; +@property (weak, nonatomic) IBOutlet UIImageView *emptyImageView; +@property (weak, nonatomic) IBOutlet UILabel *emptyMessageLabel; + +@property (nonatomic) NSMutableDictionary *estimatedHeights; +@property (nonatomic) PWIInboxStyle *style; +@property (weak, nonatomic) IBOutlet UITableView *tableView; +@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *activityIndicatorView; +@property (nonatomic) NSMutableArray *> *messages; +@property (weak, nonatomic) UIRefreshControl *refreshControl; +@property (weak, nonatomic) NSObject *observer; +@property (nonatomic) BOOL isLoading; +@property (nonatomic) CGFloat tableViewHeight; + +@end + +@implementation PWIInboxViewController + +- (instancetype)initWithStyle:(PWIInboxStyle *)style { + NSString *stringName = self.nibName; + if (self = [super initWithNibName:stringName bundle:[NSBundle pwi_bundleForClass:self.class]]) { + _style = style; + self.title = NSLocalizedString(@"Inbox",); + } + return self; +} + +- (instancetype)initWithStyle:(PWIInboxStyle *)style andContentHeight:(CGFloat)contentHeight { + NSString *stringName = self.nibName; + if (self = [super initWithNibName:stringName bundle:[NSBundle pwi_bundleForClass:self.class]]) { + _style = style; + _tableViewHeight = contentHeight; + self.title = NSLocalizedString(@"Inbox",); + } + return self; +} + +- (NSString *)nibName { + return @"PWIInboxViewController"; +} + +- (void)loadView { + [[NSBundle pwi_bundleForClass:self.class] loadNibNamed:self.nibName owner:self options:nil]; + if (!_style) { + _style = [PWIInboxStyle defaultStyle]; + } +} + +- (void)updateStyle:(PWIInboxStyle *)style { + _style = style; + self.view.tintColor = _style.accentColor; + self.view.backgroundColor = _style.backgroundColor; + _refreshControl.tintColor = _style.accentColor; + _activityIndicatorView.color = _style.accentColor; + _tableView.separatorColor = _style.separatorColor; + + _emptyMessageLabel.font = _style.defaultFont; + _emptyMessageLabel.textColor = _style.defaultTextColor; + _errorMessageLabel.font = _style.defaultFont; + _errorMessageLabel.textColor = _style.defaultTextColor; + + _errorImageView.image = _style.listErrorImage; + _errorMessageLabel.text = _style.listErrorMessage; + _emptyImageView.image = _style.listEmptyImage; + _emptyMessageLabel.text = _style.listEmptyMessage; + + [self initStyleNavigationBar]; +} + +- (void)initStyleNavigationBar { + NSString *title = _style.barTitle; + if (title) { + self.navigationItem.title = title; + } + UINavigationBar *bar = self.navigationController.navigationBar; + UIColor *barAccentColor = _style.barAccentColor; + if (barAccentColor) { + bar.tintColor = barAccentColor; + } + UIColor *backgroundColor = _style.barBackgroundColor; + if (backgroundColor) { + bar.barTintColor = backgroundColor; + } + UIColor *barTextColor = _style.barTextColor; + if (barTextColor) { + bar.titleTextAttributes = @{NSForegroundColorAttributeName: barTextColor}; + } +} + +#pragma mark - + +- (void)viewDidLoad { + [super viewDidLoad]; + if (![PWIPushwooshHelper checkPushwooshFrameworkAvailableAndRunExaptionIfNeeded]) { + [self updateStyle:_style]; + [self showEmptyView]; + return; + } + __weak typeof(self) wself = self; + _observer = [PWIPushwooshHelper.pwInbox addObserverForDidReceiveInPushNotificationCompletion:^(NSArray *> *messagesAdded) { + if (messagesAdded.count) { + [wself reloadData]; + } + }]; +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wpartial-availability" + if ([_tableView respondsToSelector:@selector(setContentInsetAdjustmentBehavior:)]) { + _tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; + } +#pragma clang diagnostic pop +#endif + _errorView.hidden = YES; + _emptyView.hidden = YES; + + _tableView.rowHeight = UITableViewAutomaticDimension; + _tableView.estimatedRowHeight = 150; + + UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init]; + [refreshControl addTarget:self action:@selector(reloadData) forControlEvents:UIControlEventValueChanged]; + [_tableView addSubview:refreshControl]; + _refreshControl = refreshControl; + [self updateStyle:_style]; + [_activityIndicatorView startAnimating]; + [self reloadData]; +} + +- (void)viewDidLayoutSubviews { + [super viewDidLayoutSubviews]; + + _tableView.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height-self.tableViewHeight); + + if (self.navigationController.navigationBar.translucent) { + CGRect navigationBarRect = self.navigationController.navigationBar.frame; + float insetsY = navigationBarRect.size.height + navigationBarRect.origin.y; + UIEdgeInsets inset = UIEdgeInsetsMake(insetsY, 0, 0, 0); + _tableView.contentInset = inset; + _tableView.scrollIndicatorInsets = inset; + if (_tableView.visibleCells.count) { + [_tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:NO]; + } + } +} + +- (void)viewWillAppear:(BOOL)animated { + [super viewWillAppear:animated]; + __weak typeof(self) wself = self; + _observer = [PWIPushwooshHelper.pwInbox addObserverForDidReceiveInPushNotificationCompletion:^(NSArray *> *messagesAdded) { + if (messagesAdded.count) { + [wself reloadData]; + } + }]; +} + +- (void)viewDidDisappear:(BOOL)animated { + [super viewDidDisappear:animated]; + [PWIPushwooshHelper.pwInbox removeObserver:_observer]; +} + +#pragma mark - + +- (void)showErrorView { + _tableView.hidden = YES; + _emptyView.hidden = YES; + [_activityIndicatorView stopAnimating]; + _errorView.hidden = NO; +} + +- (void)showEmptyView { + _tableView.hidden = YES; + _errorView.hidden = YES; + [_activityIndicatorView stopAnimating]; + _emptyView.hidden = NO; +} + +- (void)updateMessage:(NSArray *> *)messages withError:(NSError *)error { + _errorView.hidden = YES; + _emptyView.hidden = YES; + if (error && !messages.count) { + [self showErrorView]; + } + else if (!messages.count) { + [self showEmptyView]; + } + + [_activityIndicatorView stopAnimating]; + _tableView.hidden = !messages.count; + _estimatedHeights = [NSMutableDictionary new]; + _messages = [messages mutableCopy]; + [_tableView reloadData]; +} + +- (void)reloadData { + __weak typeof(self) wself = self; + [PWIPushwooshHelper.pwInbox loadMessagesWithCompletion:^(NSArray *> *messages, NSError *error) { + [wself updateMessage:messages withError:error]; + [wself.refreshControl endRefreshing]; + }]; +} + +#pragma mark - UITableViewDelegate && UITableViewDataSource + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { + return _messages.count; +} + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + NSObject *message = _messages[indexPath.row]; + PWIInboxMessageViewCell *cell = [PWIInboxMessageViewCell pwi_cellForTableView:tableView style:_style]; + __weak typeof(self) wself = self; + [cell setInboxAttachmentTappedCallback:^void (UIImageView *imageView, NSString *attachmentUrl) { + [wself showInboxAttachmentViewControllerForImageView:imageView withAttachment:attachmentUrl]; + }]; + [cell updateMessage:message]; + return cell; +} + +- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { + [tableView deselectRowAtIndexPath:indexPath animated:YES]; + NSObject *message = _messages[indexPath.row]; + [PWIPushwooshHelper.pwInbox performActionForMessageWithCode:message.code]; + + if (_onMessageClickBlock) { + _onMessageClickBlock(message); + } + + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.4 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + PWIInboxMessageViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; + [cell updateMessage:cell.message]; + }); +} + +- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { + return UITableViewAutomaticDimension; +} + +- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { + return YES; +} + +- (CGFloat)tableView:(UITableView *)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath *)indexPath { + NSObject *message = _messages[indexPath.row]; + NSValue *value = [NSValue valueWithNonretainedObject:message]; + if (value) { + NSNumber *estimatedHeight = _estimatedHeights[value]; + if (estimatedHeight) { + return estimatedHeight.floatValue; + } + } + return _tableView.estimatedRowHeight; +} + +- (void)tableView:(UITableView *)tableView didEndDisplayingCell:(PWIInboxMessageViewCell *)cell forRowAtIndexPath:(NSIndexPath*)indexPath { + NSObject *message = cell.message; + NSValue *value = [NSValue valueWithNonretainedObject:message]; + if (value) { + _estimatedHeights[value] = @(cell.bounds.size.height); + } +} + +- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { + if (editingStyle == UITableViewCellEditingStyleDelete) { + [PWIPushwooshHelper.pwInbox deleteMessagesWithCodes:@[_messages[indexPath.row].code]]; + [_messages removeObject:_messages[indexPath.row]]; + [_tableView beginUpdates]; + [_tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade]; + [_tableView endUpdates]; + if (_messages.count == 0) { + [self updateMessage:_messages withError:nil]; + } + } +} + +- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath { + return UITableViewCellEditingStyleDelete; +} + +- (void)showInboxAttachmentViewControllerForImageView:(UIImageView *)imageView withAttachment:(NSString *)attachmentUrl { + PWIInboxAttachmentViewController *attachmentViewController = [[PWIInboxAttachmentViewController alloc] initWithStyle:_style]; + attachmentViewController.modalPresentationStyle = UIModalPresentationCustom; + attachmentViewController.transitioningDelegate = attachmentViewController; + attachmentViewController.attachmentUrl = attachmentUrl; + attachmentViewController.animationBeginView = imageView; + [self presentViewController:attachmentViewController animated:YES completion:nil]; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.xib b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.xib new file mode 100644 index 0000000..57d0309 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/ViewControllers/PWIInboxViewController.xib @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Views/UIImageView+PWILoadImage.h b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Views/UIImageView+PWILoadImage.h new file mode 100644 index 0000000..bde3574 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Views/UIImageView+PWILoadImage.h @@ -0,0 +1,14 @@ +// +// Pushwoosh SDK +// (c) Pushwoosh 2016 +// + +#import +#import + +@interface UIImageView (PWILoadImage) + +- (void)pwi_loadImageFromUrl:(NSString *)url callback:(void (^)(UIImage *image))callback; +- (BOOL)pwi_isLoading; + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Views/UIImageView+PWILoadImage.m b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Views/UIImageView+PWILoadImage.m new file mode 100644 index 0000000..479f0a9 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUI/Views/UIImageView+PWILoadImage.m @@ -0,0 +1,169 @@ +// +// Pushwoosh SDK +// (c) Pushwoosh 2016 +// + +#import "UIImageView+PWILoadImage.h" +#import "PWIWeakRef.h" +#import + +@interface UIImageView (PWILoadImagePrivate) + +- (void)pwi_loadImageFinished:(UIImage *)image memCache:(BOOL)memCache callback:(void (^)(UIImage *image))callback; +- (void)pwi_loadImageStarted; + +- (void)setPWILoadingUrl:(NSString *)url; +- (NSString *)pwi_loadingUrl; + +@end + +static char pwiLoadImageUrl; + +@interface PWIImageLoader : NSObject + +@property (nonatomic, strong) NSCache *memCache; +@property (nonatomic, strong) NSMutableDictionary *imageViews; + ++ (instancetype) sharedInstance; + +@end + +@implementation PWIImageLoader + +- (instancetype)init { + self = [super init]; + if (self) { + _memCache = [NSCache new]; + _imageViews = [NSMutableDictionary dictionary]; + } + return self; +} + ++ (instancetype)sharedInstance { + static id instance = nil; + static dispatch_once_t pred; + + dispatch_once(&pred, ^{ + instance = [[self class] new]; + }); + + return instance; +} + +- (void)loadImageWithUrl:(NSString *)url imageView:(UIImageView *)imageView callback:(void (^)(UIImage *image))callback { + NSString *prevLoadingUrl = [imageView pwi_loadingUrl]; + if (url.length == 0 || [prevLoadingUrl isEqualToString:url]) + return; + if (prevLoadingUrl) { + NSMutableArray *refs = _imageViews[prevLoadingUrl]; + for (NSInteger i = 0; i < refs.count; ++i) { + PWIWeakRef *ref = refs[i]; + if (ref.object == imageView) { + [refs removeObject:ref]; + } + } + if (refs.count == 0) { + _imageViews[prevLoadingUrl] = nil; + } + } + imageView.image = nil; + if (!url) + return; + UIImage *image = [_memCache objectForKey:url]; + if (!image) { + [imageView setPWILoadingUrl:url]; + [imageView pwi_loadImageStarted]; + NSMutableArray *waitingImageViews = _imageViews[url]; + if (!waitingImageViews) { + waitingImageViews = [NSMutableArray arrayWithObject:[PWIWeakRef refWithObject:imageView]]; + _imageViews[url] = waitingImageViews; + [self loadImageWithUrl:url fromCache:YES cachedEtag:nil cachedLastModified:nil callback:callback]; + } else { + [waitingImageViews addObject:[PWIWeakRef refWithObject:imageView]]; + } + } else { + [imageView pwi_loadImageFinished:image memCache:YES callback: callback]; + } +} + +- (void)loadImageWithUrl:(NSString *)url fromCache:(BOOL)cache cachedEtag:(NSString *)cachedEtag cachedLastModified:(NSString *)cachedLastModified callback:(void (^)(UIImage *image))callback { + NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:url] cachePolicy:cache ? NSURLRequestReturnCacheDataDontLoad : NSURLRequestUseProtocolCachePolicy timeoutInterval:120]; + + [[[NSURLSession sharedSession] dataTaskWithRequest:request completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) { + NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; + NSString *etag = httpResponse.allHeaderFields[@"etag"]; + NSString *lastModified = httpResponse.allHeaderFields[@"Last-Modified"]; + void (^handleLoadFinished)(void) = ^{ + if (cache) { + [self loadImageWithUrl:url fromCache:NO cachedEtag:etag cachedLastModified:lastModified callback:callback]; + } else { + NSArray *refs = _imageViews[url]; + for (PWIWeakRef *ref in refs) { + [ref.object setPWILoadingUrl:nil]; + } + _imageViews[url] = nil; + } + }; + if (data != nil && ![cachedEtag isEqualToString:etag] && ![cachedLastModified isEqualToString:lastModified]) { + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{ + UIImage *image = [UIImage imageWithData:data]; + [self putImageToMemCache:image url:url]; + dispatch_async(dispatch_get_main_queue(), ^{ + NSArray *refs = _imageViews[url]; + for (PWIWeakRef *ref in refs) { + [ref.object pwi_loadImageFinished:image memCache:NO callback:callback]; + } + handleLoadFinished(); + }); + }); + } else { + dispatch_async(dispatch_get_main_queue(), handleLoadFinished); + } + }] resume]; +} + +- (void)putImageToMemCache:(UIImage *)image url:(NSString *)url { + CGImageRef cgImage = image.CGImage; + if (cgImage != NULL) { + NSUInteger numberOfbytes = (CGImageGetWidth(cgImage) * CGImageGetHeight(cgImage) * CGImageGetBitsPerPixel(cgImage)) / 8; + [_memCache setObject:image forKey:url cost:numberOfbytes]; + } +} + +@end + +@implementation UIImageView (PWILoadImage) + +- (void)setPWILoadingUrl:(NSString *)url { + objc_setAssociatedObject(self, &pwiLoadImageUrl, url, OBJC_ASSOCIATION_COPY); +} + +- (NSString *)pwi_loadingUrl { + return objc_getAssociatedObject(self, &pwiLoadImageUrl); +} + +- (void)pwi_loadImageFinished:(UIImage *)image memCache:(BOOL)memCache callback:(void (^)(UIImage *image))callback { + self.image = image; + if (!memCache && self.alpha < 0.5) { + [UIView animateWithDuration:0.2 animations:^{ + self.alpha = 1; + }]; + } + if (callback != nil) { + callback(image); + } +} + +- (void)pwi_loadImageStarted { + self.alpha = 0; +} + +- (void)pwi_loadImageFromUrl:(NSString *)url callback:(void (^)(UIImage *image))callback { + [[PWIImageLoader sharedInstance] loadImageWithUrl:url imageView:self callback:callback]; +} + +- (BOOL)pwi_isLoading { + return [self pwi_loadingUrl] != nil; +} + +@end diff --git a/iOS_SDK/PushwooshInboxUI/PushwooshInboxUIXCFramework.podspec b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUIXCFramework.podspec new file mode 100644 index 0000000..e1525aa --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/PushwooshInboxUIXCFramework.podspec @@ -0,0 +1,26 @@ +Pod::Spec.new do |s| + + s.name = "PushwooshInboxUIXCFramework" + s.version = "6.7.10" + s.summary = "Pushwoosh Inbox UI library by Pushwoosh." + s.platform = :ios + s.ios.deployment_target = '9.0' + + s.description = "Pushwoosh Inbox UI library by Pushwoosh. " \ + "http://www.pushwoosh.com " + + s.homepage = "http://www.pushwoosh.com" + s.license = { :type => 'MIT', :file => 'LICENSE' } + + s.authors = { "Max Konev" => "max@pushwoosh.com" } + + s.source = { :git => "https://github.com/Pushwoosh/pushwoosh-inbox-ui-ios-sdk.git", :tag => s.version } + + s.dependency 'PushwooshXCFramework', '~> 6.0' + s.ios.vendored_frameworks = 'XCFramework/PushwooshInboxUI.xcframework' + s.resources = 'XCFramework/PushwooshInboxBundle.bundle' + + s.framework = 'SystemConfiguration', 'UIKit', 'UserNotifications' + s.requires_arc = true + +end \ No newline at end of file diff --git a/iOS_SDK/PushwooshInboxUI/module.modulemap b/iOS_SDK/PushwooshInboxUI/module.modulemap new file mode 100644 index 0000000..8e0f4c2 --- /dev/null +++ b/iOS_SDK/PushwooshInboxUI/module.modulemap @@ -0,0 +1,6 @@ +framework module PushwooshInboxUI { + umbrella header "PushwooshInboxUI.h" + + export * + module * { export * } +}