Skip to content
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

Rewrite SyllabusWebView #318

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Rewrite SyllabusWebView #318

merged 3 commits into from
Oct 22, 2024

Conversation

shp7724
Copy link
Contributor

@shp7724 shp7724 commented Oct 19, 2024

ScreenRecording_10-19-2024.21-55-45_1.MP4

@shp7724 shp7724 requested a review from a team as a code owner October 19, 2024 13:02
Comment on lines 29 to 31
progressBar.layer.shadowColor = UIColor.blue.cgColor
progressBar.layer.shadowRadius = 10.0
progressBar.layer.shadowOpacity = 0.9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그라데이션까지 넣으니까 좀 튀어서 그림자는 뺄까 싶은데 어때

Suggested change
progressBar.layer.shadowColor = UIColor.blue.cgColor
progressBar.layer.shadowRadius = 10.0
progressBar.layer.shadowOpacity = 0.9
progressBar.layer.shadowColor = UIColor.blue.withAlphaComponent(0.5).cgColor
Progress.Bar.mov

Copy link
Contributor Author

@shp7724 shp7724 Oct 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

progressBar.layer.shadowColor = UIColor.blue.withAlphaComponent(0.5).cgColor 이건 뭐야? 이것도 없애자는거 맞지?
아닌가 그림자를 아예 빼자는 소리는 아닌가

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

앗 깃헙 코멘트 알림이 왜 안떴지...그림자 아예 빼자는거였는데 suggestion 잘못 입력한듯

func makeUIViewController(context _: UIViewControllerRepresentableContext<Self>) -> UIViewController {
let webViewController = SyllabusWebViewController(entryURL: URL(string: urlString))
let navigationController = UINavigationController(rootViewController: webViewController)
var appearance = UINavigationBarAppearance()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사소하긴 한데 여기 let으로 바꾸라고 warning 뜨네

@shp7724 shp7724 merged commit 13a1ee3 into master Oct 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants