Explorar o código

1.去掉冗余代码

huangxiaodong hai 2 meses
pai
achega
3a0a936491

+ 0 - 1
创维盒子/code/AppDelegate/AppDelegate.m

@@ -7,7 +7,6 @@
 
 #import "AppDelegate.h"
 #import <CoreMotion/CoreMotion.h>
-#import "ShearDeviceUDPManager.h"
 #import "AudioSessionObject.h"
 #import "DDYLanguageTool.h"
 #import "PLeakSniffer.h"

+ 0 - 23
创维盒子/code/Vendor/UDP/RYShearDeviceUDPManager.h

@@ -1,23 +0,0 @@
-//
-//  RYShearDeviceUDPManager.h
-//  VclustersGemini
-//
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface RYShearDeviceUDPManager : NSObject
-
-
-#pragma mark 自定义方法
-+ (instancetype)shareInstance;
-- (void)startShearchDevice;
-- (void)broadcast;
-- (void)shearchDeviceLoop;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 115
创维盒子/code/Vendor/UDP/RYShearDeviceUDPManager.m

@@ -1,115 +0,0 @@
-//
-//  ShearDeviceUDPManager.m
-//  VclustersGemini
-//
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import "RYShearDeviceUDPManager.h"
-#import "GCDAsyncUdpSocket.h"
-
-static RYShearDeviceUDPManager *shareInstance = nil;
-
-@interface RYShearDeviceUDPManager()<GCDAsyncUdpSocketDelegate>{
-    GCDAsyncUdpSocket *updSocket;
-    GCDAsyncUdpSocket *serverSocket;
-    
-    BOOL isInShearch;
-}
-
-@end
-
-@implementation RYShearDeviceUDPManager
-
-+ (instancetype)shareInstance {
-    
-    static dispatch_once_t onceToken;
-    dispatch_once(&onceToken, ^{
-        shareInstance = [[RYShearDeviceUDPManager alloc] init];
-    });
-    return shareInstance;
-}
-
-- (void)startShearchDevice{
-    updSocket = [[GCDAsyncUdpSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)];
-    serverSocket = [[GCDAsyncUdpSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)];
-    NSError *error = nil;
-    [updSocket bindToPort:10000 error:&error];/*绑定端口*/
-
-    [updSocket enableBroadcast:YES error:&error];
-    
-    [serverSocket bindToPort:10001 error:&error];
-    [serverSocket enableBroadcast:YES error:&error];
-    
-    if (error){
-        HLog(@"\n---error--%@-",error);
-    }else{
-//        [updSocket beginReceiving:&error];
-        [serverSocket beginReceiving:&error];
-    }
-}
-
-- (void)broadcast{
-    NSString *str = @"getIpAddress";
-    NSData *data = [str dataUsingEncoding:(NSUTF8StringEncoding)];
-    NSString *host = @"255.255.255.255";
-    [updSocket sendData:data toHost:host port:10000 withTimeout:-1 tag:100];
-    HLog(@"\n----广播-%@---%@--",host,str);
-    if (isInShearch){
-        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-            [self broadcast];
-        });
-    }
-}
-
-- (void)shearchDeviceLoop{
-    isInShearch = YES;
-    
-    [self broadcast];
-}
-
-/**
- * 发送消息成功
-**/
-- (void)udpSocket:(GCDAsyncUdpSocket *)sock didSendDataWithTag:(long)tag{
-    HLog(@"\n----广播发送成功--");
-}
-
-/**
- * 发送消息失败
-**/
-- (void)udpSocket:(GCDAsyncUdpSocket *)sock didNotSendDataWithTag:(long)tag dueToError:(NSError *)error{
-    ;
-}
-
-/**
- * 接受到消息
-**/
-- (void)udpSocket:(GCDAsyncUdpSocket *)sock
-   didReceiveData:(NSData *)data
-      fromAddress:(NSData *)address
-withFilterContext:(id)filterContext{
-    NSString *ip = [GCDAsyncUdpSocket hostFromAddress:address];/*ip*/
-    uint16_t port = [GCDAsyncUdpSocket portFromAddress:address];/*端口*/
-    NSString *str = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
-    
-    if (port == 10001){/*设备端回复的消息*/
-        isInShearch = NO;
-    }
-}
-
-//- (void)backBroadcast{
-//    NSString *str = @"1213456789087968543546789";
-//    NSData *data = [str dataUsingEncoding:(NSUTF8StringEncoding)];
-//    NSString *host = @"255.255.255.255";
-//    [serverSocket sendData:data toHost:host port:10001 withTimeout:-1 tag:100];
-//}
-
-/**
- * 关闭
-**/
-- (void)udpSocketDidClose:(GCDAsyncUdpSocket *)sock withError:(NSError *)error{
-    ;
-}
-
-@end

