diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index fd267968..9d999178 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1083,7 +1083,6 @@ 725CB9581C7121830064365A /* SPUStandardUserDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPUStandardUserDriver.h; sourceTree = ""; }; 725CB9591C7121830064365A /* SPUStandardUserDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPUStandardUserDriver.m; sourceTree = ""; }; 725DED72263D10C400E7FA8F /* SUAppcast+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SUAppcast+Private.h"; sourceTree = ""; }; - 725DED73263D123900E7FA8F /* SUAppcastItem+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SUAppcastItem+Private.h"; sourceTree = ""; }; 725F97741C8A62F500265BE4 /* SUAdHocCodeSigning.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUAdHocCodeSigning.h; sourceTree = ""; }; 725F97751C8A62F500265BE4 /* SUAdHocCodeSigning.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAdHocCodeSigning.m; sourceTree = ""; }; 725F97821C8AA90000265BE4 /* SUPopUpTitlebarUserDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPopUpTitlebarUserDriver.h; sourceTree = ""; }; @@ -1749,7 +1748,6 @@ 725DED72263D10C400E7FA8F /* SUAppcast+Private.h */, 61B5FB9509C4F04600B25A18 /* SUAppcast.m */, 61B5FC5309C5182000B25A18 /* SUAppcastItem.h */, - 725DED73263D123900E7FA8F /* SUAppcastItem+Private.h */, 61B5FC5409C5182000B25A18 /* SUAppcastItem.m */, 721D588B25BE59F900D23BEA /* SUPhasedUpdateGroupInfo.h */, 721D588C25BE59F900D23BEA /* SUPhasedUpdateGroupInfo.m */, diff --git a/Sparkle/SUAppcast.m b/Sparkle/SUAppcast.m index 8b262a7f..9f5de4ba 100644 --- a/Sparkle/SUAppcast.m +++ b/Sparkle/SUAppcast.m @@ -10,7 +10,6 @@ #import "SUAppcast.h" #import "SUAppcast+Private.h" #import "SUAppcastItem.h" -#import "SUAppcastItem+Private.h" #import "SUVersionComparisonProtocol.h" #import "SUConstants.h" #import "SULog.h" diff --git a/Sparkle/SUAppcastItem+Private.h b/Sparkle/SUAppcastItem+Private.h deleted file mode 100644 index b368c6a8..00000000 --- a/Sparkle/SUAppcastItem+Private.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// SUAppcastItem+Private.h -// Sparkle -// -// Created by Mayur Pawashe on 4/30/21. -// Copyright © 2021 Sparkle Project. All rights reserved. -// - -#ifndef SUAppcastItem_Private_h -#define SUAppcastItem_Private_h - -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import Foundation; -#else -#import -#endif - -NS_ASSUME_NONNULL_BEGIN - -@interface SUAppcastItem (Private) - -// Initializes with data from a dictionary provided by the RSS class. -- (nullable instancetype)initWithDictionary:(NSDictionary *)dict relativeToURL:(NSURL * _Nullable)appcastURL failureReason:(NSString * _Nullable __autoreleasing *_Nullable)error; - -@end - -NS_ASSUME_NONNULL_END - -#endif /* SUAppcastItem_Private_h */ diff --git a/Sparkle/SUAppcastItem.h b/Sparkle/SUAppcastItem.h index ea7fbdbc..eea403e0 100644 --- a/Sparkle/SUAppcastItem.h +++ b/Sparkle/SUAppcastItem.h @@ -60,6 +60,9 @@ SU_EXPORT @interface SUAppcastItem : NSObject // Returns the dictionary representing the appcast item; this might be useful later for extensions. @property (readonly, copy) NSDictionary *propertiesDictionary; +// Initializes with data from a dictionary provided by the RSS class. +- (nullable instancetype)initWithDictionary:(NSDictionary *)dict relativeToURL:(NSURL * _Nullable)appcastURL failureReason:(NSString * _Nullable __autoreleasing *_Nullable)error; + @end NS_ASSUME_NONNULL_END diff --git a/Sparkle/SUAppcastItem.m b/Sparkle/SUAppcastItem.m index 405007a7..e6605932 100644 --- a/Sparkle/SUAppcastItem.m +++ b/Sparkle/SUAppcastItem.m @@ -7,7 +7,6 @@ // #import "SUAppcastItem.h" -#import "SUAppcastItem+Private.h" #import "SUVersionComparisonProtocol.h" #import "SULog.h" #import "SUConstants.h"