Skip to content
This repository has been archived by the owner on Aug 4, 2019. It is now read-only.

Antidote-for-Tox/objcTox

Repository files navigation

Build Status codecov.io

objcTox

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.
  • 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.
  • 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, d@dvor.me

License

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