We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b893131 commit ee64faeCopy full SHA for ee64fae
README.md
@@ -1,2 +1,26 @@
1
-# LRString
2
-(L)left(R)ight(String) Generator for Xcode (Objective-C) - useful for receipts.
+# LRString
+
3
+Generate Left / Right string easily with options. This is very useful for generating receipt lines that look something like this:
4
5
+```
6
+Coffee £2.54
7
+Beef Sandwich £4.50
8
+Cola £0.49
9
10
11
+## Import
12
+```objc
13
+#import "LRString.h"
14
15
16
+## Usage
17
18
+NSString *coffee_line = [LRString LRStringWithLeft:@"Coffee" right:@"£2.54" maxlength:29 maxleft:16 maxright:11];
19
20
+NSString *beef_line = [LRString LRStringWithLeft:@"Beef Sandwich" right:@"£4.50" maxlength:29 maxleft:16 maxright:11];
21
22
+NSString *cola_line = [LRString LRStringWithLeft:@"Cola" right:@"£0.49" maxlength:29 maxleft:16 maxright:11];
23
24
25
+## Credits
26
+Declan Land
0 commit comments