diff --git a/ios/iosremote/iosremote/Communication/Client.m b/ios/iosremote/iosremote/Communication/Client.m index 4ad51f8b5ab0..417b4188e7be 100644 --- a/ios/iosremote/iosremote/Communication/Client.m +++ b/ios/iosremote/iosremote/Communication/Client.m @@ -202,8 +202,6 @@ int count = 0; } } } - // NSLog(@"Command:%@", str); - backgroundQueue = dispatch_queue_create("com.libreoffice.iosremote", DISPATCH_QUEUE_CONCURRENT); dispatch_async(backgroundQueue, ^(void) { NSArray *commands = [str componentsSeparatedByString:@"\n"]; diff --git a/ios/iosremote/iosremote/Communication/CommunicationManager.h b/ios/iosremote/iosremote/Communication/CommunicationManager.h index d4a1f75dd05d..af7b6c078253 100644 --- a/ios/iosremote/iosremote/Communication/CommunicationManager.h +++ b/ios/iosremote/iosremote/Communication/CommunicationManager.h @@ -72,6 +72,7 @@ enum ConnectionState : NSInteger { @property ConnectionState state; @property (nonatomic, strong) id delegate; @property (atomic, strong) NSMutableArray* servers; +@property (atomic, strong) NSMutableArray* autoDiscoveryServers; @property (nonatomic, strong) Client* client; @property (nonatomic, strong) CommandInterpreter* interpreter; @property (nonatomic, strong) CommandTransmitter* transmitter; diff --git a/ios/iosremote/iosremote/Communication/CommunicationManager.m b/ios/iosremote/iosremote/Communication/CommunicationManager.m index 199f69c93c0e..c2c0332817c7 100644 --- a/ios/iosremote/iosremote/Communication/CommunicationManager.m +++ b/ios/iosremote/iosremote/Communication/CommunicationManager.m @@ -30,6 +30,7 @@ @synthesize transmitter = _transmitter; @synthesize servers = _servers; @synthesize delegate = _delegate; +@synthesize autoDiscoveryServers = _autoDiscoveryServers; + (CommunicationManager *)sharedComManager { @@ -116,7 +117,7 @@ selector: @selector(connectionStatusHandler:) name: @"connection.status.disconnected" object: nil]; - + self.autoDiscoveryServers = [[NSMutableArray alloc] init]; return self; } diff --git a/ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard b/ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard index 5a17393de83b..e03f4bf84a31 100644 --- a/ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard +++ b/ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard @@ -8,15 +8,15 @@ - + - + - + - +