Skip to content

Commit 5574490

Browse files
committed
Make MGTimeFormmater public
1 parent 57bde6a commit 5574490

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

MagicTimer/Classes/MGStandardTimerFormatter.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
import Foundation
33

4-
/// A type that any date formatter can conform
5-
protocol MGFormatter {
4+
/// A type that any date formatter should conform
5+
public protocol MGTimeFormatter {
66
/// Convert time interval to String format
77
/// - Parameter ti: elapsed time
88
func converToValidFormat(ti: TimeInterval) -> String?
@@ -18,7 +18,7 @@ enum MGTimeUnit: Int {
1818
case milliSeconds = 1000
1919
}
2020

21-
class MGStandardTimerFormatter: DateComponentsFormatter, MGFormatter {
21+
class MGStandardTimerFormatter: DateComponentsFormatter, MGTimeFormatter {
2222

2323
override init() {
2424
super.init()

0 commit comments

Comments
 (0)