You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a formatter for the dates provided by the api you use to scrape the info below, and then sorted the array based on dates
let formatter = DateFormatter()
formatter.locale = Locale(identifier: "US_en")
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
let date = formatter.date(from: "2014-09-19T17:54:02Z") //example
dates.sort({$0.date.timeIntervalSinceNow > $1.date.timeIntervalSinceNow}) //where dates is the array of firmwares
Quiet hard to sort an Array of Strings, might start using Core Data to fetch and get the firmwares, then sort them by date.
Could this tie in with @betareleases?
The text was updated successfully, but these errors were encountered: