From d0af52d587ef97f011029a09c1892f3bd863aaf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Stomp=C3=B3r?= Date: Sun, 13 Oct 2024 21:11:48 +0200 Subject: [PATCH] Add missing headers --- AsyncTCP.podspec | 2 +- AsyncTCP/Client/ClientConfiguration.h | 2 ++ AsyncTCP/Connection/Connection.h | 2 ++ AsyncTCP/Connection/Identity.h | 1 + AsyncTCP/NetworkManager/NetworkManageable.h | 2 ++ AsyncTCP/Server/ServerConfiguration.h | 2 ++ AsyncTCP/Wrappers/DispatchQueue/Dispatchable.h | 2 ++ AsyncTCP/Wrappers/Network/NetworkWrappable.h | 1 + AsyncTCP/Wrappers/SocketOptions/SocketOptionsWrappable.h | 2 ++ AsyncTCP/Wrappers/System/SystemWrappable.h | 2 ++ AsyncTCP/Wrappers/Thread/Thread.h | 4 +++- AsyncTCP/Wrappers/Thread/Threadable.h | 2 ++ AsyncTCPTests/Common/Sanity/Server/SocketPortCollisionTests.m | 1 + AsyncTCPTests/Utilities/TCPTestsClient.m | 1 + 14 files changed, 24 insertions(+), 2 deletions(-) diff --git a/AsyncTCP.podspec b/AsyncTCP.podspec index d61b741..2c23739 100644 --- a/AsyncTCP.podspec +++ b/AsyncTCP.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "AsyncTCP" - spec.version = "1.0.0" + spec.version = "1.0.1" spec.summary = "Lightweight, simple and asynchronous TCP sockets" # This description is used to generate tags and improve search results. diff --git a/AsyncTCP/Client/ClientConfiguration.h b/AsyncTCP/Client/ClientConfiguration.h index 099cd91..cf45713 100644 --- a/AsyncTCP/Client/ClientConfiguration.h +++ b/AsyncTCP/Client/ClientConfiguration.h @@ -8,6 +8,8 @@ #import +#import + NS_ASSUME_NONNULL_BEGIN @interface ClientConfiguration: NSObject diff --git a/AsyncTCP/Connection/Connection.h b/AsyncTCP/Connection/Connection.h index 8883009..3793682 100644 --- a/AsyncTCP/Connection/Connection.h +++ b/AsyncTCP/Connection/Connection.h @@ -8,6 +8,8 @@ #import +#import + #import "Lockable.h" #import "Identity.h" #import "Dispatchable.h" diff --git a/AsyncTCP/Connection/Identity.h b/AsyncTCP/Connection/Identity.h index b940949..e047b6d 100644 --- a/AsyncTCP/Connection/Identity.h +++ b/AsyncTCP/Connection/Identity.h @@ -9,6 +9,7 @@ #import #import +#import NS_ASSUME_NONNULL_BEGIN diff --git a/AsyncTCP/NetworkManager/NetworkManageable.h b/AsyncTCP/NetworkManager/NetworkManageable.h index 83e2b47..5ae5729 100644 --- a/AsyncTCP/NetworkManager/NetworkManageable.h +++ b/AsyncTCP/NetworkManager/NetworkManageable.h @@ -8,6 +8,8 @@ #import +#import + #import "Identity.h" NS_ASSUME_NONNULL_BEGIN diff --git a/AsyncTCP/Server/ServerConfiguration.h b/AsyncTCP/Server/ServerConfiguration.h index f613fae..683216c 100644 --- a/AsyncTCP/Server/ServerConfiguration.h +++ b/AsyncTCP/Server/ServerConfiguration.h @@ -8,6 +8,8 @@ #import +#import + NS_ASSUME_NONNULL_BEGIN @interface ServerConfiguration: NSObject diff --git a/AsyncTCP/Wrappers/DispatchQueue/Dispatchable.h b/AsyncTCP/Wrappers/DispatchQueue/Dispatchable.h index 8bf31b0..a39b2f0 100644 --- a/AsyncTCP/Wrappers/DispatchQueue/Dispatchable.h +++ b/AsyncTCP/Wrappers/DispatchQueue/Dispatchable.h @@ -6,6 +6,8 @@ // Copyright © 2019 Mateusz Stompór. All rights reserved. // +#import + NS_ASSUME_NONNULL_BEGIN @protocol Dispatchable diff --git a/AsyncTCP/Wrappers/Network/NetworkWrappable.h b/AsyncTCP/Wrappers/Network/NetworkWrappable.h index 3334294..4677355 100644 --- a/AsyncTCP/Wrappers/Network/NetworkWrappable.h +++ b/AsyncTCP/Wrappers/Network/NetworkWrappable.h @@ -7,6 +7,7 @@ // #import +#import NS_ASSUME_NONNULL_BEGIN diff --git a/AsyncTCP/Wrappers/SocketOptions/SocketOptionsWrappable.h b/AsyncTCP/Wrappers/SocketOptions/SocketOptionsWrappable.h index 044d3dd..5d02bfa 100644 --- a/AsyncTCP/Wrappers/SocketOptions/SocketOptionsWrappable.h +++ b/AsyncTCP/Wrappers/SocketOptions/SocketOptionsWrappable.h @@ -6,6 +6,8 @@ // Copyright © 2019 Mateusz Stompór. All rights reserved. // +#import + NS_ASSUME_NONNULL_BEGIN @protocol SocketOptionsWrappable diff --git a/AsyncTCP/Wrappers/System/SystemWrappable.h b/AsyncTCP/Wrappers/System/SystemWrappable.h index 93ba601..c7a49af 100644 --- a/AsyncTCP/Wrappers/System/SystemWrappable.h +++ b/AsyncTCP/Wrappers/System/SystemWrappable.h @@ -8,6 +8,8 @@ #import +#import + NS_ASSUME_NONNULL_BEGIN @protocol SystemWrappable diff --git a/AsyncTCP/Wrappers/Thread/Thread.h b/AsyncTCP/Wrappers/Thread/Thread.h index 2cd4731..06005fb 100644 --- a/AsyncTCP/Wrappers/Thread/Thread.h +++ b/AsyncTCP/Wrappers/Thread/Thread.h @@ -13,7 +13,9 @@ NS_ASSUME_NONNULL_BEGIN @interface Thread: NSObject --(instancetype)initWithTarget:(id)target selector:(SEL)selector object:(nullable id)argument; +-(instancetype)initWithTarget:(id)target + selector:(SEL)selector + object:(nullable id)argument; @end NS_ASSUME_NONNULL_END diff --git a/AsyncTCP/Wrappers/Thread/Threadable.h b/AsyncTCP/Wrappers/Thread/Threadable.h index 78000e3..7fc402b 100644 --- a/AsyncTCP/Wrappers/Thread/Threadable.h +++ b/AsyncTCP/Wrappers/Thread/Threadable.h @@ -6,6 +6,8 @@ // Copyright © 2019 Mateusz Stompór. All rights reserved. // +#import + NS_ASSUME_NONNULL_BEGIN @protocol Threadable diff --git a/AsyncTCPTests/Common/Sanity/Server/SocketPortCollisionTests.m b/AsyncTCPTests/Common/Sanity/Server/SocketPortCollisionTests.m index c8e4daa..78604f3 100644 --- a/AsyncTCPTests/Common/Sanity/Server/SocketPortCollisionTests.m +++ b/AsyncTCPTests/Common/Sanity/Server/SocketPortCollisionTests.m @@ -8,6 +8,7 @@ #import #import +#import @interface SocketPortCollisionTests: XCTestCase { diff --git a/AsyncTCPTests/Utilities/TCPTestsClient.m b/AsyncTCPTests/Utilities/TCPTestsClient.m index 5dbec1e..7d0596b 100644 --- a/AsyncTCPTests/Utilities/TCPTestsClient.m +++ b/AsyncTCPTests/Utilities/TCPTestsClient.m @@ -9,6 +9,7 @@ #import "TCPTestsClient.h" #import +#import @interface TCPTestsClient() {