TigaseSwift Development Guide

Tigase Team


Table of Contents

1. Starting up
Preparation of environment for development
Creation of project using TigaseSwift library
2. Basics
Create XMPP client instance
Register required modules
Register additional modules you need
Provide credentials needed for authentication
Register for connection related events
Login
Disconnect
Sending custom stanza
Sending stanza without waiting for response
Sending stanza and waiting for response (closures)
Sending stanza and waiting for response (closure)
Sending stanza and waiting for response (AsyncCallback)
3. Supported features
4. List of specifications and modules implementing it
5. Usage examples
Simple client sending message
Simple client setting presence and handling incoming presences
Simple client setting presence, handling incoming presences and responding on incoming messages
Simple client with support for MUC
Simple client with support for PubSub