finds.dev

mobile-web-messaging/MQTTKit

MQTT Objective-C client for iOS

View on GitHub

★ 462CApache-2.0updated Dec 2020

// the take

An Objective-C MQTT 3.1 client for iOS, wrapping a bundled copy of the Mosquitto library with a block-based, event-driven API. It's for teams maintaining older iOS/Objective-C codebases that need basic pub/sub messaging and don't want to write the C bindings themselves.

- Clean, idiomatic Objective-C API — completion handlers for connect/publish/subscribe and a single message block for incoming data, which reads naturally for anyone used to Cocoa patterns.

- Vendors its own copy of libmosquitto directly in the repo, so there's no external C dependency to build or link against separately.

- The author stopped maintaining it around 2015 and says so explicitly in the README — the last push in 2020 looks like a maintenance gap closing, not a comeback. No one is fixing bugs or responding to issues.

- Bundles Mosquitto 1.2.3, a library version from roughly 2013. A decade of security fixes and protocol improvements in Mosquitto and the broader MQTT ecosystem are missing, and there's no MQTT 5 support.

- Objective-C and manual Xcode project files (no Swift Package Manager) make this awkward to pull into a modern Swift project; CocoaPods is the only supported install path.

- No TLS/SSL usage shown anywhere in the example code or README — if certificate-based auth or encrypted transport is needed, you're on your own reading the vendored C source to find it.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
462
Forks
219
Language
C
License
Apache-2.0
Last commit
18 Dec 2020

// nearby

If MQTTKit isn't quite it.

All repos →