Skip to content

Commit 36a4b68

Browse files
authored
Merge pull request #212 from boostcamp3-iOS/develop
LastLast Master Commit!
2 parents 6e3399d + 4705739 commit 36a4b68

14 files changed

+47
-63
lines changed

FineDust.xcodeproj/project.pbxproj

Lines changed: 26 additions & 42 deletions
Large diffs are not rendered by default.

FineDust/Common/FDCountingLabel.swift

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,7 @@ final class FDCountingLabel: UILabel {
1313

1414
/// 타이머.
1515
private var timer: Timer?
16-
17-
// MARK: Initializer
18-
19-
override init(frame: CGRect) {
20-
super.init(frame: frame)
21-
}
22-
23-
required init?(coder aDecoder: NSCoder) {
24-
super.init(coder: aDecoder)
25-
}
26-
16+
2717
/// 값이 없을 때 설정.
2818
func setNoValue(_ defaultText: String = "-") {
2919
text = defaultText

FineDust/Common/Log.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,21 @@
88

99
import UIKit
1010

11-
func debugLog(_ message: Any, file: String = #file, function: String = #function, line: Int = #line) {
11+
func debugLog(_ message: Any,
12+
file: String = #file,
13+
function: String = #function,
14+
line: Int = #line) {
1215
#if DEBUG
1316
let fileName = file.split(separator: "/").last ?? ""
1417
let functionName = function.split(separator: "(").first ?? ""
1518
print("👻 [\(fileName)] \(functionName)(\(line)): \(message)")
1619
#endif
1720
}
1821

19-
func errorLog(_ message: Any, file: String = #file, function: String = #function, line: Int = #line) {
22+
func errorLog(_ message: Any,
23+
file: String = #file,
24+
function: String = #function,
25+
line: Int = #line) {
2026
let fileName = file.split(separator: "/").last ?? ""
2127
let functionName = function.split(separator: "(").first ?? ""
2228
print("❌ [\(fileName)] \(functionName)(\(line)): \(message)")

FineDust/Statistics/GraphDrawable.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import Foundation
10+
import UIKit
1011

1112
/// 그래프를 그리는 프로토콜.
1213
protocol GraphDrawable: class {

FineDust/Statistics/IntakeData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct IntakeData {
2424
var todayUltrafineDust: Int = 1
2525

2626
/// 초기화.
27-
mutating func reset(_ intakeData: IntakeData) {
27+
mutating func reset(to intakeData: IntakeData) {
2828
self = intakeData
2929
}
3030
}

0 commit comments

Comments
 (0)