2 Commits

Author SHA1 Message Date
1db8869bb6 5.36 2026-06-28 12:34:08 +07:00
64da58b93a 5.35 2026-06-26 16:44:13 +07:00
32 changed files with 2522 additions and 572 deletions

View File

@ -1,6 +1,6 @@
#if 0 #if 0
#elif defined(__arm64__) && __arm64__ #elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
#ifndef M2KIT_SWIFT_H #ifndef M2KIT_SWIFT_H
#define M2KIT_SWIFT_H #define M2KIT_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
} }
], ],
"declKind": "Struct", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}
],
"declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,93 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Var",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"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:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "get"
},
{
"kind": "Accessor",
"name": "Set",
"printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "set"
},
{
"kind": "Accessor",
"name": "Modify",
"printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"accessorKind": "_modify"
}
]
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23229,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23250,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25202,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25916,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26336,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26361,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26476,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26534,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.36\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26620,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27267,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -1,6 +1,6 @@
#if 0 #if 0
#elif defined(__arm64__) && __arm64__ #elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
#ifndef M2KIT_SWIFT_H #ifndef M2KIT_SWIFT_H
#define M2KIT_SWIFT_H #define M2KIT_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push
@ -389,7 +389,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
#endif #endif
#elif defined(__x86_64__) && __x86_64__ #elif defined(__x86_64__) && __x86_64__
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
#ifndef M2KIT_SWIFT_H #ifndef M2KIT_SWIFT_H
#define M2KIT_SWIFT_H #define M2KIT_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
} }
], ],
"declKind": "Struct", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}
],
"declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,93 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Var",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"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:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "get"
},
{
"kind": "Accessor",
"name": "Set",
"printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "set"
},
{
"kind": "Accessor",
"name": "Modify",
"printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"accessorKind": "_modify"
}
]
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23229,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23250,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25202,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25916,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26336,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26361,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26476,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26534,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.36\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26620,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27267,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
} }
], ],
"declKind": "Struct", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}
],
"declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,93 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Var",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"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:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "get"
},
{
"kind": "Accessor",
"name": "Set",
"printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "set"
},
{
"kind": "Accessor",
"name": "Modify",
"printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"accessorKind": "_modify"
}
]
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23229,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23250,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25202,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25916,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26336,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26361,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26476,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26534,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.36\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26620,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27267,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>5.34</string> <string>5.36</string>
<key>CFBundleSupportedPlatforms</key> <key>CFBundleSupportedPlatforms</key>
<array> <array>
<string>MacOSX</string> <string>MacOSX</string>
@ -37,9 +37,9 @@
<key>DTSDKName</key> <key>DTSDKName</key>
<string>macosx26.5</string> <string>macosx26.5</string>
<key>DTXcode</key> <key>DTXcode</key>
<string>2650</string> <string>2660</string>
<key>DTXcodeBuild</key> <key>DTXcodeBuild</key>
<string>17F42</string> <string>17F113</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>13.0</string> <string>13.0</string>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>

View File

