This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ISO8601DateFormatter { | |
| private static var cachedCalendar: Calendar = { | |
| var calendar = Calendar(identifier: .gregorian) | |
| calendar.timeZone = TimeZone.gmt | |
| return calendar | |
| }() | |
| static func format(_ date: Date) -> String { | |
| let components = cachedCalendar.dateComponents([.year, .month, .day, .hour, .minute, .second], from: date) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "kind": "software", | |
| "features": [ | |
| "iosUniversal", | |
| "newsstand" | |
| ], | |
| "supportedDevices": [ | |
| "all" | |
| ], | |
| "isGameCenterEnabled": false, |