BBCodeParser is open source objective C library for parsing BBCode (Bulletin Board Code).
To use this library in your project, copy files in BBCodeParser folder into your project. Then, include "BBCodeParser.h" file wherever you want to parse your code.
Usage example:
NSString *code = @""; // Your BB code here ...
BBCodeParser *parser = [[BBCodeParser alloc] initWithString:code];
for (BBElement *element in parser.elements)
{
// ...
}
To run the example project, clone the repo, and run pod install
from the Example directory first.
BBCodeParser is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "BBCodeParser"
Miha Rataj, [email protected]
BBCodeParser is available under the MIT license. See the LICENSE file for more info.