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 }