Latest 0.1.0
Homepage https://github.com/eugenio79/GMIRCClient
License MIT
Platforms ios 8.0, requires ARC
Authors

GMIRCClient is a lightweight iOS IRC client, entirely written in Swift.

NOTE: currently the set of features is minimal but I hope to extend them soon.

Requirements

  • iOS 8.0+
  • XCode 7.1+

Installation

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

pod "GMIRCClient"

Usage

Registering to a server

let socket = GMSocket(host: "irc.freenode.net", port: 6667)
irc = GMIRCClient(socket: socket)
irc.register("nickname", user: "username", realName: "Firstname Lastname")

Event handling

irc.delegate = self

func didWelcome() {
    print("Received welcome message - ready to join a chat room")
    irc.join("#test")
}

func didJoin(channel: String) {
    print("Joined chat room: (channel)")
    irc.sendMessageToNickName("Hi, I'm Nick. Is there anybody?", nickName: "Lela")
}

func didReceivePrivateMessage(text: String, from: String) {
    print("Received message from (from): (text)")
}

Author

Giuseppe Morana aka Eugenio, [email protected]

License

GMIRCClient is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "GMIRCClient",
    "version": "0.1.0",
    "summary": "GMIRCClient is a lightweight iOS IRC client, entirely written in Swift.",
    "homepage": "https://github.com/eugenio79/GMIRCClient",
    "license": "MIT",
    "authors": {
        "Giuseppe Morana aka Eugenio": "[email protected]"
    },
    "source": {
        "git": "https://github.com/eugenio79/GMIRCClient.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "GMIRCClient": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This