Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

Commit 094084d

Browse files
committed
⚡️ 불필요한 코드 삭제
1 parent e1cdd42 commit 094084d

File tree

7 files changed

+51
-79
lines changed

7 files changed

+51
-79
lines changed

.swiftlint.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ file_length:
4848
warning: 1000
4949
error: 2000
5050

51-
cyclomatic_complexity:
52-
- 15 # warning
53-
- 30 # error
54-
5551
# naming rules can set warnings/errors for min_length and max_length
5652
# additionally they can set excluded names
5753
type_name:

CoatCode/Common/CustomTabBarViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// Copyright © 2020 MinseokKang. All rights reserved.
77
//
88

9-
//import UIKit
109
import RxSwift
1110
import RxCocoa
1211
import XLPagerTabStrip

CoatCode/Configs/Configs.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ struct Configs {
1414
static let bundleIdentifier = "com.tistory.axe-num1.CoatCode"
1515
}
1616

17-
// 외부 IP: https://coatcode.herokuapp.com
18-
// 내부 IP: http://10.80.161.202:8080
1917
struct Network {
20-
static let baseURL = URL(string: "https://coatcode.herokuapp.com")!
18+
static let baseURL = URL(string: "")!
2119
}
2220

2321
struct BaseDimensions {

CoatCode/Managers/AuthManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class AuthManager {
2929
get {
3030
guard let jsonString = keychain[tokenKey] else { return nil }
3131
let jsonData = jsonString.data(using: .utf8)!
32-
let token = try! JSONDecoder().decode(Token.self, from: jsonData)
32+
let token = try? JSONDecoder().decode(Token.self, from: jsonData)
3333
return token
3434
}
3535
set {

CoatCode/Modules/CreateProfile/CreateProfileViewModel.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,3 @@ extension CreateProfileViewModel {
9494
}).disposed(by: self.disposeBag)
9595
}
9696
}
97-
98-
//func resize(image: UIImage, scale: CGFloat, completionHandler: ((UIImage?) -> Void)?) {
99-
// let transform = CGAffineTransform(scaleX: scale, y: scale)
100-
// let size = image.size.applying(transform)
101-
// UIGraphicsBeginImageContext(size)
102-
// image.draw(in: CGRect(origin: .zero, size: size))
103-
// let resultImage = UIGraphicsGetImageFromCurrentImageContext()
104-
// UIGraphicsEndImageContext()
105-
//
106-
// completionHandler!(resultImage)
107-
//}

Podfile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Uncomment the next line to define a global platform for your project
2-
# platform :ios, '13.0'
1+
platform :ios, '13.0'
2+
inhibit_all_warnings!
33

44
target 'CoatCode' do
5-
# Comment the next line if you don't want to use dynamic frameworks
65
use_frameworks!
7-
# Pods for CoatCode
86

97
# Rx
108
pod 'RxSwift'
@@ -14,7 +12,7 @@ target 'CoatCode' do
1412
pod 'RxFlow'
1513
pod 'RxGesture'
1614
pod 'RxDataSources'
17-
15+
1816
# Networking
1917
pod 'Moya/RxSwift'
2018

@@ -32,7 +30,7 @@ target 'CoatCode' do
3230
# Security
3331
pod 'KeychainAccess'
3432
pod 'CryptoSwift'
35-
33+
3634
# UI
3735
pod 'NVActivityIndicatorView/Extended'
3836
pod 'SwiftMessages'
@@ -45,10 +43,12 @@ target 'CoatCode' do
4543
# Keyboard
4644
pod 'RxKeyboard'
4745

48-
# Auto Layout
49-
pod 'SnapKit', '~> 5.0'
50-
51-
# Code Quality
52-
pod 'FLEX'
53-
46+
end
47+
48+
post_install do |installer|
49+
installer.pods_project.targets.each do |target|
50+
target.build_configurations.each do |config|
51+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
52+
end
53+
end
5454
end

Podfile.lock

