Skip to content

Commit

Permalink
feat: [#14] Duration 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghis22130 committed May 12, 2021
1 parent 9fa5c24 commit cae8229
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Baseball/Baseball/Data/Network/NetworkEndpoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -88,7 +88,6 @@ extension GamePlayViewController: UITableViewDataSource {
guard let cell = tableView.dequeueReusableCell(withIdentifier: "PitchHistoryCell") as? PitchHistoryCell else {
return UITableViewCell()
}

return cell
}

Expand Down

0 comments on commit cae8229

Please sign in to comment.