Skip to content

Commit c86e7fa

Browse files
committed
[Fix] #259 - 코드 리뷰 반영
- 필요 없는 주석 제거 - 필요한 주석 추가
1 parent 66fe2b6 commit c86e7fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Runnect-iOS/Runnect-iOS/Global/Supports/SceneDelegate.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import FirebaseDynamicLinks
1212
import FirebaseCore
1313
import FirebaseCoreInternal
1414

15+
// 들어온 링크가 공유된 코스인지, 개인 보관함에 있는 코스인지 나타내기 위한 타입입니다.
1516
enum CourseType {
1617
case publicCourse, privateCourse
1718
}
@@ -20,7 +21,6 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
2021

2122
var window: UIWindow?
2223

23-
2424
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
2525

2626
guard let _ = (scene as? UIWindowScene) else { return }
@@ -54,11 +54,11 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
5454
switch courseType {
5555
case .publicCourse:
5656
let courseDetailVC = CourseDetailVC()
57-
courseDetailVC.getUploadedCourseDetail(courseId: courseId) // Now it's already Int
57+
courseDetailVC.getUploadedCourseDetail(courseId: courseId)
5858
navigationController.pushViewController(courseDetailVC, animated: false)
5959
case .privateCourse:
6060
let privateCourseDetailVC = RunningWaitingVC()
61-
privateCourseDetailVC.setData(courseId: courseId, publicCourseId: nil) // Adjusted for Int
61+
privateCourseDetailVC.setData(courseId: courseId, publicCourseId: nil)
6262
navigationController.pushViewController(privateCourseDetailVC, animated: false)
6363
}
6464

Runnect-iOS/Runnect-iOS/Presentation/Running/VC/RunningWaitingVC.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ extension RunningWaitingVC {
115115

116116
private func setAddTarget() {
117117
self.startButton.addTarget(self, action: #selector(startButtonDidTap), for: .touchUpInside)
118-
moreButton.addTarget(self, action: #selector(moreButtonDidTap), for: .touchUpInside)
118+
self.moreButton.addTarget(self, action: #selector(moreButtonDidTap), for: .touchUpInside)
119119
self.shareButton.addTarget(self, action: #selector(shareButtonDidTap), for: .touchUpInside)
120120
}
121121

0 commit comments

Comments
 (0)