remove commented code

This commit is contained in:
Suresh, Kamlesh 2020-07-15 18:06:05 -04:00
parent 944f584f7e
commit b3a2511b96
2 changed files with 4 additions and 4 deletions

View File

@ -27,9 +27,9 @@ public class AlertButtonModel: Codable {
required public init(from decoder: Decoder) throws {
let typeContainer = try decoder.container(keyedBy: CodingKeys.self)
title = try typeContainer.decode(String.self, forKey: .title)
// if let style = try? typeContainer.decodeIfPresent(UIAlertAction.Style.self, forKey: .style) {
// self.style = style
// }
if let style = try? typeContainer.decodeIfPresent(UIAlertAction.Style.self, forKey: .style) {
self.style = style
}
action = try typeContainer.decodeModel(codingKey: .action)
}

View File

@ -9,7 +9,7 @@
#import <Foundation/Foundation.h>
#import "MVMCoreRequestParameters.h"
#define ENABLE_HARD_CODED_RESPONSE 0 && DEBUG
#define ENABLE_HARD_CODED_RESPONSE 1 && DEBUG
#if ENABLE_HARD_CODED_RESPONSE