Skip to content

Commit da4dfca

Browse files
authored
Merge pull request #100 from lsj8706/fix/#99-자체QA반영
[Fix] #99 - 자체 QA 반영
2 parents b96e300 + a8bf76a commit da4dfca

File tree

24 files changed

+39
-78
lines changed

24 files changed

+39
-78
lines changed

Runnect-iOS/.swiftlint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ disabled_rules:
55
- type_name
66
- legacy_constructor
77
- unused_setter_value
8-
- force_try
98

109
included:
1110
- Runnect-iOS

Runnect-iOS/Runnect-iOS.xcodeproj/project.pbxproj

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
A3BC2F2F2962C40A00198261 /* UploadedCourseInfoVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F2E2962C40A00198261 /* UploadedCourseInfoVC.swift */; };
1515
A3BC2F322962E0DB00198261 /* GoalRewardInfoModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F312962E0DB00198261 /* GoalRewardInfoModel.swift */; };
1616
A3BC2F34296303A600198261 /* GoalRewardInfoCVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F33296303A600198261 /* GoalRewardInfoCVC.swift */; };
17-
A3BC2F382963CE3700198261 /* ActivityRecordInfoModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F372963CE3700198261 /* ActivityRecordInfoModel.swift */; };
1817
A3BC2F3A2963D0ED00198261 /* ActivityRecordInfoTVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F392963D0ED00198261 /* ActivityRecordInfoTVC.swift */; };
19-
A3BC2F3D296468E500198261 /* UploadedCourseInfoModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F3C296468E500198261 /* UploadedCourseInfoModel.swift */; };
2018
A3BC2F3F2964706100198261 /* UploadedCourseInfoCVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F3E2964706100198261 /* UploadedCourseInfoCVC.swift */; };
2119
A3BC2F4129667A0D00198261 /* NicknameEditorVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F4029667A0D00198261 /* NicknameEditorVC.swift */; };
2220
A3BC2F432966A93100198261 /* CourseDetailVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BC2F422966A93100198261 /* CourseDetailVC.swift */; };
@@ -156,9 +154,7 @@
156154
A3BC2F2E2962C40A00198261 /* UploadedCourseInfoVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UploadedCourseInfoVC.swift; sourceTree = "<group>"; };
157155
A3BC2F312962E0DB00198261 /* GoalRewardInfoModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GoalRewardInfoModel.swift; sourceTree = "<group>"; };
158156
A3BC2F33296303A600198261 /* GoalRewardInfoCVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GoalRewardInfoCVC.swift; sourceTree = "<group>"; };
159-
A3BC2F372963CE3700198261 /* ActivityRecordInfoModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActivityRecordInfoModel.swift; sourceTree = "<group>"; };
160157
A3BC2F392963D0ED00198261 /* ActivityRecordInfoTVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActivityRecordInfoTVC.swift; sourceTree = "<group>"; };
161-
A3BC2F3C296468E500198261 /* UploadedCourseInfoModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UploadedCourseInfoModel.swift; sourceTree = "<group>"; };
162158
A3BC2F3E2964706100198261 /* UploadedCourseInfoCVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UploadedCourseInfoCVC.swift; sourceTree = "<group>"; };
163159
A3BC2F4029667A0D00198261 /* NicknameEditorVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NicknameEditorVC.swift; sourceTree = "<group>"; };
164160
A3BC2F422966A93100198261 /* CourseDetailVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CourseDetailVC.swift; sourceTree = "<group>"; };
@@ -176,7 +172,6 @@
176172
CE10064D29680D2500FD31FB /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
177173
CE10064F29680D3300FD31FB /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
178174
CE10065029680D3800FD31FB /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
179-
CE10065129680D3F00FD31FB /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
180175
CE10065229680D4400FD31FB /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
181176
CE10065429680F7000FD31FB /* DepartureSearchingResponseDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DepartureSearchingResponseDto.swift; sourceTree = "<group>"; };
182177
CE1006562968230800FD31FB /* DepartureLocationModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DepartureLocationModel.swift; sourceTree = "<group>"; };
@@ -284,7 +279,6 @@
284279
CEEC6B3B2961C51A00D00E1E /* CourseStorageVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CourseStorageVC.swift; sourceTree = "<group>"; };
285280
CEEC6B3D2961C53700D00E1E /* CourseDiscoveryVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CourseDiscoveryVC.swift; sourceTree = "<group>"; };
286281
CEEC6B3F2961C55000D00E1E /* MyPageVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageVC.swift; sourceTree = "<group>"; };
287-
CEEC6B432961C59F00D00E1E /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
288282
CEEC6B442961C5A800D00E1E /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
289283
CEEC6B452961C5B200D00E1E /* .gitkeep */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
290284
CEEC6B482961C5E200D00E1E /* SplashVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplashVC.swift; sourceTree = "<group>"; };
@@ -350,7 +344,6 @@
350344
A3BC2F302962E08400198261 /* GoalRewardInfoCollectionView */ = {
351345
isa = PBXGroup;
352346
children = (
353-
A3BC2F312962E0DB00198261 /* GoalRewardInfoModel.swift */,
354347
A3BC2F33296303A600198261 /* GoalRewardInfoCVC.swift */,
355348
);
356349
path = GoalRewardInfoCollectionView;
@@ -359,7 +352,6 @@
359352
A3BC2F362963CD2100198261 /* ActivityRecordInfoTableView */ = {
360353
isa = PBXGroup;
361354
children = (
362-
A3BC2F372963CE3700198261 /* ActivityRecordInfoModel.swift */,
363355
A3BC2F392963D0ED00198261 /* ActivityRecordInfoTVC.swift */,
364356
);
365357
path = ActivityRecordInfoTableView;
@@ -368,7 +360,6 @@
368360
A3BC2F3B2964671D00198261 /* UploadedCourseInfoCollectionView */ = {
369361
isa = PBXGroup;
370362
children = (
371-
A3BC2F3C296468E500198261 /* UploadedCourseInfoModel.swift */,
372363
A3BC2F3E2964706100198261 /* UploadedCourseInfoCVC.swift */,
373364
);
374365
path = UploadedCourseInfoCollectionView;
@@ -481,7 +472,7 @@
481472
CE10064829680CF200FD31FB /* MyPageModel */ = {
482473
isa = PBXGroup;
483474
children = (
484-
CE10065129680D3F00FD31FB /* .gitkeep */,
475+
A3BC2F312962E0DB00198261 /* GoalRewardInfoModel.swift */,
485476
);
486477
path = MyPageModel;
487478
sourceTree = "<group>";
@@ -661,7 +652,6 @@
661652
DAD5A3DB296C6DB800C8166B /* MapCollectionViewCell.swift */,
662653
DAD5A3D9296C6DA500C8166B /* TitleCollectionViewCell.swift */,
663654
DAD5A3D7296C6D9600C8166B /* AdImageCollectionViewCell.swift */,
664-
CEEC6B432961C59F00D00E1E /* .gitkeep */,
665655
CE17F0432961C3D600E1DED0 /* VC */,
666656
);
667657
path = Views;
@@ -1384,7 +1374,6 @@
13841374
A3BC2F432966A93100198261 /* CourseDetailVC.swift in Sources */,
13851375
DAD5A3D8296C6D9600C8166B /* AdImageCollectionViewCell.swift in Sources */,
13861376
CE18E890296C76C100FEB569 /* RNLocationModel.swift in Sources */,
1387-
A3BC2F3D296468E500198261 /* UploadedCourseInfoModel.swift in Sources */,
13881377
CE6655DC295D873500C64E12 /* UIButton+.swift in Sources */,
13891378
CE6655D4295D865B00C64E12 /* Publisher+UIControl.swift in Sources */,
13901379
CE0D9FD329648DA300CEB5CD /* CustomAlertVC.swift in Sources */,
@@ -1430,7 +1419,6 @@
14301419
CEC2A68E2962AF2C00160BF7 /* RNMarker.swift in Sources */,
14311420
CE6655D2295D862A00C64E12 /* Publisher+Driver.swift in Sources */,
14321421
CE4942AA296FCCFC00736701 /* UploadedCourseDetailRouter.swift in Sources */,
1433-
A3BC2F382963CE3700198261 /* ActivityRecordInfoModel.swift in Sources */,
14341422
CE6655E6295D887F00C64E12 /* UIStackView+.swift in Sources */,
14351423
A3BC2F34296303A600198261 /* GoalRewardInfoCVC.swift in Sources */,
14361424
DA97A035296E685C0086760E /* CourseUploadingRouter.swift in Sources */,

Runnect-iOS/Runnect-iOS/Global/Literal/ImageLiterals.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ enum ImageLiterals {
6363
static var imgTelescope: UIImage { .load(named: "img_telescope") }
6464
static var imgSpaceship: UIImage { .load(named: "img_spaceship") }
6565
static var imgAppIcon: UIImage { .load(named: "img_app_icon") }
66+
static var imgAd: UIImage { .load(named: "img_ad") }
6667
}
6768

6869
extension UIImage {
Binary file not shown.
Binary file not shown.

Runnect-iOS/Runnect-iOS/Global/Resource/Assets.xcassets/adimage.imageset/Contents.json renamed to Runnect-iOS/Runnect-iOS/Global/Resource/Assets.xcassets/img_ad.imageset/Contents.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"scale" : "2x"
1212
},
1313
{
14+
"filename" : "Mask [email protected]",
1415
"idiom" : "universal",
1516
"scale" : "3x"
1617
}
82.3 KB
Loading
262 KB
Loading
495 KB
Loading

Runnect-iOS/Runnect-iOS/Global/UIComponents/MapView/RNMapView.swift

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,22 @@ final class RNMapView: UIView {
5252

5353
public init() {
5454
super.init(frame: .zero)
55-
setUI()
56-
setLayout()
57-
setDelegate()
58-
setMap()
59-
getLocationAuth()
60-
setPathOverlay()
55+
self.mapInit()
6156
}
6257

6358
override init(frame: CGRect) {
6459
super.init(frame: frame)
60+
self.mapInit()
61+
setLocationOverlay()
62+
}
63+
64+
private func mapInit() {
6565
setUI()
6666
setLayout()
6767
setDelegate()
6868
setMap()
6969
getLocationAuth()
7070
setPathOverlay()
71-
setLocationOverlay()
7271
}
7372

7473
required init?(coder: NSCoder) {
@@ -148,7 +147,6 @@ extension RNMapView {
148147
locations[1...].forEach { location in
149148
makeMarker(at: location)
150149
}
151-
152150
return self
153151
}
154152

@@ -191,7 +189,6 @@ extension RNMapView {
191189
@discardableResult
192190
func moveToLocation(location: NMGLatLng) -> Self {
193191
let cameraUpdate = NMFCameraUpdate(scrollTo: location)
194-
195192
DispatchQueue.main.async { [self] in
196193
cameraUpdate.animation = .easeIn
197194
self.map.mapView.moveCamera(cameraUpdate)
@@ -304,7 +301,7 @@ extension RNMapView {
304301
map.mapView.extent = NMGLatLngBounds(southWestLat: 31.43, southWestLng: 122.37, northEastLat: 44.35, northEastLng: 132)
305302
map.showLocationButton = false
306303
map.showScaleBar = false
307-
304+
map.showZoomControls = false
308305
map.mapView.logoAlign = .rightTop
309306
}
310307

0 commit comments

Comments
 (0)