+ 0 - 23
创维盒子/code/Vendor/UDP/ShearDeviceUDPManager.h

@@ -1,23 +0,0 @@
-//
-//  ShearDeviceUDPManager.h
-//  VclustersGemini
-//
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface ShearDeviceUDPManager : NSObject
-
-
-#pragma mark 自定义方法
-+ (instancetype)shareInstance;
-- (void)startShearchDevice;
-- (void)broadcast;
-- (void)shearchDeviceLoop;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 115
创维盒子/code/Vendor/UDP/ShearDeviceUDPManager.m

@@ -1,115 +0,0 @@
-//
-//  ShearDeviceUDPManager.m
-//  VclustersGemini
-//
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import "ShearDeviceUDPManager.h"
-#import "GCDAsyncUdpSocket.h"
-
-static ShearDeviceUDPManager *shareInstance = nil;
-
-@interface ShearDeviceUDPManager()<GCDAsyncUdpSocketDelegate>{
-    GCDAsyncUdpSocket *updSocket;
-    GCDAsyncUdpSocket *serverSocket;
-    
-    BOOL isInShearch;
-}
-
-@end
-
-@implementation ShearDeviceUDPManager
-
-+ (instancetype)shareInstance {
-    
-    static dispatch_once_t onceToken;
-    dispatch_once(&onceToken, ^{
-        shareInstance = [[ShearDeviceUDPManager alloc] init];
-    });
-    return shareInstance;
-}
-
-- (void)startShearchDevice{
-    updSocket = [[GCDAsyncUdpSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)];
-    serverSocket = [[GCDAsyncUdpSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)];
-    NSError *error = nil;
-    [updSocket bindToPort:10000 error:&error];/*绑定端口*/
-
-    [updSocket enableBroadcast:YES error:&error];
-    
-    [serverSocket bindToPort:10001 error:&error];
-    [serverSocket enableBroadcast:YES error:&error];
-    
-    if (error){
-        HLog(@"\n---error--%@-",error);
-    }else{
-//        [updSocket beginReceiving:&error];
-        [serverSocket beginReceiving:&error];
-    }
-}
-
-- (void)broadcast{
-    NSString *str = @"getIpAddress";
-    NSData *data = [str dataUsingEncoding:(NSUTF8StringEncoding)];
-    NSString *host = @"255.255.255.255";
-    [updSocket sendData:data toHost:host port:10000 withTimeout:-1 tag:100];
-    HLog(@"\n----广播-%@---%@--",host,str);
-    if (isInShearch){
-        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-            [self broadcast];
-        });
-    }
-}
-
-- (void)shearchDeviceLoop{
-    isInShearch = YES;
-    
-    [self broadcast];
-}
-
-/**
- * 发送消息成功
-**/
-- (void)udpSocket:(GCDAsyncUdpSocket *)sock didSendDataWithTag:(long)tag{
-    HLog(@"\n----广播发送成功--");
-}
-
-/**
- * 发送消息失败
-**/
-- (void)udpSocket:(GCDAsyncUdpSocket *)sock didNotSendDataWithTag:(long)tag dueToError:(NSError *)error{
-    ;
-}
-
-/**
- * 接受到消息
-**/
-- (void)udpSocket:(GCDAsyncUdpSocket *)sock
-   didReceiveData:(NSData *)data
-      fromAddress:(NSData *)address
-withFilterContext:(id)filterContext{
-    NSString *ip  = [GCDAsyncUdpSocket hostFromAddress:address];/*ip*/
-    uint16_t port = [GCDAsyncUdpSocket portFromAddress:address];/*端口*/
-    NSString *str = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
-    
-    if (port == 10001){/*设备端回复的消息*/
-        isInShearch = NO;
-    }
-}
-
-//- (void)backBroadcast{
-//    NSString *str = @"1213456789087968543546789";
-//    NSData *data = [str dataUsingEncoding:(NSUTF8StringEncoding)];
-//    NSString *host = @"255.255.255.255";
-//    [serverSocket sendData:data toHost:host port:10001 withTimeout:-1 tag:100];
-//}
-
-/**
- * 关闭
-**/
-- (void)udpSocketDidClose:(GCDAsyncUdpSocket *)sock withError:(NSError *)error{
-    ;
-}
-
-@end