Lines changed: 37 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
PODS:
2-
- Alamofire (5.4.0)
3-
- CryptoSwift (1.3.2)
2+
- Alamofire (5.4.3)
3+
- CryptoSwift (1.4.0)
44
- Differentiator (4.0.1)
5-
- FLEX (4.2.2)
6-
- ImageSlideshow/Core (1.9.1)
7-
- ImageSlideshow/Kingfisher (1.9.1):
5+
- ImageSlideshow/Core (1.9.2)
6+
- ImageSlideshow/Kingfisher (1.9.2):
87
- ImageSlideshow/Core
98
- Kingfisher (> 3.0)
109
- KafkaRefresh (1.5.0):
@@ -42,10 +41,8 @@ PODS:
4241
- KafkaRefresh/UIKit/LayerKit (1.5.0):
4342
- KafkaRefresh/Category
4443
- KafkaRefresh/Default
45-
- KeychainAccess (4.2.1)
46-
- Kingfisher (5.15.6):
47-
- Kingfisher/Core (= 5.15.6)
48-
- Kingfisher/Core (5.15.6)
44+
- KeychainAccess (4.2.2)
45+
- Kingfisher (6.3.0)
4946
- Moya/Core (14.0.0):
5047
- Alamofire (~> 5.0)
5148
- Moya/RxSwift (14.0.0):
@@ -54,14 +51,14 @@ PODS:
5451
- NVActivityIndicatorView/Base (5.1.1)
5552
- NVActivityIndicatorView/Extended (5.1.1):
5653
- NVActivityIndicatorView/Base
57-
- R.swift (5.2.2):
58-
- R.swift.Library (~> 5.2.0)
59-
- R.swift.Library (5.2.0)
60-
- Realm (10.1.0):
61-
- Realm/Headers (= 10.1.0)
62-
- Realm/Headers (10.1.0)
63-
- RealmSwift (10.1.0):
64-
- Realm (= 10.1.0)
54+
- R.swift (5.4.0):
55+
- R.swift.Library (~> 5.3.0)
56+
- R.swift.Library (5.3.0)
57+
- Realm (10.7.5):
58+
- Realm/Headers (= 10.7.5)
59+
- Realm/Headers (10.7.5)
60+
- RealmSwift (10.7.5):
61+
- Realm (= 10.7.5)
6562
- Reusable (4.1.1):
6663
- Reusable/Storyboard (= 4.1.1)
6764
- Reusable/View (= 4.1.1)
@@ -85,23 +82,21 @@ PODS:
8582
- RxSwift (~> 5.0)
8683
- RxRelay (5.1.1):
8784
- RxSwift (~> 5)
88-
- RxSwift (5.1.1)
85+
- RxSwift (5.1.2)
8986
- RxTags (0.3.0):
9087
- RxCocoa
9188
- RxSwift
9289
- Tags
93-
- SkeletonView (1.10.0)
94-
- SnapKit (5.0.1)
95-
- SwiftLint (0.40.3)
96-
- SwiftMessages (8.0.3):
97-
- SwiftMessages/App (= 8.0.3)
98-
- SwiftMessages/App (8.0.3)
99-
- Tags (0.3.1)
90+
- SkeletonView (1.15.0)
91+
- SwiftLint (0.43.1)
92+
- SwiftMessages (9.0.2):
93+
- SwiftMessages/App (= 9.0.2)
94+
- SwiftMessages/App (9.0.2)
95+
- Tags (0.3.2)
10096
- XLPagerTabStrip (9.0.0)
10197

10298
DEPENDENCIES:
10399
- CryptoSwift
104-
- FLEX
105100
- ImageSlideshow/Kingfisher
106101
- KafkaRefresh
107102
- KeychainAccess
@@ -119,7 +114,6 @@ DEPENDENCIES:
119114
- RxSwift
120115
- RxTags
121116
- SkeletonView
122-
- SnapKit (~> 5.0)
123117
- SwiftLint
124118
- SwiftMessages
125119
- XLPagerTabStrip
@@ -129,7 +123,6 @@ SPEC REPOS:
129123
- Alamofire
130124
- CryptoSwift
131125
- Differentiator
132-
- FLEX
133126
- ImageSlideshow
134127
- KafkaRefresh
135128
- KeychainAccess
@@ -150,43 +143,40 @@ SPEC REPOS:
150143
- RxSwift
151144
- RxTags
152145
- SkeletonView
153-
- SnapKit
154146
- SwiftLint
155147
- SwiftMessages
156148
- Tags
157149
- XLPagerTabStrip
158150

