# IRCClient - a Cocoa IRC Framework to create IRC clients

### 1.0

## Introduction

IRCClient is a Cocoa Framework that uses the excellent libircclient library written by Georgy Yunaev.

## Basic Usage

To use this framework, you will need to write an IRCClientSessionDelegate to handle all of the events generated by the server, and an IRCClientChannelDelegate to handle all of the events generated by channels on that server.

You then create an IRCClientSession object in your code, assign the required properties, and call connect: to connect to the server and run: to create the new thread and start receiving events. For example:

     IRCClientSession *session = [[IRCClientSession alloc] init];
     MyIRCClientSessionDelegate *controller = [[MyIRCClientSessionDelegate alloc] init];

     [session setDelegate:controller];
     [controller setSession:session];

     [session setServer:@"irc.dal.net"];
     [session setPort:@"6667"];
     [session setNickname:@"test"];
     [session setUsername:@"test"];
     [session setRealname:@"test"];
     [session connect];

     [session run]; //starts the thread

## Author, copyright, support.

If you have any questions, bug reports, suggestions regarding libircclient or the IRCClient framework, please visit http://libircclient.sourceforge.net

     libircclient Copyright (C) 2004-2009 Georgy Yunaev gyunaev@ulduzsoft.com
     IRCClient Copyright (C) 2009 Nathan Ollerenshaw chrome@stupendous.net

     This library is free software; you can redistribute it and/or modify it
     under the terms of the GNU Lesser General Public License as published by
     the Free Software Foundation; either version 2 of the License, or (at your
     option) any later version.

     This library is distributed in the hope that it will be useful, but WITHOUT
     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
     License for more details.