remove synthesis

This commit is contained in:
Kyle Matthew Hedden 2023-04-21 13:24:01 -04:00
parent 14af9f2d5f
commit 519093a24f

View File

@ -22,8 +22,6 @@
@implementation MVMCoreRequestParameters @implementation MVMCoreRequestParameters
@synthesize URL = _url;
- (nullable instancetype)initWithExtraParameters:(nullable NSDictionary *)extraParameters { - (nullable instancetype)initWithExtraParameters:(nullable NSDictionary *)extraParameters {
if (self = [super init]) { if (self = [super init]) {
self.parameters = extraParameters; self.parameters = extraParameters;
@ -93,22 +91,22 @@
- (void)setAlternateBaseURL:(NSURL *)alternateBaseURL { - (void)setAlternateBaseURL:(NSURL *)alternateBaseURL {
_alternateBaseURL = alternateBaseURL; _alternateBaseURL = alternateBaseURL;
_url = self.determinedURL; // Reset resolution when changed. _URL = self.determinedURL; // Reset resolution when changed.
} }
- (void)setPageType:(NSString *)pageType { - (void)setPageType:(NSString *)pageType {
_pageType = pageType; _pageType = pageType;
_url = self.determinedURL; // Reset resolution when changed. _URL = self.determinedURL; // Reset resolution when changed.
} }
- (void)setContextRoot:(NSString *)contextRoot { - (void)setContextRoot:(NSString *)contextRoot {
_contextRoot = contextRoot; _contextRoot = contextRoot;
_url = self.determinedURL; // Reset resolution when changed. _URL = self.determinedURL; // Reset resolution when changed.
} }
- (void)setURL:(NSURL *)URL { - (void)setURL:(NSURL *)URL {
self.determinedURL = URL; // If set directly, this becomes the ultimate URL. self.determinedURL = URL; // If set directly, this becomes the ultimate URL.
_url = URL; _URL = URL;
} }
- (NSURL *)resolveURL:(MVMCoreSessionObject *)sessionObject { - (NSURL *)resolveURL:(MVMCoreSessionObject *)sessionObject {
@ -137,7 +135,7 @@
url = [url URLByAppendingPathComponent:self.pageType]; url = [url URLByAppendingPathComponent:self.pageType];
} }
_url = url; _URL = url;
return url; return url;
} }