Adam Lickel
Adam Lickel
I am using `ImageDownloader`. My issue is I want the same URLRequest that I would get from `UIImageView.setImage(withURL...)` Those conversions are all in private extension functions with the form: ```swift...
The other alternative would be to expose that `func urlRequest(with url: URL)` behavior publicly, e.g on ImageDownloader
@jshier have you had a chance to give this more thought?
Just following up; do you think you'd be willing to merge this in?
Ah, sure. I was extrapolating from swift-log, where I posted a [similar issue](https://github.com/apple/swift-log/issues/195). Admittedly that looks like a pure Apache license, and is obviously an older project.
> Since the BSGURLSessionTracingDelegate has access to the NSHTTPURLResponse when it comes time to log, what if we exposed a way for clients to parse the Data to a String...
Thanks!
This library has no tracking of any kind. Unless I'm mistaken, it also makes use of no "potentially" tracking APIs either.
Could `-serializedDatabaseRepresentationOfValue:forPropertyNamed:` and its converse be kept, but remove the default implementation? That allows for easy transforms, but requires subclasses to handle URLs and Dates.
That's certainly a fair point, though it's not uncommon for model frameworks to do trivial value transformations. The downside of not having transforms is that you push statefulness down to...