Latest 0.7.0
License MIT
Platforms ios 7.0, osx 10.9, requires ARC
Dependencies toxcore, TPCircularBuffer, CocoaLumberjack, Realm

Build Status

Objective-C wrapper for Tox.


See CHANGELOG for list of notable changes (unreleased, current and previous versions).

  • iOS 7.0+ and OS X 10.9+ compatibility.
  • OCTTox wrapper for tox.h file.
  • OCTToxDNS wrapper for toxdns.h file.
  • OCTManager that provides high level API for Tox.
OCTManager features
  • Bootstrapping logic from STS.
  • Changing user name, status, status message, nospam.
  • Sending, receiving, removing and accepting friend requests.
  • Removing friends.
  • Auto-updated and changeable nickname for friend.
  • Chat objects with various information.
  • Sending and receiving messages.
  • tox1 and tox3 DNS discovery.
  • Audio and video calls.
  • File transfers.
  • User avatars.


objcTox is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "objcTox"


  1. Clone repo git clone
  2. Run install script ./
  3. Open objcTox.xcworkspace file with Xcode 8.


Before contributing please check style guide.

objcTox is using Uncrustify code beautifier. Before creating pull request please run it.

You can install it with Homebrew:

brew install uncrustify

After installing you can:

  • check if there are any formatting issues with
./ --check
  • apply uncrustify to all sources with
./ --apply

There is also git pre-commit hook. On committing if there are any it will gently propose you a patch to fix them. To install hook run

ln -s ../../ .git/hooks/pre-commit


Dmytro Vorobiov, [email protected]


objcTox is available under Mozilla Public License Version 2.0. See the LICENSE file for more info.

Latest podspec

    "name": "objcTox",
    "version": "0.7.0",
    "summary": "Objective-C wrapper for Tox",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Dmytro Vorobiov": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.7.0",
        "submodules": false
    "platforms": {
        "ios": "7.0",
        "osx": "10.9"
    "requires_arc": true,
    "source_files": "Classes/**/*.{m,h}",
    "public_header_files": "Classes/Public/**/*.h",
    "dependencies": {
        "toxcore": [
        "TPCircularBuffer": [
            "~> 0.0.1"
        "CocoaLumberjack": [
        "Realm": [
    "resource_bundles": {
        "objcTox": "Classes/Public/Manager/nodes.json"

Pin It on Pinterest

Share This