Browse Source

APPLEMAIL-33 Delete unneeded implmentation part of PEPUpdatesXPCService umbrella. Change [self init] to [super init] when NSAssert is present.

APPLEMAIL-33
David Alarcon 2 years ago
parent
commit
958180059b
6 changed files with 3 additions and 26 deletions
  1. +0
    -4
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService.xcodeproj/project.pbxproj
  2. +1
    -1
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCClient/XPCService/PEPNotificationXPCClientService.m
  3. +1
    -1
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCService/XPCService/PEPNotificationXPCApi.m
  4. +1
    -1
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCService/XPCService/PEPNotificationXPCService.m
  5. +0
    -7
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.h
  6. +0
    -12
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.m

+ 0
- 4
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService.xcodeproj/project.pbxproj View File

@ -26,7 +26,6 @@
4EA193EA25D6829B00F5D802 /* PEPNotificationXPCApi.h in Headers */ = {isa = PBXBuildFile; fileRef = 4EA193E825D6829B00F5D802 /* PEPNotificationXPCApi.h */; };
4EA193EB25D6829B00F5D802 /* PEPNotificationXPCApi.m in Sources */ = {isa = PBXBuildFile; fileRef = 4EA193E925D6829B00F5D802 /* PEPNotificationXPCApi.m */; };
4EC7BADE25DA6AB100F42C5B /* PEPUpdatesXPCService.h in Headers */ = {isa = PBXBuildFile; fileRef = 4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */; settings = {ATTRIBUTES = (Public, ); }; };
4EC7BADF25DA6AB100F42C5B /* PEPUpdatesXPCService.m in Sources */ = {isa = PBXBuildFile; fileRef = 4EC7BADD25DA6AB100F42C5B /* PEPUpdatesXPCService.m */; };
4EC7BB1225DA6E3300F42C5B /* PEPUpdatesXPCService.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */; };
4EFEDAD625D6C55100EF9E09 /* module.modulemap in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4EFEDAB425D6C2C000EF9E09 /* module.modulemap */; };
/* End PBXBuildFile section */
@ -67,7 +66,6 @@
4EA193E825D6829B00F5D802 /* PEPNotificationXPCApi.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPNotificationXPCApi.h; sourceTree = "<group>"; };
4EA193E925D6829B00F5D802 /* PEPNotificationXPCApi.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPNotificationXPCApi.m; sourceTree = "<group>"; };
4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPUpdatesXPCService.h; sourceTree = "<group>"; };
4EC7BADD25DA6AB100F42C5B /* PEPUpdatesXPCService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPUpdatesXPCService.m; sourceTree = "<group>"; };
4EFEDAB425D6C2C000EF9E09 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -211,7 +209,6 @@
4E797BAE25D5255F0090F900 /* PEPUpdateDownloadXPCService */,
4E797BA825D5255F0090F900 /* PEPNotificationXPCService */,
4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */,
4EC7BADD25DA6AB100F42C5B /* PEPUpdatesXPCService.m */,
4EFEDAB425D6C2C000EF9E09 /* module.modulemap */,
);
path = PEPUpdatesXPCService;
@ -381,7 +378,6 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4EC7BADF25DA6AB100F42C5B /* PEPUpdatesXPCService.m in Sources */,
4E61823B25D59701007E040F /* PEPNotificationXPCClientService.m in Sources */,
4E797BBE25D5255F0090F900 /* PEPUpdateDownloadXPCService.m in Sources */,
4E797BB925D5255F0090F900 /* PEPNotificationXPCService.m in Sources */,


+ 1
- 1
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCClient/XPCService/PEPNotificationXPCClientService.m View File

@ -26,7 +26,7 @@
- (instancetype)initWithListenerEndpoint:(NSXPCListenerEndpoint *)endpoint
updateDownloader:(PEPUpdateDownloader *)updateDownloader {
if (self = [self init]) {
if (self = [super init]) {
_endpoint = endpoint;
_updateDownloader = updateDownloader;
}


+ 1
- 1
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCService/XPCService/PEPNotificationXPCApi.m View File

@ -20,7 +20,7 @@
}
- (instancetype)initWithDelegate:(id<PEPNotificationXPCServiceDelegate>)delegate {
if (self = [self init]) {
if (self = [super init]) {
_delegate = delegate;
}


+ 1
- 1
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCService/XPCService/PEPNotificationXPCService.m View File

@ -20,7 +20,7 @@
@implementation PEPNotificationXPCService
- (instancetype)init {
NSAssert(NO, @"Use initWithDelegate instead.");
NSAssert(NO, @"Use initWithDelegate: instead.");
return nil;
}


+ 0
- 7
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.h View File

@ -15,10 +15,3 @@
#import "PEPNotificationXPCServiceDelegate.h"
#import "PEPNotificationXPCService.h"
NS_ASSUME_NONNULL_BEGIN
@interface PEPUpdatesXPCService : NSObject
@end
NS_ASSUME_NONNULL_END

+ 0
- 12
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.m View File

@ -1,12 +0,0 @@
//
// PEPUpdatesXPCService.m
// PEPUpdatesXPCService
//
// Created by David Alarcon on 15/2/21.
//
#import "PEPUpdatesXPCService.h"
@implementation PEPUpdatesXPCService
@end

Loading…
Cancel
Save