From 27202e83b7a9b5e53d81d2a8eb82d9837cf314e1 Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Wed, 21 Aug 2019 15:56:02 -0400 Subject: [PATCH] no longer needed. --- JSONCreator_iOS/JSONCreator/MasterViewController.swift | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/JSONCreator_iOS/JSONCreator/MasterViewController.swift b/JSONCreator_iOS/JSONCreator/MasterViewController.swift index d5b5039..57de0fe 100644 --- a/JSONCreator_iOS/JSONCreator/MasterViewController.swift +++ b/JSONCreator_iOS/JSONCreator/MasterViewController.swift @@ -39,11 +39,6 @@ class MasterViewController: UIViewController, UITableViewDelegate, UITableViewDa ipTextField.text = "127.0.0.1:8181" requestButton.layer.cornerRadius = 15.0 - requestButton.layer.shadowColor = UIColor.black.cgColor - requestButton.layer.shadowOpacity = 0.5 - requestButton.layer.shadowOffset = CGSize(width: 1, height: 2) - requestButton.layer.shadowRadius = 1 - requestButton.layer.masksToBounds = false requestButton.backgroundColor = UIColor.mfGet(forHex: "#d0261d") guard let ip = ipTextField.text else { return } @@ -84,8 +79,9 @@ class MasterViewController: UIViewController, UITableViewDelegate, UITableViewDa let data = try JSONSerialization.data(withJSONObject: val, options: .prettyPrinted) json = String(data: data, encoding: .utf8)! } catch { - + print(error.localizedDescription) } + return json }