@ -1,6 +1,6 @@
#if 0 #if 0
#elif defined(__arm64__) && __arm64__ #elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
#ifndef M2KIT_SWIFT_H #ifndef M2KIT_SWIFT_H
#define M2KIT_SWIFT_H #define M2KIT_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push
@ -389,7 +389,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
#endif #endif
#elif defined(__x86_64__) && __x86_64__ #elif defined(__x86_64__) && __x86_64__
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
#ifndef M2KIT_SWIFT_H #ifndef M2KIT_SWIFT_H
#define M2KIT_SWIFT_H #define M2KIT_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
} }
], ],
"declKind": "Struct", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}
],
"declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,93 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Var",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"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:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "get"
},
{
"kind": "Accessor",
"name": "Set",
"printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "set"
},
{
"kind": "Accessor",
"name": "Modify",
"printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"accessorKind": "_modify"
}
]
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23229,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23250,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25202,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25916,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26336,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26361,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26476,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26534,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.36\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26620,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27267,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -32,6 +32,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "Import", "kind": "Import",
"name": "Foundation", "name": "Foundation",
@ -13841,6 +13848,13 @@
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{
"kind": "Import",
"name": "Combine",
"printedName": "Combine",
"declKind": "Import",
"moduleName": "M2Kit"
},
{ {
"kind": "TypeDecl", "kind": "TypeDecl",
"name": "M2NetConnecttionType", "name": "M2NetConnecttionType",
@ -14135,43 +14149,56 @@
"printedName": "M2NetMonitor", "printedName": "M2NetMonitor",
"children": [ "children": [
{ {
"kind": "Function", "kind": "Var",
"name": "start", "name": "shared",
"printedName": "start(monitorHandler:)", "printedName": "shared",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "M2NetMonitor",
"printedName": "()" "printedName": "M2Kit.M2NetMonitor",
}, "usr": "s:5M2Kit0A10NetMonitorC"
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Bool) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
]
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "usr": "s:5M2Kit0A10NetMonitorC6sharedACvpZ",
"mangledName": "$s5M2Kit0A10NetMonitorV5start14monitorHandleryySbc_tF", "mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvpZ",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"static": true,
"declAttributes": [ "declAttributes": [
"HasInitialValue",
"Final",
"HasStorage",
"Custom", "Custom",
"AccessControl" "AccessControl"
], ],
"funcSelfKind": "NonMutating" "isLet": true,
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "M2NetMonitor",
"printedName": "M2Kit.M2NetMonitor",
"usr": "s:5M2Kit0A10NetMonitorC"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC6sharedACvgZ",
"mangledName": "$s5M2Kit0A10NetMonitorC6sharedACvgZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}, },
{ {
"kind": "Var", "kind": "Var",
@ -14186,12 +14213,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvp", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvp",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvp", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14207,9 +14238,59 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV11isConnectedSbvg", "usr": "s:5M2Kit0A10NetMonitorC11isConnectedSbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV11isConnectedSbvg", "mangledName": "$s5M2Kit0A10NetMonitorC11isConnectedSbvg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isConnected",
"printedName": "$isConnected",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC12$isConnected7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
@ -14227,12 +14308,16 @@
} }
], ],
"declKind": "Var", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovp", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom"
], ],
"accessors": [ "accessors": [
{ {
@ -14248,44 +14333,193 @@
} }
], ],
"declKind": "Accessor", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "usr": "s:5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"mangledName": "$s5M2Kit0A10NetMonitorV14connectionTypeAA0ac11ConnecttionF0Ovg", "mangledName": "$s5M2Kit0A10NetMonitorC14connectionTypeAA0ac11ConnecttionF0Ovg",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get" "accessorKind": "get"
} }
] ]
}, },
{ {
"kind": "Function", "kind": "Var",
"name": "stop", "name": "$connectionType",
"printedName": "stop()", "printedName": "$connectionType",
"children": [ "children": [
{ {
"kind": "TypeNominal", "kind": "TypeNominal",
"name": "Void", "name": "Publisher",
"printedName": "()" "printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
} }
], ],
"declKind": "Func", "declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorV4stopyyF", "usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorV4stopyyF", "mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<M2Kit.M2NetConnecttionType>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC15$connectionType7Combine9PublishedV9PublisherVyAA0ac11ConnecttionF0O_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "isReady",
"printedName": "isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC7isReadySbvp",
"mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvp",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"Custom", "Custom",
"AccessControl" "ProjectedValueProperty",
"SetterAccess",
"AccessControl",
"Custom",
"RawDocComment"
], ],
"funcSelfKind": "NonMutating" "accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
} }
], ],
"declKind": "Struct", "declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorV", "usr": "s:5M2Kit0A10NetMonitorC7isReadySbvg",
"mangledName": "$s5M2Kit0A10NetMonitorV", "mangledName": "$s5M2Kit0A10NetMonitorC7isReadySbvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "$isReady",
"printedName": "$isReady",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvp",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final",
"Custom"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Publisher",
"printedName": "Combine.Published<Swift.Bool>.Publisher",
"usr": "s:7Combine9PublishedV9PublisherV"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"mangledName": "$s5M2Kit0A10NetMonitorC8$isReady7Combine9PublishedV9PublisherVySb_Gvg",
"moduleName": "M2Kit",
"implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
}
]
}
],
"declKind": "Class",
"usr": "s:5M2Kit0A10NetMonitorC",
"mangledName": "$s5M2Kit0A10NetMonitorC",
"moduleName": "M2Kit", "moduleName": "M2Kit",
"declAttributes": [ "declAttributes": [
"Final",
"AccessControl", "AccessControl",
"Custom" "Custom"
], ],
"hasMissingDesignatedInitializers": true,
"conformances": [ "conformances": [
{
"kind": "Conformance",
"name": "ObservableObject",
"printedName": "ObservableObject",
"children": [
{
"kind": "TypeWitness",
"name": "ObjectWillChangePublisher",
"printedName": "ObjectWillChangePublisher",
"children": [
{
"kind": "TypeNominal",
"name": "ObservableObjectPublisher",
"printedName": "Combine.ObservableObjectPublisher",
"usr": "s:7Combine25ObservableObjectPublisherC"
}
]
}
],
"usr": "s:7Combine16ObservableObjectP",
"mangledName": "$s7Combine16ObservableObjectP"
},
{ {
"kind": "Conformance", "kind": "Conformance",
"name": "Copyable", "name": "Copyable",
@ -21891,6 +22125,93 @@
], ],
"funcSelfKind": "NonMutating" "funcSelfKind": "NonMutating"
}, },
{
"kind": "Var",
"name": "enableWorkForInCellularNetwork",
"printedName": "enableWorkForInCellularNetwork",
"children": [
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Var",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvpZ",
"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:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvgZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "get"
},
{
"kind": "Accessor",
"name": "Set",
"printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Bool",
"printedName": "Swift.Bool",
"usr": "s:Sb"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvsZ",
"moduleName": "M2Kit",
"static": true,
"accessorKind": "set"
},
{
"kind": "Accessor",
"name": "Modify",
"printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Accessor",
"usr": "s:5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"mangledName": "$s5M2Kit0A5UtilsV30enableWorkForInCellularNetworkSbvMZ",
"moduleName": "M2Kit",
"static": true,
"implicit": true,
"accessorKind": "_modify"
}
]
},
{ {
"kind": "Var", "kind": "Var",
"name": "countryCode", "name": "countryCode",
@ -22908,15 +23229,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "WebKit", "name": "JavaScriptCore",
"printedName": "WebKit", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "M2KitMacros",
"printedName": "JavaScriptCore", "printedName": "M2KitMacros",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -22929,15 +23250,15 @@
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "JavaScriptCore", "name": "WebKit",
"printedName": "JavaScriptCore", "printedName": "WebKit",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
{ {
"kind": "Import", "kind": "Import",
"name": "M2KitMacros", "name": "JavaScriptCore",
"printedName": "M2KitMacros", "printedName": "JavaScriptCore",
"declKind": "Import", "declKind": "Import",
"moduleName": "M2Kit" "moduleName": "M2Kit"
}, },
@ -24881,77 +25202,77 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 258, "offset": 256,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 277, "offset": 275,
"length": 1, "length": 1,
"value": "8" "value": "8"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 296, "offset": 294,
"length": 2, "length": 2,
"value": "16" "value": "16"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 318, "offset": 316,
"length": 2, "length": 2,
"value": "24" "value": "24"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 337, "offset": 335,
"length": 2, "length": 2,
"value": "32" "value": "32"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 359, "offset": 357,
"length": 2, "length": 2,
"value": "40" "value": "40"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 379, "offset": 377,
"length": 2, "length": 2,
"value": "48" "value": "48"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 399, "offset": 397,
"length": 2, "length": 2,
"value": "56" "value": "56"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1065, "offset": 1063,
"length": 14, "length": 14,
"value": "\"HH:mm:ss.SSS\"" "value": "\"HH:mm:ss.SSS\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1262, "offset": 1260,
"length": 3, "length": 3,
"value": "\" \"" "value": "\" \""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/CFUtils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1288, "offset": 1286,
"length": 4, "length": 4,
"value": "\"\n\"" "value": "\"\n\""
}, },
@ -25595,7 +25916,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 345, "offset": 413,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Core\/NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 467,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26008,14 +26336,14 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1624, "offset": 1631,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/UserDefaultsWrapper.swift",
"kind": "BooleanLiteral", "kind": "BooleanLiteral",
"offset": 1843, "offset": 1850,
"length": 5, "length": 5,
"value": "false" "value": "false"
}, },
@ -26033,73 +26361,87 @@
"length": 14, "length": 14,
"value": "\".kBackupCode\"" "value": "\".kBackupCode\""
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "BooleanLiteral",
"offset": 399,
"length": 4,
"value": "true"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 381, "offset": 327,
"length": 25,
"value": "\".kEnableWorkForCellular\""
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral",
"offset": 493,
"length": 4, "length": 4,
"value": "\"US\"" "value": "\"US\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 327, "offset": 439,
"length": 15, "length": 15,
"value": "\".kCountryCode\"" "value": "\".kCountryCode\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 730, "offset": 842,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 842, "offset": 954,
"length": 2, "length": 2,
"value": "\"\"" "value": "\"\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 1331, "offset": 1443,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1269, "offset": 1381,
"length": 22, "length": 22,
"value": "\".kSavedCfgVersionKey\"" "value": "\".kSavedCfgVersionKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 1368, "offset": 1480,
"length": 15, "length": 15,
"value": "\".kSavedCfgKey\"" "value": "\".kSavedCfgKey\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 8267, "offset": 8379,
"length": 11, "length": 11,
"value": "\"123aA@123\"" "value": "\"123aA@123\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 150, "offset": 153,
"length": 12, "length": 12,
"value": "\"image\/jpeg\"" "value": "\"image\/jpeg\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Helper\/Utils++V4.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 191, "offset": 194,
"length": 18, "length": 18,
"value": "\"application\/json\"" "value": "\"application\/json\""
}, },
@ -26134,56 +26476,56 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 3766, "offset": 3765,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 3951, "offset": 3950,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "Dictionary", "kind": "Dictionary",
"offset": 4009, "offset": 4008,
"length": 3, "length": 3,
"value": "[]" "value": "[]"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5667, "offset": 5666,
"length": 1, "length": 1,
"value": "0" "value": "0"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5750, "offset": 5749,
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5843, "offset": 5842,
"length": 1, "length": 1,
"value": "2" "value": "2"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 5948, "offset": 5947,
"length": 1, "length": 1,
"value": "3" "value": "3"
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/JSCore\/XMLHttpRequest.swift",
"kind": "IntegerLiteral", "kind": "IntegerLiteral",
"offset": 6042, "offset": 6041,
"length": 1, "length": 1,
"value": "4" "value": "4"
}, },
@ -26192,7 +26534,7 @@
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 131, "offset": 131,
"length": 6, "length": 6,
"value": "\"5.34\"" "value": "\"5.36\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2IAP.swift",
@ -26278,6 +26620,20 @@
"length": 1, "length": 1,
"value": "1" "value": "1"
}, },
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 392,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2NetMonitor.swift",
"kind": "BooleanLiteral",
"offset": 578,
"length": 5,
"value": "false"
},
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Setting.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
@ -26911,19 +27267,19 @@
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 807, "offset": 1112,
"length": 16, "length": 16,
"value": "\"workForChanged\"" "value": "\"workForChanged\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Public\/M2Utils.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 934, "offset": 1239,
"length": 14, "length": 14,
"value": "\"workForBegin\"" "value": "\"workForBegin\""
}, },
{ {
"filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MTWebpage.swift", "filePath": "\/Users\/cuongkc\/Projects\/M2Kit\/M2Kit\/Radio\/MyTunerWebPage.swift",
"kind": "StringLiteral", "kind": "StringLiteral",
"offset": 296, "offset": 296,
"length": 35, "length": 35,

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -1,7 +1,7 @@
// swift-interface-format-version: 1.0 // swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit // swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name M2Kit
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
import AVFoundation import AVFoundation
import Combine import Combine
import CommonCrypto import CommonCrypto
@ -537,15 +537,28 @@ public enum M2NetConnecttionType {
get get
} }
} }
@_Concurrency.MainActor public struct M2NetMonitor { @_hasMissingDesignatedInitializers @_Concurrency.MainActor final public class M2NetMonitor : Foundation.ObservableObject {
@_Concurrency.MainActor public func start(monitorHandler: @escaping (_ isConnected: Swift.Bool) -> Swift.Void) @_Concurrency.MainActor public static let shared: M2Kit.M2NetMonitor
@_Concurrency.MainActor public var isConnected: Swift.Bool { @Combine.Published<Swift.Bool> @_projectedValueProperty($isConnected) @_Concurrency.MainActor final public var isConnected: Swift.Bool {
get get
} }
@_Concurrency.MainActor public var connectionType: M2Kit.M2NetConnecttionType { @_Concurrency.MainActor final public var $isConnected: Combine.Published<Swift.Bool>.Publisher {
get get
} }
@_Concurrency.MainActor public func stop() @Combine.Published<M2Kit.M2NetConnecttionType> @_projectedValueProperty($connectionType) @_Concurrency.MainActor final public var connectionType: M2Kit.M2NetConnecttionType {
get
}
@_Concurrency.MainActor final public var $connectionType: Combine.Published<M2Kit.M2NetConnecttionType>.Publisher {
get
}
@Combine.Published<Swift.Bool> @_projectedValueProperty($isReady) @_Concurrency.MainActor final public var isReady: Swift.Bool {
get
}
@_Concurrency.MainActor final public var $isReady: Combine.Published<Swift.Bool>.Publisher {
get
}
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
@objc deinit
} }
@_Concurrency.MainActor public struct M2Radio { @_Concurrency.MainActor public struct M2Radio {
} }
@ -888,6 +901,10 @@ public enum M2VideoStatus {
@_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus @_Concurrency.MainActor public static func checkStatus(trackID: Swift.String) -> M2Kit.M2VideoStatus
@_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String) @_Concurrency.MainActor public static func deleteDataOf(trackID: Swift.String)
@_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String @_Concurrency.MainActor public static func filePathOf(trackID: Swift.String) -> Swift.String
@_Concurrency.MainActor public static var enableWorkForInCellularNetwork: Swift.Bool {
get
set
}
} }
extension M2Kit.M2Utils { extension M2Kit.M2Utils {
@_Concurrency.MainActor public static var countryCode: Swift.String { @_Concurrency.MainActor public static var countryCode: Swift.String {

View File

@ -6,51 +6,51 @@
<dict> <dict>
<key>Headers/M2Kit-Swift.h</key> <key>Headers/M2Kit-Swift.h</key>
<data> <data>
kmG9FyD9DX6qXcD4xPSiHdPdJno= 5l6juoiZCwewcWEb8quzyP23EIk=
</data> </data>
<key>Info.plist</key> <key>Info.plist</key>
<data> <data>
hBQql2f1nqzZr8ThrAKMBmxOIOo= WEaTXSgP3lwvKkhQqczSqK0yxPY=
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<data> <data>
DLFiYWNfE3LWDaPf90sW+sjd5No= QeTXsC9yosyQ9X+YFk+a2r/y42I=
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<data> <data>
5sV9ST5PvM1vUAWG81tv+P3XibI= Xqs8pdYOosfUq4w2gfRosOnPID0=
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<data> <data>
S9OsWJUQD1hEJGWTQaX8blYkrGc= t7hju5Q2fTz/8pzSFCcH2W1Hb2s=
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<data> <data>
5sV9ST5PvM1vUAWG81tv+P3XibI= Xqs8pdYOosfUq4w2gfRosOnPID0=
</data> </data>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<data> <data>
mHcFrolkGKA1Yg4/MC1ah6YnZYw= 7lwg246ETTWbvojdUGf3/1bIsLU=
</data> </data>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<data> <data>
DLFiYWNfE3LWDaPf90sW+sjd5No= QeTXsC9yosyQ9X+YFk+a2r/y42I=
</data> </data>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<data> <data>
pxKt6HpTwry7qw5k/SvavxYlDIk= r/b5me54Y0V8jt1yqVcJXrJPk6w=
</data> </data>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<data> <data>
jK7v8hdpcUDe+oT6qlP+LLeC6IA= ARr2JooJDNFvtN5YiXdQEpbjr2I=
</data> </data>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<data> <data>
pxKt6HpTwry7qw5k/SvavxYlDIk= r/b5me54Y0V8jt1yqVcJXrJPk6w=
</data> </data>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<data> <data>
/gtcbPmxPuElEwYdN5GDnHF9i/c= xC50OgUSm57IvVoK1q9fC1sXA08=
</data> </data>
<key>Modules/module.modulemap</key> <key>Modules/module.modulemap</key>
<data> <data>
@ -63,77 +63,77 @@
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
3evUDBP/zWRzYV+plW5UscRxYX/JefrPAAkcJBYkCC0= kzJbTMiNG/8AwCCKuJBbuRHa207TWEDBYpIa4QK/FuM=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
umCu+f7IAazsTjTEHq8RXZ9D8wStad6NqkZh7xJGSOs= cgj+I5wEhrTXPKco/1hnOVOXKcOtfzok7IeH6w9lmAE=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
JcLskbl1EF3whhLrSuxtLszpnCec1EI40i+/E4VXdRY= l05wMw7rC2WukkJmQ2eNHD+GKtJ3cet5JvId2HlRRvs=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
uAT9a3g3MJTMtQ7sftLak3vUNNfZf+A85/ZxU1IXW/g= enffOo0+rfwtmjqAmfixCv8VRIDLj3jKHs1twjrUH90=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
JcLskbl1EF3whhLrSuxtLszpnCec1EI40i+/E4VXdRY= l05wMw7rC2WukkJmQ2eNHD+GKtJ3cet5JvId2HlRRvs=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key> <key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
DM2UJ84/QGSG7nEZW8jReJb+aK2UHN+x01ImO2t23LI= GaSMPMvfgj+b5jH17gC/ruq49YIk8q0BDcTkkJU+TzY=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
umCu+f7IAazsTjTEHq8RXZ9D8wStad6NqkZh7xJGSOs= cgj+I5wEhrTXPKco/1hnOVOXKcOtfzok7IeH6w9lmAE=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
xe8+e4yJbAY3LD3Q49dHSCRB3IUuHkm0IQ3l6kvE2cg= FYvG+RLiaPkWsh5KdXOsZ+UswwwKyJ6IoyKCqCIearE=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
IqxkHSi13uvRbjPTExbZYmIViVLJRKvDO1oi2+WA/D4= qv1+sllWc6tfxZdD138EP/OJpco8Xwm1iPLMhU4L8iU=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
xe8+e4yJbAY3LD3Q49dHSCRB3IUuHkm0IQ3l6kvE2cg= FYvG+RLiaPkWsh5KdXOsZ+UswwwKyJ6IoyKCqCIearE=
</data> </data>
</dict> </dict>
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key> <key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<dict> <dict>
<key>hash2</key> <key>hash2</key>
<data> <data>
WmydAffhAHU9YFfiNqDxUSDu0A+cz37r2ECVA7QlmoE= jV7SGvRCtVUPJTtYwLz4Xm9LBFIqEtjLdhyV9ghsdqU=
</data> </data>
</dict> </dict>
<key>Modules/module.modulemap</key> <key>Modules/module.modulemap</key>

View File

@ -1,3 +1,3 @@
M2Kit M2Kit
===== =====
5.34 5.36