+ 0 - 32
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -79,8 +79,6 @@
 		184C8ADA2A949DAC00F26650 /* HaveNewVersionView.h in Headers */ = {isa = PBXBuildFile; fileRef = 184C8AD82A949DAC00F26650 /* HaveNewVersionView.h */; };
 		184C8ADD2A949DBD00F26650 /* HWVersionModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 184C8ADB2A949DBD00F26650 /* HWVersionModel.h */; };
 		184C8ADE2A949DBD00F26650 /* HWVersionModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 184C8ADC2A949DBD00F26650 /* HWVersionModel.m */; };
-		18664FF52AC2B3A4008F8A61 /* ShearDeviceUDPManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18664FF32AC2B3A4008F8A61 /* ShearDeviceUDPManager.m */; };
-		18664FF62AC2B3A4008F8A61 /* ShearDeviceUDPManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 18664FF42AC2B3A4008F8A61 /* ShearDeviceUDPManager.h */; };
 		1866F99E2A136DC700B31E22 /* iPhone.m in Sources */ = {isa = PBXBuildFile; fileRef = 1866F99C2A136DC600B31E22 /* iPhone.m */; };
 		186820192AB94877005702A6 /* GuideLastView.h in Headers */ = {isa = PBXBuildFile; fileRef = 186820172AB94877005702A6 /* GuideLastView.h */; };
 		1868201A2AB94877005702A6 /* GuideLastView.m in Sources */ = {isa = PBXBuildFile; fileRef = 186820182AB94877005702A6 /* GuideLastView.m */; };
@@ -102,8 +100,6 @@
 		18A909992ABC4A3300E6D2BE /* ComontAlretViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18A909972ABC4A3300E6D2BE /* ComontAlretViewController.m */; };
 		18BA24872AA5C57900BA01EE /* RSATool.h in Headers */ = {isa = PBXBuildFile; fileRef = 18BA24852AA5C57900BA01EE /* RSATool.h */; };
 		18BA24882AA5C57900BA01EE /* RSATool.m in Sources */ = {isa = PBXBuildFile; fileRef = 18BA24862AA5C57900BA01EE /* RSATool.m */; };
-		18BB18412AC417CB00A36F63 /* RYShearDeviceUDPManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 18BB183F2AC417CB00A36F63 /* RYShearDeviceUDPManager.h */; };
-		18BB18422AC417CB00A36F63 /* RYShearDeviceUDPManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18BB18402AC417CB00A36F63 /* RYShearDeviceUDPManager.m */; };
 		18C4754F2A8E0DB5006129C0 /* MySetViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18C4754D2A8E0DB5006129C0 /* MySetViewController.h */; };
 		18C475502A8E0DB5006129C0 /* MySetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C4754E2A8E0DB5006129C0 /* MySetViewController.m */; };
 		18E557212A3C5D75005CC84B /* Calculator.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E5571B2A3C5D75005CC84B /* Calculator.m */; };
@@ -960,7 +956,6 @@
 		6BD506ED2B9576A4006E7CB0 /* forgetPwdViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BFF268A2AF8E1C600FCB4F7 /* forgetPwdViewController.h */; };
 		6BD506EE2B9576A4006E7CB0 /* Reachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF52C932AD5546500A617DB /* Reachability.h */; };
 		6BD506F02B9576A4006E7CB0 /* couldPhoneCommonModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B5D40132B47F27A000965CF /* couldPhoneCommonModel.h */; };
-		6BD506F12B9576A4006E7CB0 /* RYShearDeviceUDPManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 18BB183F2AC417CB00A36F63 /* RYShearDeviceUDPManager.h */; };
 		6BD506F22B9576A4006E7CB0 /* AboutViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 184C8AD32A949D5900F26650 /* AboutViewController.h */; };
 		6BD506F32B9576A4006E7CB0 /* AJPhotoListCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B0581A02AFCF50300D37290 /* AJPhotoListCell.h */; };
 		6BD506F42B9576A4006E7CB0 /* PlayerLoadingView.h in Headers */ = {isa = PBXBuildFile; fileRef = 187076752A9F400300F15F7F /* PlayerLoadingView.h */; };
