curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

New iOS/macOS Objective-C and Swift wrapper libs

From: Benjamin Erhart via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 14 Nov 2024 13:40:28 +0100

Hi!

Just mailing you to let you know I started a new effort to bring libcurl
to Apple platforms:

1. piece:

https://github.com/greatfire/curl-apple

- auto-builds an xcframework for iOS, iOS Simulator and macOS within 24
hours after a new version of libcurl is detected.

- Can be extended easily to include tvOS and watchOS in case people
really need that, but spared for now to save compile time and disk
space. (Text me, if you'd like that.)

Cheers to Ian Spence who devised this originally. (But wasn't willing to
extend to macOS.)



2. piece:

https://github.com/greatfire/SwiftyCurl

A wrapper around `curl-apple` which works especially well with Swift,
but is actually itself written in Objective-C and hence also works
nicely in Objective-C, too. :-)
Supposed to be consumed via the CocoaPods dependency management system.

It lacks support for a lot of features for the sake of simplicity and
adaption to how things are done around Apple environments.

There's lots of things to be improved there (testing, SPM support,
handle reuse to name a few), but it allready works beautifully for the
things I need it. (Of courseā€¦)



I'm currently on a project which will continue to the end of next year,
so I will maintain these repos at least for that period.

If they gain any tracktion and people start sending me complaints, I
will at least make sure they're not completely falling apart beyond
that. ;-)


Have a nice day,

Benjamin Erhart aka. tla
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-11-14