Hacker News new | past | comments | ask | show | jobs | submit login

> I was questioning why WeatherKit needs a "platform-specific Swift API" at all

So you can use it without having to deal with the low level detail of HTTP connections.




Low level detail of HTTP connections is already abstracted away in any general REST API.


Yes but many developers end up writing objects to hold the REST API data and methods to operate on it. And as the API changes you then to have a whole bunch of code you need to maintain and keep up to date.

Client library frees you from that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: