Skip to content

Commit 43f37dd

Browse files
author
Draveness
committed
Remove redundant section in README file
1 parent 23a93a8 commit 43f37dd

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

README.md

-55
Original file line numberDiff line numberDiff line change
@@ -106,29 +106,6 @@ Typeset also provide a neat way to do this.
106106
@"Hello".hexColor(0x313131);
107107
```
108108

109-
Typeset providing all the built-in colors in UIKit. So you can use them easily.
110-
111-
```objectivec
112-
- (TypesetKit *)black;
113-
- (TypesetKit *)darkGray;
114-
- (TypesetKit *)lightGray;
115-
- (TypesetKit *)white;
116-
- (TypesetKit *)gray;
117-
- (TypesetKit *)red;
118-
- (TypesetKit *)green;
119-
- (TypesetKit *)blue;
120-
- (TypesetKit *)cyan;
121-
- (TypesetKit *)yellow;
122-
- (TypesetKit *)magenta;
123-
- (TypesetKit *)orange;
124-
- (TypesetKit *)purple;
125-
- (TypesetKit *)brown;
126-
- (TypesetKit *)clear;
127-
128-
- (TypesettingColorBlock)color;
129-
- (TypesettingIntegerBlock)hexColor; // @"string".typeset.hexColor(0xffffff).string
130-
```
131-
132109
## Match Part of String
133110

134111
Typeset change total string by default. But you can use these method to change part of string.
@@ -160,38 +137,6 @@ Typeset provide a more elegant method `append` to concat mutiple `NSMutableAttri
160137
mas.append(mas).append(mas);
161138
```
162139

163-
## Style
164-
165-
```objectivec
166-
- (TypesettingStrikeThroughBlock)strikeThrough;
167-
168-
- (TypesettingBaselineBlock)baseline;
169-
170-
- (TypesettingIntegerBlock)underline;
171-
172-
- (TypesettingStringBlock)link;
173-
174-
- (TypesettingStringBlock)append;
175-
176-
- (TypesettingIntegerBlock)ligature;
177-
178-
- (TypesettingCGFloatBlock)kern;
179-
180-
- (TypesettingIntegerBlock)lineBreakMode;
181-
182-
- (TypesettingIntegerBlock)textAlignment;
183-
184-
- (TypesettingCGFloatBlock)lineSpacing;
185-
```
186-
187-
### Underline
188-
189-
Use `underline(style)` adding underline to string.
190-
191-
```objectivec
192-
@"Hello".typeset.underline(NSUnderlineStyleSingle).string;
193-
```
194-
195140
# Contribute
196141

197142
Feel free to open an issue or pull request, if you need help or there is a bug.

0 commit comments

Comments
 (0)