-
Notifications
You must be signed in to change notification settings - Fork 6
[Setting] #242 - 1.0.8 버전 수정 및 배너 수정 #243
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
The head ref may contain hidden characters: "#242---1.0.8-\uBC84\uC804-\uC218\uC815-\uBC0F-\uBC30\uB108-\uC218\uC815"
Changes from all commits
0b16253
652649c
59cd145
a0eba49
39eaac2
0ea1f47
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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "filename" : "ios 2.png", | ||
| "filename" : "ios 1.png", | ||
| "idiom" : "universal", | ||
| "scale" : "1x" | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ final class AdImageCollectionViewCell: UICollectionViewCell, UIScrollViewDelegat | |
| final let collectionViewInset = UIEdgeInsets(top: 28, left: 16, bottom: 28, right: 16) | ||
|
|
||
| // MARK: - UI Components | ||
| var imgBanners: [UIImage] = [ImageLiterals.imgBanner3, ImageLiterals.imgBanner1, ImageLiterals.imgBanner2] | ||
| var imgBanners: [UIImage] = [ImageLiterals.imgBanner1, ImageLiterals.imgBanner2, ImageLiterals.imgBanner3] | ||
| var currentPage: Int = 0 | ||
| private var timer: Timer? | ||
|
|
||
|
|
@@ -128,19 +128,20 @@ extension AdImageCollectionViewCell: UICollectionViewDelegate, UICollectionViewD | |
| imageView.isUserInteractionEnabled = true | ||
| cell.contentView.addSubviews(imageView) | ||
|
|
||
| if indexPath.item == 0 { | ||
| let tapGesture = UITapGestureRecognizer(target: self, action: #selector(firstCellTapped(_:))) | ||
| imageView.addGestureRecognizer(tapGesture) | ||
| } | ||
| // 터치 이벤트 임시 제거 | ||
| // if indexPath.item == 0 { | ||
| // let tapGesture = UITapGestureRecognizer(target: self, action: #selector(firstCellTapped(_:))) | ||
| // imageView.addGestureRecognizer(tapGesture) | ||
| // } | ||
| return cell | ||
| } | ||
| // 첫 번째 셀 클릭 이벤트 핸들러 | ||
| @objc func firstCellTapped(_ gesture: UITapGestureRecognizer) { | ||
| // Safari 링크로 연결 | ||
| if let url = URL(string: "https://docs.google.com/forms/d/1cpgZHNNi1kIvi2ZCwCIcMJcI1PkHBz9a5vWJb7FfIbg/edit") { | ||
| UIApplication.shared.open(url) | ||
| } | ||
| } | ||
| // @objc func firstCellTapped(_ gesture: UITapGestureRecognizer) { | ||
| // // Safari 링크로 연결 | ||
| // if let url = URL(string: "https://docs.google.com/forms/d/1cpgZHNNi1kIvi2ZCwCIcMJcI1PkHBz9a5vWJb7FfIbg/edit") { | ||
| // UIApplication.shared.open(url) | ||
| // } | ||
| // } | ||
|
Comment on lines
+131
to
+144
Collaborator
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. 배너 터치 이벤트 뺀거 확인했습니다 ~
Collaborator
Author
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. 확인 감사합니다 ~ |
||
|
|
||
| } | ||
|
|
||
|
|
||
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.
옵셔널 값 줘서 dto 또 안만든 명진 칭찬해 ..