@@ -981,7 +976,6 @@
 		6BD507042B9576A4006E7CB0 /* AJPhotoGroupView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B0581A72AFCF57300D37290 /* AJPhotoGroupView.h */; };
 		6BD507052B9576A4006E7CB0 /* QRCodeScanForChangeDeviceViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18F9CB032ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.h */; };
 		6BD507062B9576A4006E7CB0 /* diskListTableView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B45C5022B5F9CEC007E6911 /* diskListTableView.h */; };
-		6BD507072B9576A4006E7CB0 /* ShearDeviceUDPManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 18664FF42AC2B3A4008F8A61 /* ShearDeviceUDPManager.h */; };
 		6BD507082B9576A4006E7CB0 /* ModifyPWDSecondViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18F9CAFD2ABD3643003FF71A /* ModifyPWDSecondViewController.h */; };
 		6BD507092B9576A4006E7CB0 /* inputPWDViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF52C9F2AD7C2F600A617DB /* inputPWDViewController.h */; };
 		6BD5070A2B9576A4006E7CB0 /* WHPingTester.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF52C922AD5546500A617DB /* WHPingTester.h */; };
@@ -1007,13 +1001,11 @@
 		6BD507202B9576A4006E7CB0 /* NSArray+JSONModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE5E72A89CE3C00B11CB0 /* NSArray+JSONModel.m */; };
 		6BD507212B9576A4006E7CB0 /* HWAddBookmarkViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A00221D927EAFF4A00E45F78 /* HWAddBookmarkViewController.m */; };
 		6BD507222B9576A4006E7CB0 /* AuthCodeTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BFF26902AF9D88200FCB4F7 /* AuthCodeTextField.m */; };
-		6BD507232B9576A4006E7CB0 /* ShearDeviceUDPManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18664FF32AC2B3A4008F8A61 /* ShearDeviceUDPManager.m */; };
 		6BD507242B9576A4006E7CB0 /* filePathCreatPopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B5B60752B3E665E009A2AE2 /* filePathCreatPopView.m */; };
 		6BD507252B9576A4006E7CB0 /* inputPWDViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF52CA02AD7C2F600A617DB /* inputPWDViewController.m */; };
 		6BD507262B9576A4006E7CB0 /* UIColor+Colors.m in Sources */ = {isa = PBXBuildFile; fileRef = A003F6B127D841EE00715CBF /* UIColor+Colors.m */; };
 		6BD507272B9576A4006E7CB0 /* AJPhotoListView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B05819C2AFCF4E700D37290 /* AJPhotoListView.m */; };
 		6BD507282B9576A4006E7CB0 /* PwdInPutView.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E557282A3C60EC005CC84B /* PwdInPutView.m */; };
-		6BD507292B9576A4006E7CB0 /* RYShearDeviceUDPManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18BB18402AC417CB00A36F63 /* RYShearDeviceUDPManager.m */; };
 		6BD5072A2B9576A4006E7CB0 /* TipsQRCodeForChangeDeviceViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18F9CB022ABD7834003FF71A /* TipsQRCodeForChangeDeviceViewController.m */; };
 		6BD5072B2B9576A4006E7CB0 /* fileTransfeSetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B5B60642B3D5FD8009A2AE2 /* fileTransfeSetViewController.m */; };
 		6BD5072C2B9576A4006E7CB0 /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE6362A8A2CF000B11CB0 /* UIButton+AFNetworking.m */; };
