0b807d1db6be104e29b4b21461c2ffbfb92d1c58.svn-base
3.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

## XMPPFramework
[](https://travis-ci.org/robbiehanson/XMPPFramework) [](https://github.com/robbiehanson/XMPPFramework) [](https://cocoapods.org/?q=XMPPFramework) [](http://opensource.org/licenses/BSD-3-Clause)
An XMPP Framework in Objective-C for the Mac and iOS development community.
### Abstract
XMPPFramework provides a core implementation of RFC-3920 (the XMPP standard), along with the tools needed to read & write XML. It comes with multiple popular extensions (XEP's), all built atop a modular architecture, allowing you to plug-in any code needed for the job. Additionally the framework is massively parallel and thread-safe. Structured using GCD, this framework performs well regardless of whether it's being run on an old iPhone, or on a 12-core Mac Pro. (And it won't block the main thread... at all)
### Install
The minimum deployment target is iOS 8.0 / macOS 10.8.
The easiest way to install `XMPPFramework` is using CocoaPods. Remember to add to the top of your `Podfile` the `use_frameworks!` line (even if you are not using swift):
- This will install the whole framework with all the avaiable extensions:
```ruby
# The version pushed to CocoaPods is very out of date, use master branch for now
pod 'XMPPFramework', :git => "https://github.com/robbiehanson/XMPPFramework.git", :branch => 'master'
# pod 'XMPPFramework'
```
- If you want to pick what extensions to install:
```
pod 'XMPPFramework/XEP-0009'
pod 'XMPPFramework/XEP-0224'
```
After `pod install` open the `.xcworkspace` and import:
```
import XMPPFramework // swift
@import XMPPFramework; //objective-c
```
### Wiki:
For more info please take a look at the wiki.
- [Overview of the XMPP Framework](https://github.com/robbiehanson/XMPPFramework/wiki/IntroToFramework)
- [Getting started using XMPPFramework on Mac OS X](https://github.com/robbiehanson/XMPPFramework/wiki/GettingStarted_Mac)
- [Getting started using XMPPFramework on iOS](https://github.com/robbiehanson/XMPPFramework/wiki/GettingStarted_iOS)
- [XEPs supported by the XMPPFramework](https://github.com/robbiehanson/XMPPFramework/wiki/XEPs)
- [Learn more about XMPPFramework](https://github.com/robbiehanson/XMPPFramework/wiki)
Can't find the answer to your question in any of the [wiki](https://github.com/robbiehanson/XMPPFramework/wiki) articles? Try the [mailing list](http://groups.google.com/group/xmppframework).
Love the project? Wanna buy me a ☕️? (or a 🍺 😀):
[](https://onename.com/robbiehanson)
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CV6XGZTPQU9HY)