@@ -106,29 +106,6 @@ Typeset also provide a neat way to do this.
106
106
@" Hello" .hexColor(0x313131 );
107
107
```
108
108
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
-
132
109
## Match Part of String
133
110
134
111
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
160
137
mas.append(mas).append(mas);
161
138
```
162
139
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
-
195
140
# Contribute
196
141
197
142
Feel free to open an issue or pull request, if you need help or there is a bug.
0 commit comments