Are there any Objective-C web frameworks?

2020-02-26 06:58发布

问题:

Are there any Objective-C web frameworks? The only frameworks I've found is frothkit.

I'm primary looking for a way to write RESTful json web services in Objective-C.

回答1:

GNUStepWeb is a web framework based on the Objective-C version of NeXT's WebObjects (Apple's WebObjects being Java only), but it has no particular support for JSON. It's certainly possible to get it to write JSON data, of course.



回答2:

This doesn't do REST, but SudzC will generate an Objective-C web services proxy for invoking a web service. They recently upped the documentation and sample code specific to the WSDL that you point it to or upload. Check it out.



回答3:

There is nothing stopping you from just using a JSON C library to handle the JSON stuff. Heck if you were feeling adventurous you could even write it yourself.