diff --git a/Sources/PubNub/Events/New/SubscriptionListenersContainer.swift b/Sources/PubNub/Events/New/SubscriptionListenersContainer.swift index b7a4e308..51671fcf 100644 --- a/Sources/PubNub/Events/New/SubscriptionListenersContainer.swift +++ b/Sources/PubNub/Events/New/SubscriptionListenersContainer.swift @@ -13,7 +13,7 @@ import Foundation class SubscriptionListenersContainer { private let eventListenersCache: Atomic<[UUID: EventListener]> = Atomic([:]) private let statusListenersCache: Atomic<[UUID: StatusListener]> = Atomic([:]) - + var eventListeners: [EventListener] { eventListenersCache.lockedRead { $0.values.compactMap { $0 } } } diff --git a/Sources/PubNub/KMP/KMPPubNub +ChannelGroups.swift b/Sources/PubNub/KMP/KMPPubNub +ChannelGroups.swift index df485e0a..ae68113d 100644 --- a/Sources/PubNub/KMP/KMPPubNub +ChannelGroups.swift +++ b/Sources/PubNub/KMP/KMPPubNub +ChannelGroups.swift @@ -7,19 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - -// MARK: - Channel group management - @objc public extension KMPPubNub { func addChannels( diff --git a/Sources/PubNub/KMP/KMPPubNub +MessageActions.swift b/Sources/PubNub/KMP/KMPPubNub +MessageActions.swift index 4b2119d7..35ec3b9f 100644 --- a/Sources/PubNub/KMP/KMPPubNub +MessageActions.swift +++ b/Sources/PubNub/KMP/KMPPubNub +MessageActions.swift @@ -7,19 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - -// MARK: - Message Actions - @objc public extension KMPPubNub { func addMessageAction( diff --git a/Sources/PubNub/KMP/KMPPubNub +Presence.swift b/Sources/PubNub/KMP/KMPPubNub +Presence.swift index 2ad80fe8..ed613244 100644 --- a/Sources/PubNub/KMP/KMPPubNub +Presence.swift +++ b/Sources/PubNub/KMP/KMPPubNub +Presence.swift @@ -7,19 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - -// MARK: - Presence - @objc public extension KMPPubNub { func hereNow( @@ -103,6 +100,7 @@ public extension KMPPubNub { } } + // swiftlint:disable todo // TODO: It's not possible to set Presence state other than [String: JSONCodableScalar] in Swift SDK func setPresenceState( @@ -125,4 +123,6 @@ public extension KMPPubNub { } } } + + // swiftlint:enable todo } diff --git a/Sources/PubNub/KMP/KMPPubNub+AppContext.swift b/Sources/PubNub/KMP/KMPPubNub+AppContext.swift index fc8d8204..32d5f761 100644 --- a/Sources/PubNub/KMP/KMPPubNub+AppContext.swift +++ b/Sources/PubNub/KMP/KMPPubNub+AppContext.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - extension KMPPubNub { private func objectSortProperties(from properties: [KMPObjectSortProperty]) -> [PubNub.ObjectSortField] { properties.compactMap { @@ -58,6 +57,7 @@ extension KMPPubNub { } } + // swiftlint:disable todo // TODO: Swift SDK allows to sort by the status field, it's not present in KMP private func mapToMembershipSortFields(from array: [String]) -> [PubNub.MembershipSortField] { @@ -76,6 +76,8 @@ extension KMPPubNub { } } } + + // swiftlint:enable todo } @objc diff --git a/Sources/PubNub/KMP/KMPPubNub+Files.swift b/Sources/PubNub/KMP/KMPPubNub+Files.swift index 5fe61971..06c836ad 100644 --- a/Sources/PubNub/KMP/KMPPubNub+Files.swift +++ b/Sources/PubNub/KMP/KMPPubNub+Files.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - extension KMPPubNub { var defaultFileDownloadPath: URL { FileManager.default.temporaryDirectory.appendingPathComponent("pubnub-chat-sdk") @@ -97,6 +96,7 @@ public extension KMPPubNub { } } + // swiftlint:disable todo // TODO: Missing contentType and fileSize from KMP which are required in Swift SDK func publishFileMessage( @@ -144,6 +144,8 @@ public extension KMPPubNub { } } + // swiftlint:enable todo + func downloadFile( channel: String, fileName: String, diff --git a/Sources/PubNub/KMP/KMPPubNub+History.swift b/Sources/PubNub/KMP/KMPPubNub+History.swift index c0323bf4..3e471fe7 100644 --- a/Sources/PubNub/KMP/KMPPubNub+History.swift +++ b/Sources/PubNub/KMP/KMPPubNub+History.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public extension KMPPubNub { func fetchMessages( @@ -54,6 +53,7 @@ public extension KMPPubNub { } } + // swiftlint:disable todo // TODO: Deleting history from more than one channel isn't supported in Swift SDK func deleteMessages( @@ -84,6 +84,8 @@ public extension KMPPubNub { } } + // swiftlint:enable todo + func messageCounts( for channels: [String], channelsTimetokens: [Timetoken], diff --git a/Sources/PubNub/KMP/KMPPubNub+Listeners.swift b/Sources/PubNub/KMP/KMPPubNub+Listeners.swift index 3afd457f..041c4de8 100644 --- a/Sources/PubNub/KMP/KMPPubNub+Listeners.swift +++ b/Sources/PubNub/KMP/KMPPubNub+Listeners.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - extension KMPPubNub { func createEventListener(from listener: KMPEventListener) -> EventListener { EventListener( diff --git a/Sources/PubNub/KMP/KMPPubNub+Publish.swift b/Sources/PubNub/KMP/KMPPubNub+Publish.swift index c008acff..0809a141 100644 --- a/Sources/PubNub/KMP/KMPPubNub+Publish.swift +++ b/Sources/PubNub/KMP/KMPPubNub+Publish.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - // MARK: - Publish extension KMPPubNub { diff --git a/Sources/PubNub/KMP/KMPPubNub+Push.swift b/Sources/PubNub/KMP/KMPPubNub+Push.swift index a2ecbebf..3a7d1078 100644 --- a/Sources/PubNub/KMP/KMPPubNub+Push.swift +++ b/Sources/PubNub/KMP/KMPPubNub+Push.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - extension KMPPubNub { func pushService(from rawString: String) -> PubNub.PushService? { switch rawString { diff --git a/Sources/PubNub/KMP/KMPPubNub+Subscribe.swift b/Sources/PubNub/KMP/KMPPubNub+Subscribe.swift index 63219675..f16fde6f 100644 --- a/Sources/PubNub/KMP/KMPPubNub+Subscribe.swift +++ b/Sources/PubNub/KMP/KMPPubNub+Subscribe.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - // MARK: - Subscribed channels & channel groups @objc diff --git a/Sources/PubNub/KMP/KMPPubNub+Time.swift b/Sources/PubNub/KMP/KMPPubNub+Time.swift index 6faa2778..7458e23c 100644 --- a/Sources/PubNub/KMP/KMPPubNub+Time.swift +++ b/Sources/PubNub/KMP/KMPPubNub+Time.swift @@ -7,19 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - -// MARK: - Time - @objc public extension KMPPubNub { func time( diff --git a/Sources/PubNub/KMP/KMPPubNub.swift b/Sources/PubNub/KMP/KMPPubNub.swift index 158fd0c3..f884773a 100644 --- a/Sources/PubNub/KMP/KMPPubNub.swift +++ b/Sources/PubNub/KMP/KMPPubNub.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes.. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes.. - @objc public class KMPPubNub: NSObject { let pubnub: PubNub diff --git a/Sources/PubNub/KMP/Wrappers/KMPAnyJSON.swift b/Sources/PubNub/KMP/Wrappers/KMPAnyJSON.swift index 86ab7d16..9df611c5 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPAnyJSON.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPAnyJSON.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPAnyJSON: NSObject { public let value: AnyJSON diff --git a/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift b/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift index b2665b22..e92cc4cf 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - // MARK: - KMPAppContextEventResult @objc @@ -32,6 +31,7 @@ public class KMPAppContextEventResult: NSObject { @objc public let event: String @objc public let type: String + // swiftlint:disable todo // TODO: These parameters are not retrieved from Swift SDK init( @@ -55,6 +55,8 @@ public class KMPAppContextEventResult: NSObject { self.userMetadata = if let metadata = userMetadata { KMPAnyJSON(metadata.codableValue) } else { nil } self.publisher = publisher } + + // swiftlint:enable todo } // MARK: - KMPSetUUIDMetadataResult diff --git a/Sources/PubNub/KMP/Wrappers/KMPEntity.swift b/Sources/PubNub/KMP/Wrappers/KMPEntity.swift index da930cfd..9c11208a 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPEntity.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPEntity.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPEntity: NSObject { let entity: Subscribable diff --git a/Sources/PubNub/KMP/Wrappers/KMPError.swift b/Sources/PubNub/KMP/Wrappers/KMPError.swift index 61731645..1792ca05 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPError.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPError.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPError: NSError { let underlying: Error diff --git a/Sources/PubNub/KMP/Wrappers/KMPEventListener.swift b/Sources/PubNub/KMP/Wrappers/KMPEventListener.swift index f3bbe625..6973215a 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPEventListener.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPEventListener.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPEventListener: NSObject { @objc public let uuid: UUID diff --git a/Sources/PubNub/KMP/Wrappers/KMPFetchMessagesResult.swift b/Sources/PubNub/KMP/Wrappers/KMPFetchMessagesResult.swift index 13147269..32417c4c 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPFetchMessagesResult.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPFetchMessagesResult.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPFetchMessagesResult: NSObject { @objc public let messages: [String: [KMPMessage]] diff --git a/Sources/PubNub/KMP/Wrappers/KMPFileChangeEvent.swift b/Sources/PubNub/KMP/Wrappers/KMPFileChangeEvent.swift index 2734a512..123687d9 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPFileChangeEvent.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPFileChangeEvent.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPFileChangeEvent: NSObject { @objc public let channel: String diff --git a/Sources/PubNub/KMP/Wrappers/KMPHashedPage.swift b/Sources/PubNub/KMP/Wrappers/KMPHashedPage.swift index d4b45ef0..82c12e4b 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPHashedPage.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPHashedPage.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPHashedPage: NSObject { @objc public let start: String? diff --git a/Sources/PubNub/KMP/Wrappers/KMPHereNowResult.swift b/Sources/PubNub/KMP/Wrappers/KMPHereNowResult.swift index 478726be..3a0636db 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPHereNowResult.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPHereNowResult.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPHereNowResult: NSObject { @objc public let totalChannels: Int diff --git a/Sources/PubNub/KMP/Wrappers/KMPMessage.swift b/Sources/PubNub/KMP/Wrappers/KMPMessage.swift index 6f94ca98..2bbc2984 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPMessage.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPMessage.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPMessage: NSObject { init(message: PubNubMessage) { diff --git a/Sources/PubNub/KMP/Wrappers/KMPMessageAction.swift b/Sources/PubNub/KMP/Wrappers/KMPMessageAction.swift index 15120d15..a31aacd4 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPMessageAction.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPMessageAction.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPMessageAction: NSObject { @objc public let event: String diff --git a/Sources/PubNub/KMP/Wrappers/KMPPresenceChange.swift b/Sources/PubNub/KMP/Wrappers/KMPPresenceChange.swift index 25e9daf3..121eb629 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPPresenceChange.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPPresenceChange.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPPresenceChange: NSObject { @objc public let event: String? diff --git a/Sources/PubNub/KMP/Wrappers/KMPStatusListener.swift b/Sources/PubNub/KMP/Wrappers/KMPStatusListener.swift index e506b25c..61a89b14 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPStatusListener.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPStatusListener.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPStatusListener: NSObject { @objc public let uuid: UUID diff --git a/Sources/PubNub/KMP/Wrappers/KMPSubscription.swift b/Sources/PubNub/KMP/Wrappers/KMPSubscription.swift index 462350a8..4accc199 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPSubscription.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPSubscription.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPSubscription: NSObject { let subscription: Subscription diff --git a/Sources/PubNub/KMP/Wrappers/KMPUploadable.swift b/Sources/PubNub/KMP/Wrappers/KMPUploadable.swift index 7d7986a6..af1c92ea 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPUploadable.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPUploadable.swift @@ -7,17 +7,16 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // +// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK +// +// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. +// While these symbols are public, they are intended strictly for internal usage. +// +// External developers should refrain from directly using these symbols in their code, as their implementation details +// may change in future versions of the framework, potentially leading to breaking changes. import Foundation -/// IMPORTANT NOTE FOR DEVELOPERS USING THIS SDK -/// -/// All public symbols in this file are intended to allow interoperation with Kotlin Multiplatform for other PubNub frameworks. -/// While these symbols are public, they are intended strictly for internal usage. -/// -/// External developers should refrain from directly using these symbols in their code, as their implementation details -/// may change in future versions of the framework, potentially leading to breaking changes. - @objc public class KMPUploadable: NSObject {