-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] #162 - 명함생성 미리보기뷰, 명함상세뷰 flip 속도조절 #163
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,11 +164,11 @@ extension CardCreationPreviewViewController { | |
isFront = true | ||
} | ||
if swipeGesture.direction == .right { | ||
UIView.transition(with: cardView, duration: 1, options: .transitionFlipFromLeft, animations: nil) { _ in | ||
UIView.transition(with: cardView, duration: 0.5, options: .transitionFlipFromLeft, animations: nil) { _ in | ||
self.cardView.subviews[0].removeFromSuperview() | ||
} | ||
} else { | ||
UIView.transition(with: cardView, duration: 1, options: .transitionFlipFromRight, animations: nil) { _ in | ||
UIView.transition(with: cardView, duration: 0.5, options: .transitionFlipFromRight, animations: nil) { _ in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 반쪽때문인가~ |
||
self.cardView.subviews[0].removeFromSuperview() | ||
} | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,11 +151,11 @@ extension CardDetailViewController { | |
isFront = true | ||
} | ||
if swipeGesture.direction == .right { | ||
UIView.transition(with: cardView, duration: 1, options: .transitionFlipFromLeft, animations: nil) { _ in | ||
UIView.transition(with: cardView, duration: 0.5, options: .transitionFlipFromLeft, animations: nil) { _ in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 그래서 넌~ |
||
self.cardView.subviews[0].removeFromSuperview() | ||
} | ||
} else { | ||
UIView.transition(with: cardView, duration: 1, options: .transitionFlipFromRight, animations: nil) { _ in | ||
UIView.transition(with: cardView, duration: 0.5, options: .transitionFlipFromRight, animations: nil) { _ in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 둘이 될 수 있었던거야~ |
||
self.cardView.subviews[0].removeFromSuperview() | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.5 0.5 일과 이분의 일~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