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

feat: 재생화면 뷰에 재생 뷰 넣기 #88

Merged
merged 18 commits into from
Nov 24, 2023
Merged

feat: 재생화면 뷰에 재생 뷰 넣기 #88

merged 18 commits into from
Nov 24, 2023

Conversation

chopmozzi
Copy link
Collaborator

🧑‍🚀 PR 요약

  • 재생화면 뷰에서 영상을 재생합니다.
  • LOSlider가 영상의 현재 위치를 나타냅니다.
  • LOSlider로 영상 위치를 조절할 수 있습니다.
  • 영상을 일시 정지, 재생 할 수 있습니다.
  • 영상이 끝나면 처음으로 되돌아갑니다.
  • 짜잘한 버그들 수정했습니다.

📌 변경 사항

여러 버그들을 수정하면서 세세한 수정사항이 있습니다. 확인해주시면 감사하겠습니다.

📸 ScreenShot
Simulator.Screen.Recording.-.iPhone.13.mini.-.2023-11-24.at.00.48.47.mp4

Linked Issue

close #59

Comment on lines +11 to +13
lazy var tagButton1: UIButton = setButton("#밤샘")
lazy var tagButton2: UIButton = setButton("#시차")
lazy var tagButton3: UIButton = setButton("#고양이")
Copy link
Collaborator

Choose a reason for hiding this comment

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

lazy var로 선언하신 이유가 있나요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

setButton함수 들어가야 해서 그랬을 거에요 VIP싸이클 적용하게 되면 바뀔 것 같습니다

guard let windowHeight = (windowScene?.screen.bounds.height) else {
return
}
playerSlider.frame = CGRect(x: 0, y: (windowHeight - tabbar.frame.height - LOSlider.loSliderHeight), width: playerSliderWidth, height: LOSlider.loSliderHeight)
Copy link
Member

Choose a reason for hiding this comment

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

컨벤션에 맞게 인자마다 들여쓰기하면 보기좋을 것 같습니다!

Comment on lines +136 to +137
playerView.player?.isMuted = true
playerView.play()
Copy link
Member

Choose a reason for hiding this comment

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

메소드..분리..

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

isMuted 시뮬에서 돌리면 시끄러워서 놔둔거라 신경 안쓰셔도 될 것 같습니다.

@chopmozzi chopmozzi merged commit 6ec50f4 into iOS/dev Nov 24, 2023
1 check passed
@chopmozzi chopmozzi deleted the iOS/feat#59 branch November 24, 2023 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants