Latest 0.7.0
Homepage https://github.com/Antidote-for-Tox/objcTox
License MIT
Platforms ios 7.0, osx 10.9, requires ARC
Dependencies toxcore, TPCircularBuffer, CocoaLumberjack, Realm
Authors

Build Status codecov.io

Objective-C wrapper for Tox.

Features

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.

Installation

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

pod "objcTox"

Downloads

  1. Clone repo git clone https://github.com/Antidote-for-Tox/objcTox.git
  2. Run install script ./install.sh
  3. Open objcTox.xcworkspace file with Xcode 8.

Contribution

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
./run-uncrustify.sh --check
  • apply uncrustify to all sources with
./run-uncrustify.sh --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 ../../pre-commit.sh .git/hooks/pre-commit

Author

Dmytro Vorobiov, [email protected]

License

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": "https://github.com/Antidote-for-Tox/objcTox",
    "license": "MIT",
    "authors": {
        "Dmytro Vorobiov": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Antidote-for-Tox/objcTox.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": [
            "0.1.7"
        ],
        "TPCircularBuffer": [
            "~> 0.0.1"
        ],
        "CocoaLumberjack": [
            "1.9.2"
        ],
        "Realm": [
            "1.0.1"
        ]
    },
    "resource_bundles": {
        "objcTox": "Classes/Public/Manager/nodes.json"
    }
}

Pin It on Pinterest

Share This