https://github.com/lessica/plaintextviewcontroller
A simple plain text viewer in Objective-C.
https://github.com/lessica/plaintextviewcontroller
debugging objective-c searching
Last synced: 8 months ago
JSON representation
A simple plain text viewer in Objective-C.
- Host: GitHub
- URL: https://github.com/lessica/plaintextviewcontroller
- Owner: Lessica
- Created: 2022-01-26T15:12:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T06:14:10.000Z (about 2 years ago)
- Last Synced: 2025-06-09T15:12:01.488Z (9 months ago)
- Topics: debugging, objective-c, searching
- Language: Objective-C
- Homepage:
- Size: 236 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PlainTextViewController
[](https://github.com/Lessica/PlainTextViewController/actions/workflows/objective-c-xcode.yml)
A simple plain text viewer in Objective-C.
## Usage
```objective-c
PlainTextViewController *ctrl = [[PlainTextViewController alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"passwd" ofType:@""]];
ctrl.pullToReload = YES;
ctrl.allowSearch = YES;
UINavigationController *navCtrl = [[UINavigationController alloc] initWithRootViewController:ctrl];
[self presentViewController:navCtrl animated:YES completion:nil];
```
## Screenshots