From cae8229194e600f9cefb47123757f13334af24d3 Mon Sep 17 00:00:00 2001 From: Jisoo Kim Date: Wed, 12 May 2021 15:40:29 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[#14]=20Duration=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Baseball/Baseball/Data/Network/NetworkEndpoint.swift | 3 ++- .../GamePlayView/View/GamePlayViewController.swift | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Baseball/Baseball/Data/Network/NetworkEndpoint.swift b/Baseball/Baseball/Data/Network/NetworkEndpoint.swift index 2ac2d9213..00a65522e 100644 --- a/Baseball/Baseball/Data/Network/NetworkEndpoint.swift +++ b/Baseball/Baseball/Data/Network/NetworkEndpoint.swift @@ -17,7 +17,8 @@ protocol Requestable { struct GameListEndpoint: Requestable { // http://ec2-3-35-10-144.ap-northeast-2.compute.amazonaws.com/games - var baseUrl = "http://3.35.226.74/" +// var baseUrl = "http://3.35.226.74/" + var baseUrl = "http://ec2-3-35-10-144.ap-northeast-2.compute.amazonaws.com/" var path = "games" var httpMethod: HTTPMethod diff --git a/Baseball/Baseball/Presentation/GamePlayView/View/GamePlayViewController.swift b/Baseball/Baseball/Presentation/GamePlayView/View/GamePlayViewController.swift index 0939ce3ee..e09632ab4 100644 --- a/Baseball/Baseball/Presentation/GamePlayView/View/GamePlayViewController.swift +++ b/Baseball/Baseball/Presentation/GamePlayView/View/GamePlayViewController.swift @@ -71,7 +71,7 @@ extension GamePlayViewController { self.groundView.addSubview(batterView) batterView.center = basePoint?[0] ?? CGPoint() - animator = UIViewPropertyAnimator.runningPropertyAnimator(withDuration: 2, delay: 0, options: [], animations: { + animator = UIViewPropertyAnimator.runningPropertyAnimator(withDuration: 1, delay: 0, options: [], animations: { self.animation(runner: batterView) }, completion: { _ in self.movingRunners() @@ -88,7 +88,6 @@ extension GamePlayViewController: UITableViewDataSource { guard let cell = tableView.dequeueReusableCell(withIdentifier: "PitchHistoryCell") as? PitchHistoryCell else { return UITableViewCell() } - return cell }