Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cd16fd3ce3 | |||
| e6c206197c | |||
| a53e238bb1 | |||
| affc334c65 | |||
| 32e26138f9 | |||
| 23a9ea0820 |
@ -1,6 +1,6 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
@ -324,7 +324,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
||||
#endif
|
||||
|
||||
#elif defined(__x86_64__) && __x86_64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>25D125</string>
|
||||
<string>25D2128</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
@ -17,7 +17,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.19</string>
|
||||
<string>5.25</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
@ -27,19 +27,19 @@
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>25C57</string>
|
||||
<string>25C58</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>macosx</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>26.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>25C57</string>
|
||||
<string>25C58</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>macosx26.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>2620</string>
|
||||
<string>2630</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>17C52</string>
|
||||
<string>17C529</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>13.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
@ -324,7 +324,7 @@ SWIFT_CLASS("_TtC5M2Kit7M2WebVC")
|
||||
#endif
|
||||
|
||||
#elif defined(__x86_64__) && __x86_64__
|
||||
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
#ifndef M2KIT_SWIFT_H
|
||||
#define M2KIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||
// swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
|
||||
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2.3
|
||||
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
|
||||
import Combine
|
||||
import CommonCrypto
|
||||
import Foundation
|
||||
@ -451,7 +451,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannelsEx(result: @escaping (_ channels: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategoryEx(result: @escaping (_ categories: [(category_id: Swift.String, title: Swift.String)]) -> Swift.Void)
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategoryEx(categoryId: Swift.String, result: @escaping (_ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void)
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -516,7 +518,9 @@ extension M2Kit.M2API {
|
||||
@_Concurrency.MainActor public static func topChannels() async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func listCategory() async -> [(category_id: Swift.String, title: Swift.String)]
|
||||
@available(*, deprecated, message: "Old API, not used.")
|
||||
@_Concurrency.MainActor public static func getVideosOfCategory(categoryId: Swift.String) async -> [[Swift.AnyHashable : Any]]
|
||||
}
|
||||
extension M2Kit.M2API {
|
||||
@ -591,6 +595,24 @@ public let m2Version: Swift.String
|
||||
@_Concurrency.MainActor public static func getImageData(url: Foundation.URL) async -> Foundation.Data?
|
||||
#endif
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2IAP {
|
||||
@_Concurrency.MainActor public static let IAPPurchasedSuccessNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPPurchasedFailNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductStatusUpdatedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let IAPProductsAvailableChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func setup(iapId: Swift.String)
|
||||
@_Concurrency.MainActor public static var isProVersion: Swift.Bool {
|
||||
get
|
||||
}
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static var priceProVersion: Swift.String? {
|
||||
get
|
||||
}
|
||||
#endif
|
||||
@_Concurrency.MainActor public static func fetch()
|
||||
@_Concurrency.MainActor public static func purchaseProVersion()
|
||||
@_Concurrency.MainActor public static func restorePurchase()
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Image {
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@_Concurrency.MainActor public static func uploadImage(_ image: UIKit.UIImage, result: @escaping (_ url: Swift.String?) -> Swift.Void)
|
||||
@ -955,10 +977,23 @@ extension M2Kit.M2Radio {
|
||||
}
|
||||
@objc deinit
|
||||
}
|
||||
public enum M2VideoStatus {
|
||||
case none
|
||||
case queueing
|
||||
case loading
|
||||
case done
|
||||
public static func == (a: M2Kit.M2VideoStatus, b: M2Kit.M2VideoStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
@_Concurrency.MainActor public struct M2Utils {
|
||||
@_Concurrency.MainActor public static func workFor(trackID: Swift.String)
|
||||
@_Concurrency.MainActor public static let workForChangedNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static let workForBeginNotification: Foundation.Notification.Name
|
||||
@_Concurrency.MainActor public static func checkExisted(trackID: Swift.String) -> Swift.Bool
|
||||
@_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 filePathOf(trackID: Swift.String) -> Swift.String
|
||||
}
|
||||
@ -971,6 +1006,9 @@ extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func randomCode7() -> Swift.String
|
||||
@_Concurrency.MainActor public static func randomCode11() -> Swift.String
|
||||
}
|
||||
extension M2Kit.M2Utils {
|
||||
@_Concurrency.MainActor public static func weightedRandom(from items: [Swift.String], weights: [Swift.Int]) -> Swift.String
|
||||
}
|
||||
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class M2WebVC : UIKit.UIViewController {
|
||||
@_Concurrency.MainActor @objc override dynamic public func viewDidLoad()
|
||||
#if compiler(>=5.3) && $NonescapableTypes
|
||||
@ -1020,6 +1058,7 @@ extension M2Kit.M2API : Swift.Sendable {}
|
||||
extension M2Kit.M2Backup : Swift.Sendable {}
|
||||
extension M2Kit.M2Feedback : Swift.Sendable {}
|
||||
extension M2Kit.M2HTTP : Swift.Sendable {}
|
||||
extension M2Kit.M2IAP : Swift.Sendable {}
|
||||
extension M2Kit.M2Image : Swift.Sendable {}
|
||||
extension M2Kit.M2K : Swift.Sendable {}
|
||||
extension M2Kit.M2Log : Swift.Sendable {}
|
||||
@ -1028,6 +1067,8 @@ extension M2Kit.M2NetConnecttionType : Swift.Equatable {}
|
||||
extension M2Kit.M2NetConnecttionType : Swift.Hashable {}
|
||||
extension M2Kit.M2NetMonitor : Swift.Sendable {}
|
||||
extension M2Kit.M2Radio : Swift.Sendable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Equatable {}
|
||||
extension M2Kit.M2VideoStatus : Swift.Hashable {}
|
||||
extension M2Kit.M2Utils : Swift.Sendable {}
|
||||
extension M2Kit.M2WebView : Swift.Sendable {}
|
||||
extension M2Kit.M2YTIDType : Swift.Equatable {}
|
||||
|
||||
Binary file not shown.
@ -6,51 +6,51 @@
|
||||
<dict>
|
||||
<key>Headers/M2Kit-Swift.h</key>
|
||||
<data>
|
||||
7Rdmc7huiI6sKd5bwPLEoLlkiYc=
|
||||
r4kMFN4LP5jD9hkwECNbiaNfYuE=
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
UXMZjh4ELCu6mC7nxGOV0V4ryy0=
|
||||
FRjNoxjlQ0HHFtj+xiPYLxsC4+Q=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||
<data>
|
||||
KMCl485QL45y0FDKG4m0qq/9jbk=
|
||||
h+ZdUC/y+/SbJnC1H05D/x0D2ME=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<data>
|
||||
ltByyKO+uLqXI7r0b6cnFGkMQYQ=
|
||||
OcFGPcgxy3roT4fVDIuhjSGcLLY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||
<data>
|
||||
L1ZE0uPSnnbndRLRBhX27frrO1o=
|
||||
rlhF4Sz85tsVwXP20cC7sxNVfdU=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||
<data>
|
||||
ltByyKO+uLqXI7r0b6cnFGkMQYQ=
|
||||
OcFGPcgxy3roT4fVDIuhjSGcLLY=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||
<data>
|
||||
FjElR28wb53QN248dkGaLtEiEgI=
|
||||
mMG8n8Xb/FuwSAe6tXQyUr8lCUI=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||
<data>
|
||||
KMCl485QL45y0FDKG4m0qq/9jbk=
|
||||
h+ZdUC/y+/SbJnC1H05D/x0D2ME=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<data>
|
||||
L03OL9vhttYnH6q0x88bI7VOKRA=
|
||||
XadabFR8pCLxM/8uvKye4N5kTUM=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||
<data>
|
||||
HK2TtOyJP2OIxypINN+SN8Y+Cvg=
|
||||
Zzze8UGkFrW7XhH60dG4nj8V5Gg=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||
<data>
|
||||
L03OL9vhttYnH6q0x88bI7VOKRA=
|
||||
XadabFR8pCLxM/8uvKye4N5kTUM=
|
||||
</data>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||
<data>
|
||||
4ych5qeRmbMxbjkXila6VeqAiPk=
|
||||
HzHkZpOsmRcX/6rVtUt1Th9eO+I=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
@ -63,77 +63,77 @@
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
SzL7aZykET1tYTLu2DE+CPYFwYoxjE/pNa2/+qsMmJk=
|
||||
Dszwi9Eu7vRHTMDU7owRRrAavROd3MDCuhnT6y51K6I=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
RtG4yNwpGU9EBZGzam8y8jsitAl7merf7XGqNWzPV5g=
|
||||
ob5Jsi9geYadWUeV85kX/cI3KLBRsbfyd9nUdZQovAY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
h6I2DIe3SsG549SkUO+2inxCl2iG/UGuB+IwtWj2ikA=
|
||||
cwfjW3BIFRJiUdxACLBrvrxqDrhsXkIaLPFnyC9xvcM=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
Hj6cXoyFvKFEZFb+nynmECAto2DJHn/6OQE34s9Upmw=
|
||||
HkOh7YMxbzgmADJSjeS6vE/GEBHJjmNIwp59t2yolt0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
h6I2DIe3SsG549SkUO+2inxCl2iG/UGuB+IwtWj2ikA=
|
||||
cwfjW3BIFRJiUdxACLBrvrxqDrhsXkIaLPFnyC9xvcM=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
hIEH2wbpKx4m4IsckwXqZe9gos7iXELOSCq4Sgv/D+Q=
|
||||
kqNVRVW11QmJeY3GaAfqhhqwp5Lu+DFG/b1JSnvaz60=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
RtG4yNwpGU9EBZGzam8y8jsitAl7merf7XGqNWzPV5g=
|
||||
ob5Jsi9geYadWUeV85kX/cI3KLBRsbfyd9nUdZQovAY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
GX2SsSbGCHgGJ627S2XHU+R+7Z1C7dQL1XU5GFGi11A=
|
||||
0YIE1xj3KR075SX8jupikjyqMvQnnpCSEx2iqRNYEaA=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
90gsLAcPijC4sB5B5DyX1RGcthuvJ/JvWLpEF23dE20=
|
||||
XH0bXNW1ZMj5LIOrWPrDm8pg+nh6d78GNxYSnS5wpzY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
GX2SsSbGCHgGJ627S2XHU+R+7Z1C7dQL1XU5GFGi11A=
|
||||
0YIE1xj3KR075SX8jupikjyqMvQnnpCSEx2iqRNYEaA=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
a+TB+O9kgMJSljsSkaDrbOS3onmFLIRiGzyxhT82d30=
|
||||
tCBElf68iYsYRJ6+CzvQVAHG70q7J+77ZjNGAOIqkt4=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/module.modulemap</key>
|
||||
|
||||
@ -11,7 +11,7 @@ let package = Package(
|
||||
products: [
|
||||
.library(
|
||||
name: "M2Kit",
|
||||
targets: ["M2Kit"]
|
||||
targets: ["M2KitWrapper"]
|
||||
),
|
||||
],
|
||||
targets: [
|
||||
@ -19,5 +19,13 @@ let package = Package(
|
||||
name: "M2Kit",
|
||||
path: "./Frameworks/M2Kit.xcframework"
|
||||
),
|
||||
.target(
|
||||
name: "M2KitWrapper",
|
||||
dependencies: ["M2Kit"],
|
||||
path: "Sources/M2KitWrapper",
|
||||
resources: [
|
||||
.copy("Resources/M2Kit.bundle")
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
1
Sources/M2KitWrapper/M2KitWrapper.swift
Normal file
1
Sources/M2KitWrapper/M2KitWrapper.swift
Normal file
@ -0,0 +1 @@
|
||||
@_exported import M2Kit
|
||||
Reference in New Issue
Block a user