diff --git a/Frameworks/M2Kit.xcframework/Info.plist b/Frameworks/M2Kit.xcframework/Info.plist index d0be149..9ddf4cd 100644 --- a/Frameworks/M2Kit.xcframework/Info.plist +++ b/Frameworks/M2Kit.xcframework/Info.plist @@ -4,23 +4,6 @@ AvailableLibraries - - BinaryPath - M2Kit.framework/Versions/A/M2Kit - LibraryIdentifier - ios-arm64_x86_64-maccatalyst - LibraryPath - M2Kit.framework - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - maccatalyst - BinaryPath M2Kit.framework/M2Kit @@ -52,6 +35,23 @@ SupportedPlatformVariant simulator + + BinaryPath + M2Kit.framework/Versions/A/M2Kit + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + M2Kit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + CFBundlePackageType XFWK diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist index 1aef27b..0cea4d1 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist and b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit index bd24502..50ba6ed 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit and b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json index 41e8079..f37135b 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json @@ -12650,7 +12650,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12698,7 +12699,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12746,7 +12748,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12794,7 +12797,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12820,6 +12824,208 @@ "accessorKind": "get" } ] + }, + { + "kind": "Function", + "name": "setup", + "printedName": "setup(iapId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "mangledName": "$s5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isProVersion", + "printedName": "isProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvpZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvgZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "priceProVersion", + "printedName": "priceProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "fetch", + "printedName": "fetch()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5fetchyyFZ", + "mangledName": "$s5M2Kit0A3IAPV5fetchyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "purchaseProVersion", + "printedName": "purchaseProVersion()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "mangledName": "$s5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restorePurchase", + "printedName": "restorePurchase()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV15restorePurchaseyyFZ", + "mangledName": "$s5M2Kit0A3IAPV15restorePurchaseyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -12828,7 +13034,8 @@ "moduleName": "M2Kit", "declAttributes": [ "AccessControl", - "Custom" + "Custom", + "RawDocComment" ], "conformances": [ { @@ -20585,6 +20792,58 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "weightedRandom", + "printedName": "weightedRandom(from:weights:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.Int]", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "mangledName": "$s5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -21519,6 +21778,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "Foundation", @@ -25063,33 +25329,33 @@ "kind": "StringLiteral", "offset": 131, "length": 6, - "value": "\"5.24\"" + "value": "\"5.25\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 209, + "offset": 400, "length": 33, "value": "\"IAPPurchasedSuccessNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 315, + "offset": 545, "length": 30, "value": "\"IAPPurchasedFailNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 430, + "offset": 752, "length": 37, "value": "\"IAPProductStatusUpdatedNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 551, + "offset": 945, "length": 41, "value": "\"IAPProductsAvailableChangedNotification\"" }, @@ -26031,6 +26297,34 @@ "length": 42, "value": "\"https:\/\/storage.g7software.net\/microblog\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 268, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 309, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 359, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "StringLiteral", + "offset": 403, + "length": 30, + "value": "\"M2Kit.IAPService.isPurchased\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IntCounter.swift", "kind": "StringLiteral", @@ -26185,31 +26479,38 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", + "kind": "StringLiteral", + "offset": 946, + "length": 18, + "value": "\"yt51.product.pro\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "IntegerLiteral", - "offset": 1372, + "offset": 1420, "length": 1, "value": "0" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1310, + "offset": 1358, "length": 22, "value": "\".kSavedCfgVersionKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1409, + "offset": 1457, "length": 15, "value": "\".kSavedCfgKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 8284, + "offset": 8452, "length": 11, "value": "\"123aA@123\"" }, diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface index 05bf209..14afda3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc index 6fc6c68..623c661 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface index 05bf209..14afda3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit index f9e70d8..d3bac72 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json index 41e8079..f37135b 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -12650,7 +12650,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12698,7 +12699,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12746,7 +12748,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12794,7 +12797,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12820,6 +12824,208 @@ "accessorKind": "get" } ] + }, + { + "kind": "Function", + "name": "setup", + "printedName": "setup(iapId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "mangledName": "$s5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isProVersion", + "printedName": "isProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvpZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvgZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "priceProVersion", + "printedName": "priceProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "fetch", + "printedName": "fetch()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5fetchyyFZ", + "mangledName": "$s5M2Kit0A3IAPV5fetchyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "purchaseProVersion", + "printedName": "purchaseProVersion()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "mangledName": "$s5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restorePurchase", + "printedName": "restorePurchase()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV15restorePurchaseyyFZ", + "mangledName": "$s5M2Kit0A3IAPV15restorePurchaseyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -12828,7 +13034,8 @@ "moduleName": "M2Kit", "declAttributes": [ "AccessControl", - "Custom" + "Custom", + "RawDocComment" ], "conformances": [ { @@ -20585,6 +20792,58 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "weightedRandom", + "printedName": "weightedRandom(from:weights:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.Int]", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "mangledName": "$s5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -21519,6 +21778,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "Foundation", @@ -25063,33 +25329,33 @@ "kind": "StringLiteral", "offset": 131, "length": 6, - "value": "\"5.24\"" + "value": "\"5.25\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 209, + "offset": 400, "length": 33, "value": "\"IAPPurchasedSuccessNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 315, + "offset": 545, "length": 30, "value": "\"IAPPurchasedFailNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 430, + "offset": 752, "length": 37, "value": "\"IAPProductStatusUpdatedNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 551, + "offset": 945, "length": 41, "value": "\"IAPProductsAvailableChangedNotification\"" }, @@ -26031,6 +26297,34 @@ "length": 42, "value": "\"https:\/\/storage.g7software.net\/microblog\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 268, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 309, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 359, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "StringLiteral", + "offset": 403, + "length": 30, + "value": "\"M2Kit.IAPService.isPurchased\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IntCounter.swift", "kind": "StringLiteral", @@ -26185,31 +26479,38 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", + "kind": "StringLiteral", + "offset": 946, + "length": 18, + "value": "\"yt51.product.pro\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "IntegerLiteral", - "offset": 1372, + "offset": 1420, "length": 1, "value": "0" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1310, + "offset": 1358, "length": 22, "value": "\".kSavedCfgVersionKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1409, + "offset": 1457, "length": 15, "value": "\".kSavedCfgKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 8284, + "offset": 8452, "length": 11, "value": "\"123aA@123\"" }, diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface index cc21c6b..32aab60 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc index 91e9d62..d1e0b82 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface index cc21c6b..32aab60 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json index 41e8079..f37135b 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -12650,7 +12650,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12698,7 +12699,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12746,7 +12748,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12794,7 +12797,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12820,6 +12824,208 @@ "accessorKind": "get" } ] + }, + { + "kind": "Function", + "name": "setup", + "printedName": "setup(iapId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "mangledName": "$s5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isProVersion", + "printedName": "isProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvpZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvgZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "priceProVersion", + "printedName": "priceProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "fetch", + "printedName": "fetch()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5fetchyyFZ", + "mangledName": "$s5M2Kit0A3IAPV5fetchyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "purchaseProVersion", + "printedName": "purchaseProVersion()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "mangledName": "$s5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restorePurchase", + "printedName": "restorePurchase()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV15restorePurchaseyyFZ", + "mangledName": "$s5M2Kit0A3IAPV15restorePurchaseyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -12828,7 +13034,8 @@ "moduleName": "M2Kit", "declAttributes": [ "AccessControl", - "Custom" + "Custom", + "RawDocComment" ], "conformances": [ { @@ -20585,6 +20792,58 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "weightedRandom", + "printedName": "weightedRandom(from:weights:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.Int]", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "mangledName": "$s5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -21519,6 +21778,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "Foundation", @@ -25063,33 +25329,33 @@ "kind": "StringLiteral", "offset": 131, "length": 6, - "value": "\"5.24\"" + "value": "\"5.25\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 209, + "offset": 400, "length": 33, "value": "\"IAPPurchasedSuccessNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 315, + "offset": 545, "length": 30, "value": "\"IAPPurchasedFailNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 430, + "offset": 752, "length": 37, "value": "\"IAPProductStatusUpdatedNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 551, + "offset": 945, "length": 41, "value": "\"IAPProductsAvailableChangedNotification\"" }, @@ -26031,6 +26297,34 @@ "length": 42, "value": "\"https:\/\/storage.g7software.net\/microblog\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 268, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 309, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 359, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "StringLiteral", + "offset": 403, + "length": 30, + "value": "\"M2Kit.IAPService.isPurchased\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IntCounter.swift", "kind": "StringLiteral", @@ -26185,31 +26479,38 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", + "kind": "StringLiteral", + "offset": 946, + "length": 18, + "value": "\"yt51.product.pro\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "IntegerLiteral", - "offset": 1372, + "offset": 1420, "length": 1, "value": "0" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1310, + "offset": 1358, "length": 22, "value": "\".kSavedCfgVersionKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1409, + "offset": 1457, "length": 15, "value": "\".kSavedCfgKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 8284, + "offset": 8452, "length": 11, "value": "\"123aA@123\"" }, diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface index 4250a97..87b10d3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc index 89ecb93..5b6c8f9 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index 4250a97..87b10d3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist index 9f68258..c67e216 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.24 + 5.25 CFBundleSupportedPlatforms MacOSX diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist index 91b14c4..5381c93 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit index b06077b..5c091b9 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json index 41e8079..f37135b 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -12650,7 +12650,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12698,7 +12699,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12746,7 +12748,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12794,7 +12797,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12820,6 +12824,208 @@ "accessorKind": "get" } ] + }, + { + "kind": "Function", + "name": "setup", + "printedName": "setup(iapId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "mangledName": "$s5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isProVersion", + "printedName": "isProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvpZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvgZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "priceProVersion", + "printedName": "priceProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "fetch", + "printedName": "fetch()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5fetchyyFZ", + "mangledName": "$s5M2Kit0A3IAPV5fetchyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "purchaseProVersion", + "printedName": "purchaseProVersion()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "mangledName": "$s5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restorePurchase", + "printedName": "restorePurchase()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV15restorePurchaseyyFZ", + "mangledName": "$s5M2Kit0A3IAPV15restorePurchaseyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -12828,7 +13034,8 @@ "moduleName": "M2Kit", "declAttributes": [ "AccessControl", - "Custom" + "Custom", + "RawDocComment" ], "conformances": [ { @@ -20585,6 +20792,58 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "weightedRandom", + "printedName": "weightedRandom(from:weights:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.Int]", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "mangledName": "$s5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -21519,6 +21778,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "Foundation", @@ -25063,33 +25329,33 @@ "kind": "StringLiteral", "offset": 131, "length": 6, - "value": "\"5.24\"" + "value": "\"5.25\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 209, + "offset": 400, "length": 33, "value": "\"IAPPurchasedSuccessNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 315, + "offset": 545, "length": 30, "value": "\"IAPPurchasedFailNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 430, + "offset": 752, "length": 37, "value": "\"IAPProductStatusUpdatedNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 551, + "offset": 945, "length": 41, "value": "\"IAPProductsAvailableChangedNotification\"" }, @@ -26031,6 +26297,34 @@ "length": 42, "value": "\"https:\/\/storage.g7software.net\/microblog\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 268, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 309, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 359, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "StringLiteral", + "offset": 403, + "length": 30, + "value": "\"M2Kit.IAPService.isPurchased\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IntCounter.swift", "kind": "StringLiteral", @@ -26185,31 +26479,38 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", + "kind": "StringLiteral", + "offset": 946, + "length": 18, + "value": "\"yt51.product.pro\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "IntegerLiteral", - "offset": 1372, + "offset": 1420, "length": 1, "value": "0" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1310, + "offset": 1358, "length": 22, "value": "\".kSavedCfgVersionKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1409, + "offset": 1457, "length": 15, "value": "\".kSavedCfgKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 8284, + "offset": 8452, "length": 11, "value": "\"123aA@123\"" }, diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index 61f5232..a9f9faa 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc index ef187a4..28c313f 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 61f5232..a9f9faa 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json index 41e8079..f37135b 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -12650,7 +12650,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12698,7 +12699,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12746,7 +12748,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12794,7 +12797,8 @@ "HasInitialValue", "HasStorage", "Custom", - "AccessControl" + "AccessControl", + "RawDocComment" ], "isLet": true, "hasStorage": true, @@ -12820,6 +12824,208 @@ "accessorKind": "get" } ] + }, + { + "kind": "Function", + "name": "setup", + "printedName": "setup(iapId:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "mangledName": "$s5M2Kit0A3IAPV5setup5iapIdySS_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "isProVersion", + "printedName": "isProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvpZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV12isProVersionSbvgZ", + "mangledName": "$s5M2Kit0A3IAPV12isProVersionSbvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "priceProVersion", + "printedName": "priceProVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "mangledName": "$s5M2Kit0A3IAPV15priceProVersionSSSgvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "fetch", + "printedName": "fetch()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV5fetchyyFZ", + "mangledName": "$s5M2Kit0A3IAPV5fetchyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "purchaseProVersion", + "printedName": "purchaseProVersion()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "mangledName": "$s5M2Kit0A3IAPV18purchaseProVersionyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restorePurchase", + "printedName": "restorePurchase()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3IAPV15restorePurchaseyyFZ", + "mangledName": "$s5M2Kit0A3IAPV15restorePurchaseyyFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -12828,7 +13034,8 @@ "moduleName": "M2Kit", "declAttributes": [ "AccessControl", - "Custom" + "Custom", + "RawDocComment" ], "conformances": [ { @@ -20585,6 +20792,58 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "weightedRandom", + "printedName": "weightedRandom(from:weights:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.Int]", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "mangledName": "$s5M2Kit0A5UtilsV14weightedRandom4from7weightsSSSaySSG_SaySiGtFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "Custom", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -21519,6 +21778,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "StoreKit", + "printedName": "StoreKit", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "Foundation", @@ -25063,33 +25329,33 @@ "kind": "StringLiteral", "offset": 131, "length": 6, - "value": "\"5.24\"" + "value": "\"5.25\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 209, + "offset": 400, "length": 33, "value": "\"IAPPurchasedSuccessNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 315, + "offset": 545, "length": 30, "value": "\"IAPPurchasedFailNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 430, + "offset": 752, "length": 37, "value": "\"IAPProductStatusUpdatedNotification\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "kind": "StringLiteral", - "offset": 551, + "offset": 945, "length": 41, "value": "\"IAPProductsAvailableChangedNotification\"" }, @@ -26031,6 +26297,34 @@ "length": 42, "value": "\"https:\/\/storage.g7software.net\/microblog\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 268, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 309, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "Array", + "offset": 359, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IAPService.swift", + "kind": "StringLiteral", + "offset": 403, + "length": 30, + "value": "\"M2Kit.IAPService.isPurchased\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/IntCounter.swift", "kind": "StringLiteral", @@ -26185,31 +26479,38 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", + "kind": "StringLiteral", + "offset": 946, + "length": 18, + "value": "\"yt51.product.pro\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "IntegerLiteral", - "offset": 1372, + "offset": 1420, "length": 1, "value": "0" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1310, + "offset": 1358, "length": 22, "value": "\".kSavedCfgVersionKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 1409, + "offset": 1457, "length": 15, "value": "\".kSavedCfgKey\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Utils.swift", "kind": "StringLiteral", - "offset": 8284, + "offset": 8452, "length": 11, "value": "\"123aA@123\"" }, diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index 872f8b8..5202839 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index a656d90..dc640cf 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 872f8b8..5202839 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -600,6 +600,18 @@ public let m2Version: Swift.String @_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name @_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name + @_Concurrency.MainActor public static func setup(iapId: Swift.String) + @_Concurrency.MainActor public static var isProVersion: Swift.Bool { + get + } + #if compiler(>=5.3) && $NonescapableTypes + @_Concurrency.MainActor public static var priceProVersion: Swift.String? { + get + } + #endif + @_Concurrency.MainActor public static func fetch() + @_Concurrency.MainActor public static func purchaseProVersion() + @_Concurrency.MainActor public static func restorePurchase() } @_Concurrency.MainActor public struct M2Image { #if compiler(>=5.3) && $NonescapableTypes @@ -994,6 +1006,9 @@ extension M2Kit.M2Utils { @_Concurrency.MainActor public static func randomCode7() -> Swift.String @_Concurrency.MainActor public static func randomCode11() -> Swift.String } +extension M2Kit.M2Utils { + @_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String +} @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController { @_Concurrency.MainActor @objc override dynamic public func viewDidLoad() #if compiler(>=5.3) && $NonescapableTypes diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory index 875ed56..254471e 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources index fde3d88..b46d550 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources @@ -10,47 +10,47 @@ Info.plist - 0Yma+5Fbrxhuw7gEqPNhr7HVzmM= + FRjNoxjlQ0HHFtj+xiPYLxsC4+Q= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json - BEygokct8a+2ZsrKWmWF9jXz13A= + h+ZdUC/y+/SbJnC1H05D/x0D2ME= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - ssjqNB5ubDgX+kuGQKubzZ9tqAY= + OcFGPcgxy3roT4fVDIuhjSGcLLY= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc - 17iYczc6//gqkiI4G7y9mx0BY8E= + rlhF4Sz85tsVwXP20cC7sxNVfdU= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface - ssjqNB5ubDgX+kuGQKubzZ9tqAY= + OcFGPcgxy3roT4fVDIuhjSGcLLY= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule - yRm/7fZf9Smi0D/VDq0Dey4obxE= + mMG8n8Xb/FuwSAe6tXQyUr8lCUI= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json - BEygokct8a+2ZsrKWmWF9jXz13A= + h+ZdUC/y+/SbJnC1H05D/x0D2ME= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - 38Id9RCQFtWcUPZ8vRDdmCjjDj4= + XadabFR8pCLxM/8uvKye4N5kTUM= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - DJJl9YP5NTO7X2eb7ZXVeQmQYok= + Zzze8UGkFrW7XhH60dG4nj8V5Gg= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - 38Id9RCQFtWcUPZ8vRDdmCjjDj4= + XadabFR8pCLxM/8uvKye4N5kTUM= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - MDQWgLjS8R00HhVRsrbRA1ZRlE0= + HzHkZpOsmRcX/6rVtUt1Th9eO+I= Modules/module.modulemap @@ -70,70 +70,70 @@ hash2 - c+nDf1HNPHaSwSLK0xdUkLuOWwfmqtbNyHng18m4LxE= + ob5Jsi9geYadWUeV85kX/cI3KLBRsbfyd9nUdZQovAY= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - 7zJtE2VwoEi++M2vNzXyQf+TUBplFY/34BqpXHVeIpU= + cwfjW3BIFRJiUdxACLBrvrxqDrhsXkIaLPFnyC9xvcM= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - Kz38xbJ2vJt48NGiENswgg5b1q/t/EOAed8xHFwnO4k= + HkOh7YMxbzgmADJSjeS6vE/GEBHJjmNIwp59t2yolt0= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - 7zJtE2VwoEi++M2vNzXyQf+TUBplFY/34BqpXHVeIpU= + cwfjW3BIFRJiUdxACLBrvrxqDrhsXkIaLPFnyC9xvcM= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - uAYR9DWx0PzQjOMq5APAUPmLI2jCzB8+gSR4OtvujmI= + kqNVRVW11QmJeY3GaAfqhhqwp5Lu+DFG/b1JSnvaz60= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - c+nDf1HNPHaSwSLK0xdUkLuOWwfmqtbNyHng18m4LxE= + ob5Jsi9geYadWUeV85kX/cI3KLBRsbfyd9nUdZQovAY= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - +5ye82Pu4EJ+dkLRbNuOTIcOcUlYlqZ31ilbnMngTyE= + 0YIE1xj3KR075SX8jupikjyqMvQnnpCSEx2iqRNYEaA= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - JReO+mkxQ0W/Id5bQVptHfNb8p0SCjgNlHO/0v/qUaE= + XH0bXNW1ZMj5LIOrWPrDm8pg+nh6d78GNxYSnS5wpzY= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - +5ye82Pu4EJ+dkLRbNuOTIcOcUlYlqZ31ilbnMngTyE= + 0YIE1xj3KR075SX8jupikjyqMvQnnpCSEx2iqRNYEaA= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - +ME268vd0/F7e1QGn4dCtBmuPF/lo+5Ky2dnoAXBplw= + tCBElf68iYsYRJ6+CzvQVAHG70q7J+77ZjNGAOIqkt4= Modules/module.modulemap diff --git a/Package.swift b/Package.swift index c68348d..b8c7523 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( products: [ .library( name: "M2Kit", - targets: ["M2Kit"] + targets: ["M2KitWrapper"] ), ], targets: [ @@ -19,5 +19,13 @@ let package = Package( name: "M2Kit", path: "./Frameworks/M2Kit.xcframework" ), + .target( + name: "M2KitWrapper", + dependencies: ["M2Kit"], + path: "Sources/M2KitWrapper", + resources: [ + .copy("Resources/M2Kit.bundle") + ] + ), ] ) diff --git a/README.md b/README.md index f9c0260..7999494 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ M2Kit ===== -5.24 \ No newline at end of file +5.25 \ No newline at end of file diff --git a/Sources/M2KitWrapper/M2KitWrapper.swift b/Sources/M2KitWrapper/M2KitWrapper.swift new file mode 100644 index 0000000..ee88b4d --- /dev/null +++ b/Sources/M2KitWrapper/M2KitWrapper.swift @@ -0,0 +1 @@ +@_exported import M2Kit