IRC client framework (wrapper around libircclient library).
IRCClient is now entirely text-encoding-agnostic[1]. It takes values for messages, nicks, channels, etc. as NSData objects which should contain null-terminated C strings, and returns values likewise. The 'encoding' property of IRCClientSession and IRCClientChannel is no longer used for any[1] internal functions. It is the responsibility of the framework's user to select an appropriate encoding for display of received C-strings (storing this encoding with session and channel objects is the function of the 'encoding' property). [1] The one exception is the reply string to CTCP TIME requests, which uses the specified encoding for the session. |
||
|---|---|---|
| IRCClient | ||
| IRCClient.xcodeproj | ||
| NSData+SA_NSDataExtensions | ||
| .gitignore | ||
| IRCClient.h | ||
| README | ||
| README_libircclient | ||
This is a modified version of the IRCClient framework by Nathan Ollerenshaw. I’ve rewritten it to allow robust support for arbitrary text encodings, and fixed various other problems. The original version is available here: http://sourceforge.net/projects/libircclient/ (distributed alongside the libircclient library). - Said Achmiz — ADDING IRCCLIENT TO YOUR APPLICATION (using Xcode) (these instructions apply to Xcode 7.1.1, build 7B1005) 0. Build libircclient and add it to the IRCClient project (see file “README_libircclient” for details) 1. Place the entire IRCClient folder in your project folder 2. Using “File -> Add Files…”, add IRCClient.xcodeproj to your project 3. Build the IRCClient framework target 4. Make sure the “Header Search Paths” build setting of your project contains the following entry: $(PROJECT_DIR)/ (non-recursive) 5. Configure the build phases for your application target thusly: i. Add IRCClient.framework to “Link Binary With Libraries” ii. Add IRCClient.framework to “Target Dependencies” iii. Add a “Copy Files” build phase iv. Set destination for the just-added “Copy Files” build phase to “Frameworks” v. Add IRCClient.framework to the just-added “Copy Files” build phase 6. Import IRCClient’s API into your code using “#import <IRCClient/IRCClient.h>” — See the following header files for documentation: IRCClientSession.h IRCClientSessionDelegate.h IRCClientChannel.h IRCClientChannelDelegate.h