159151
SPEC CHECKSUMS:
160-
Alamofire: 3b6a534a3df22db367e4dedeeca73d1ddfcf0e2f
161-
CryptoSwift: 093499be1a94b0cae36e6c26b70870668cb56060
152+
Alamofire: e447a2774a40c996748296fa2c55112fdbbc42f9
153+
CryptoSwift: 7cc902df1784de3b389a387756c7d710f197730c
162154
Differentiator: 886080237d9f87f322641dedbc5be257061b0602
163-
FLEX: dbd68ae9c67fcc872c79c9e5a728f38243dfaa78
164-
ImageSlideshow: 67184be896a28472bd3b906c33ce4e0734aa3d22
155+
ImageSlideshow: be305b54eaf2b2cfc7a7141c7c734605d44dc07d
165156
KafkaRefresh: 01645b1509b8647809f6bb666629c80855bd3fdd
166-
KeychainAccess: 9b07f665298d13c3a85881bd3171f6f49b8151c1
167-
Kingfisher: b3554e7bf6106115b44e8795300bad580ef2fdc7
157+
KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
158+
Kingfisher: 6c3df386db71d82c0817a429d2c9421a77396529
168159
Moya: 5b45dacb75adb009f97fde91c204c1e565d31916
169160
NVActivityIndicatorView: 1f6c5687f1171810aa27a3296814dc2d7dec3667
170-
R.swift: 7c52cdc57a66840ffe6cbd8a823d732059d42a32
171-
R.swift.Library: 5ba4f1631300caf9a4d890186930da85d540769d
172-
Realm: 100df88a0faf5328f48477427e4b3e1a1598bae3
173-
RealmSwift: 725d1c10df64964b04aaa0058c19ce0f4b4c3f5a
161+
R.swift: c533450b0f7dc494e0993f5f1a1db925d84c3006
162+
R.swift.Library: 0fc583cb55a99e28901299cc451614cad1161962
163+
Realm: 06f5c67f87cb8c5f27b122218ce22e9a77314517
164+
RealmSwift: b46535b52e69b9ed33912f0fcb3182ab0a5743ee
174165
Reusable: 53a9acf5c536f229b31b5865782414b508252ddb
175166
RxCocoa: 32065309a38d29b5b0db858819b5bf9ef038b601
176167
RxDataSources: efee07fa4de48477eca0a4611e6d11e2da9c1114
177168
RxFlow: c5242626a73a03d0a0163f0ab795538c467b791f
178169
RxGesture: d6bd7447ca3a596c7a9702a6a2b6a2bb5d8bae54
179170
RxKeyboard: 6683c4344304a00f943c158bd8a43ce5469c82a7
180171
RxRelay: d77f7d771495f43c556cbc43eebd1bb54d01e8e9
181-
RxSwift: 81470a2074fa8780320ea5fe4102807cb7118178
172+
RxSwift: 1e2e1f9570186967f617e49128ed26ccf1bafc8e
182173
RxTags: 100689fecd5002276b0bfcc7513a0d07a692a16d
183-
SkeletonView: 14fbe9702c7fb5c5f011b44ac3ae99fc73155726
184-
SnapKit: 97b92857e3df3a0c71833cce143274bf6ef8e5eb
185-
SwiftLint: dfd554ff0dff17288ee574814ccdd5cea85d76f7
186-
SwiftMessages: 063ec9ffea3ffa7d17ba595157a9ec78e4fe045f
187-
Tags: 77420a200531fb338563b07279858edb51d080c5
174+
SkeletonView: cac18a3ac4f893b09d99e65072d806ef08377aae
175+
SwiftLint: 99f82d07b837b942dd563c668de129a03fc3fb52
176+
SwiftMessages: 77b847d1405f99046ffbd0d856bc7d73e6892686
177+
Tags: e1d330baa83b7c855ef1eb47b04532771e32b5f5
188178
XLPagerTabStrip: 61c57fd61f611ee5f01ff1495ad6fbee8bf496c5
189179

190-
PODFILE CHECKSUM: b6b85c0bc201c2ebfe859d0e896b5cd20cc30527
180+
PODFILE CHECKSUM: b97195fedb5bf08de19515d8c6b4b6c9490b6f1c
191181

192-
COCOAPODS: 1.10.0
182+
COCOAPODS: 1.10.1

0 commit comments

Comments
 (0)