@@ -1513,8 +1505,6 @@
 		184C8AD82A949DAC00F26650 /* HaveNewVersionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HaveNewVersionView.h; sourceTree = "<group>"; };
 		184C8ADB2A949DBD00F26650 /* HWVersionModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HWVersionModel.h; sourceTree = "<group>"; };
 		184C8ADC2A949DBD00F26650 /* HWVersionModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HWVersionModel.m; sourceTree = "<group>"; };
-		18664FF32AC2B3A4008F8A61 /* ShearDeviceUDPManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShearDeviceUDPManager.m; sourceTree = "<group>"; };
-		18664FF42AC2B3A4008F8A61 /* ShearDeviceUDPManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShearDeviceUDPManager.h; sourceTree = "<group>"; };
 		1866F99C2A136DC600B31E22 /* iPhone.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = iPhone.m; sourceTree = "<group>"; };
 		1866F99D2A136DC700B31E22 /* iPhone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iPhone.h; sourceTree = "<group>"; };
 		186820172AB94877005702A6 /* GuideLastView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GuideLastView.h; sourceTree = "<group>"; };
@@ -1547,8 +1537,6 @@
 		18A909972ABC4A3300E6D2BE /* ComontAlretViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ComontAlretViewController.m; sourceTree = "<group>"; };
 		18BA24852AA5C57900BA01EE /* RSATool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSATool.h; sourceTree = "<group>"; };
 		18BA24862AA5C57900BA01EE /* RSATool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSATool.m; sourceTree = "<group>"; };
-		18BB183F2AC417CB00A36F63 /* RYShearDeviceUDPManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RYShearDeviceUDPManager.h; sourceTree = "<group>"; };
-		18BB18402AC417CB00A36F63 /* RYShearDeviceUDPManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RYShearDeviceUDPManager.m; sourceTree = "<group>"; };
 		18C4754D2A8E0DB5006129C0 /* MySetViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MySetViewController.h; sourceTree = "<group>"; };
 		18C4754E2A8E0DB5006129C0 /* MySetViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MySetViewController.m; sourceTree = "<group>"; };
 		18E5571B2A3C5D75005CC84B /* Calculator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Calculator.m; sourceTree = "<group>"; };
@@ -2585,17 +2573,6 @@
 			path = appUpdate;
 			sourceTree = "<group>";
 		};
-		18664FEA2AC28A0E008F8A61 /* UDP */ = {
-			isa = PBXGroup;
-			children = (
-				18664FF42AC2B3A4008F8A61 /* ShearDeviceUDPManager.h */,
-				18664FF32AC2B3A4008F8A61 /* ShearDeviceUDPManager.m */,
-				18BB183F2AC417CB00A36F63 /* RYShearDeviceUDPManager.h */,
-				18BB18402AC417CB00A36F63 /* RYShearDeviceUDPManager.m */,
-			);
-			path = UDP;
-			sourceTree = "<group>";
-		};
 		18C4754C2A8E0D9B006129C0 /* Set */ = {
 			isa = PBXGroup;
 			children = (
@@ -3594,7 +3571,6 @@
 				6BBB35DF2AE935C000E4A59B /* DDYLanguageTool */,
 				6BBB35D42AE7645200E4A59B /* BackgroundKeepAlive */,
 				6BF52C8F2AD5546500A617DB /* pingTool */,
-				18664FEA2AC28A0E008F8A61 /* UDP */,
 				18BA24852AA5C57900BA01EE /* RSATool.h */,
 				18BA24862AA5C57900BA01EE /* RSATool.m */,
 				183AE6D22A8CAFAD00B11CB0 /* UIView+View.h */,
@@ -4111,7 +4087,6 @@
 				6B2C1E962C070ADE00FDCF82 /* ZFPlayerMediaPlayback.h in Headers */,
 				6B6ABEDA2BFF3AA400480BAC /* receiveView.h in Headers */,
 				6B49BFBC2C90472600E17406 /* webRtcManager+StatisticsReport.h in Headers */,
-				18BB18412AC417CB00A36F63 /* RYShearDeviceUDPManager.h in Headers */,
 				6B9354952BF33F2700AA8D31 /* editShareView.h in Headers */,
 				184C8AD52A949D5900F26650 /* AboutViewController.h in Headers */,
 				6B34DC672BF1FFB1002DD1EF /* imageCollectionViewCell.h in Headers */,
@@ -4168,7 +4143,6 @@
 				6B5BE57B2BFC767100A1B9B3 /* previewFileAndFolderViewController.h in Headers */,
 				6B7EA79E2BF5E0ED002D5CC2 /* NASMsgModel.h in Headers */,
 				6B07E0B32C3D3986004A3238 /* ComontAlretDeleteTypeViewController.h in Headers */,
-				18664FF62AC2B3A4008F8A61 /* ShearDeviceUDPManager.h in Headers */,
 				6B2C1E6C2C070ADE00FDCF82 /* ZFLandscapeRotationManager.h in Headers */,
 				6B2C1E802C070ADE00FDCF82 /* ZFPersentInteractiveTransition.h in Headers */,
 				6B2C1E9C2C070ADE00FDCF82 /* ZFPlayerView.h in Headers */,
@@ -4395,7 +4369,6 @@
 				6B2C1E972C070ADE00FDCF82 /* ZFPlayerMediaPlayback.h in Headers */,
 				6B6ABEDC2BFF3AA400480BAC /* receiveView.h in Headers */,
 				6B49BFBD2C90472600E17406 /* webRtcManager+StatisticsReport.h in Headers */,
-				6BD506F12B9576A4006E7CB0 /* RYShearDeviceUDPManager.h in Headers */,
 				6B9354962BF33F2700AA8D31 /* editShareView.h in Headers */,
 				6BD506F22B9576A4006E7CB0 /* AboutViewController.h in Headers */,
 				6B34DC692BF1FFB1002DD1EF /* imageCollectionViewCell.h in Headers */,
@@ -4452,7 +4425,6 @@
 				6B5BE57D2BFC767100A1B9B3 /* previewFileAndFolderViewController.h in Headers */,
 				6B7EA7A02BF5E0ED002D5CC2 /* NASMsgModel.h in Headers */,
 				6B07E0B42C3D3986004A3238 /* ComontAlretDeleteTypeViewController.h in Headers */,
-				6BD507072B9576A4006E7CB0 /* ShearDeviceUDPManager.h in Headers */,
 				6B2C1E6D2C070ADE00FDCF82 /* ZFLandscapeRotationManager.h in Headers */,
 				6B2C1E812C070ADE00FDCF82 /* ZFPersentInteractiveTransition.h in Headers */,
 				6B2C1E9D2C070ADE00FDCF82 /* ZFPlayerView.h in Headers */,
@@ -4761,7 +4733,6 @@
 				6BD507212B9576A4006E7CB0 /* HWAddBookmarkViewController.m in Sources */,
 				6BD507222B9576A4006E7CB0 /* AuthCodeTextField.m in Sources */,
 				6B7DDF332C424B5E00EBDFDD /* RcGameWQKeyChain.m in Sources */,
-				6BD507232B9576A4006E7CB0 /* ShearDeviceUDPManager.m in Sources */,
 				6BD507242B9576A4006E7CB0 /* filePathCreatPopView.m in Sources */,
 				6B9354AF2BF3879200AA8D31 /* shareRecordTableViewCell.m in Sources */,
 				6BD507252B9576A4006E7CB0 /* inputPWDViewController.m in Sources */,
@@ -4773,7 +4744,6 @@
 				6BD507282B9576A4006E7CB0 /* PwdInPutView.m in Sources */,
 				6B3AD68C2BF4AE630096D6B7 /* backupsOptionViewController.m in Sources */,
 				6B2C1EAB2C070ADE00FDCF82 /* ZFReachabilityManager.m in Sources */,
-				6BD507292B9576A4006E7CB0 /* RYShearDeviceUDPManager.m in Sources */,
 				6B7E042B2C3E5A98004B4948 /* customDownloadCacheManager.m in Sources */,
 				6BB573122C7C18DC00713351 /* frpFileExistModel.m in Sources */,
 				6BD5072A2B9576A4006E7CB0 /* TipsQRCodeForChangeDeviceViewController.m in Sources */,
@@ -5127,7 +5097,6 @@
 				A00221DB27EAFF4A00E45F78 /* HWAddBookmarkViewController.m in Sources */,
 				6BFF26922AF9D88200FCB4F7 /* AuthCodeTextField.m in Sources */,
 				6B7DDF322C424B5E00EBDFDD /* RcGameWQKeyChain.m in Sources */,
-				18664FF52AC2B3A4008F8A61 /* ShearDeviceUDPManager.m in Sources */,
 				6B5B60772B3E665E009A2AE2 /* filePathCreatPopView.m in Sources */,
 				6B9354AC2BF3879200AA8D31 /* shareRecordTableViewCell.m in Sources */,
 				6BF52CA22AD7C2F600A617DB /* inputPWDViewController.m in Sources */,
@@ -5139,7 +5108,6 @@
 				18E557292A3C60ED005CC84B /* PwdInPutView.m in Sources */,
 				6B3AD68B2BF4AE630096D6B7 /* backupsOptionViewController.m in Sources */,
 				6B2C1EAA2C070ADE00FDCF82 /* ZFReachabilityManager.m in Sources */,
-				18BB18422AC417CB00A36F63 /* RYShearDeviceUDPManager.m in Sources */,
 				6B7E042A2C3E5A98004B4948 /* customDownloadCacheManager.m in Sources */,
 				6BB573102C7C18DC00713351 /* frpFileExistModel.m in Sources */,
 				18F9CB062ABD7835003FF71A /* TipsQRCodeForChangeDeviceViewController.m in Sources */,