chrono-swift
chrono-swift copied to clipboard
Obj-C support?
Can we please have @objc support for this library?
Sure. Give me like a day or two. The only annoying this is that ChronoParsedResult can’t be represented in Objective-C, since it’s a struct. Would you be cool with parsedResultsFrom(naturalLanguageString: String, referenceDate: Date?) returning an NSDictionary instead of a ChronoParsedResult?
Or I suppose I could create a ChronoParsedResultReference that’s just a class representation of ChronoParsedResult.