Skip to content

Lessica/StripedTextTableViewController

Repository files navigation

StripedTextTableViewController

Xcode - Build and Analyze

A simple log viewer in Objective-C.

Usage

StripedTextTableViewController *ctrl = [[StripedTextTableViewController alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"keybagd.log" ofType:@"0"]];
ctrl.autoReload = YES;
ctrl.maximumNumberOfRows = 100;
ctrl.reversed = YES;
ctrl.allowTrash = NO;
ctrl.allowSearch = YES;
ctrl.pullToReload = YES;
ctrl.tapToCopy = YES;
ctrl.pressToCopy = YES;
ctrl.preserveEmptyLines = NO;
ctrl.removeDuplicates = YES;
ctrl.rowSeparator = @"\n";
ctrl.rowPrefixRegularExpression = [NSRegularExpression regularExpressionWithPattern:@"^(Mon|Tue|Wen|Thu|Fri|Sat|Sun)\\s" options:kNilOptions error:nil];
UINavigationController *navCtrl = [[UINavigationController alloc] initWithRootViewController:ctrl];
[self presentViewController:navCtrl animated:YES completion:nil];

Screenshots

About

A simple log viewer in Objective-C.

Topics

Resources

Stars

Watchers

Forks