Skip to content

Commit dc43816

Browse files
committed
Update README.md with 2.2.2 version
1 parent 11d2547 commit dc43816

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Build Status](https://travis-ci.org/spacedrabbit/KVNProgress.svg?branch=test-jam-test-coverage)](https://travis-ci.org/spacedrabbit/KVNProgress)
55
[![Twitter: @kevinh6113](http://img.shields.io/badge/contact-%40kevinh6113-70a1fb.svg?style=flat)](https://twitter.com/kevinh6113)
66
[![License: MIT](http://img.shields.io/badge/license-MIT-70a1fb.svg?style=flat)](https://github.com/kevin-hirsch/KVNProgress/blob/master/README.md)
7-
[![Version](http://img.shields.io/badge/version-2.2.1-green.svg?style=flat)](https://github.com/kevin-hirsch/KVNProgress)
7+
[![Version](http://img.shields.io/badge/version-2.2.2-green.svg?style=flat)](https://github.com/kevin-hirsch/KVNProgress)
88
[![Cocoapods](http://img.shields.io/badge/Cocoapods-available-green.svg?style=flat)](http://cocoadocs.org/docsets/KVNProgress/)
99

1010
KVNProgress is a fully customizable progress HUD that can be full screen or not.
@@ -118,10 +118,10 @@ To show an indeterminate progress:
118118

119119
```objc
120120
[KVNProgress show];
121-
121+
122122
// Adds a status below the circle
123123
[KVNProgress showWithStatus:@"Loading"];
124-
124+
125125
// Adds the HUD to a certain view instead of main window
126126
[KVNProgress showWithStatus:@"Loading"
127127
onView:view];
@@ -140,16 +140,16 @@ To show a determinate progress and change its value along time:
140140
```objc
141141
// Progress has to be between 0 and 1
142142
[KVNProgress showProgress:0.5f];
143-
143+
144144
// Adds a status below the progress
145145
[KVNProgress showProgress:0.5f
146146
status:@"Loading"];
147-
147+
148148
// Adds the HUD to a certain view instead of main window
149149
[KVNProgress showProgress:0.5f
150150
status:@"Loading"
151151
onView:view];
152-
152+
153153
// Updates the progress
154154
[KVNProgress updateProgress:0.75f
155155
animated:YES];
@@ -209,10 +209,10 @@ To show a success HUD with a checkmark:
209209
210210
```objc
211211
[KVNProgress showSuccess];
212-
212+
213213
// Or
214214
[KVNProgress showSuccessWithStatus:@"Success"];
215-
215+
216216
// Adds the HUD to a certain view instead of main window
217217
[KVNProgress showSuccessWithStatus:@"Success"
218218
onView:view];
@@ -222,10 +222,10 @@ To show an error HUD with a cross:
222222

223223
```objc
224224
[KVNProgress showError];
225-
225+
226226
// Or
227227
[KVNProgress showErrorWithStatus:@"Error"];
228-
228+
229229
// Adds the HUD to a certain view instead of main window
230230
[KVNProgress showErrorWithStatus:@"Error"
231231
onView:view];
@@ -235,7 +235,7 @@ Dismiss is automatic for successes and errors. If you want to do something after
235235
236236
## Customization
237237
238-
The appearance of KVNProgress is very customizable.
238+
The appearance of KVNProgress is very customizable.
239239
If something is missing or could be added, don't hesitate to ask for it!
240240
241241
### <a name="KVNProgressConfiguration"></a>KVNProgressConfiguration
@@ -247,14 +247,14 @@ Here is an example on how to simply set the default configuration for you HUD:
247247
[KVNProgress setConfiguration:[KVNProgressConfiguration defaultConfiguration]];
248248
```
249249

250-
Note that if you just want the default configuration, the above code is not needed.
250+
Note that if you just want the default configuration, the above code is not needed.
251251
If you do not set a configuration, the default one is taken ;)
252252

253253
Here is an example of a complete custom configuration:
254254

255255
```objc
256256
KVNProgressConfiguration *configuration = [[KVNProgressConfiguration alloc] init];
257-
257+
258258
configuration.statusColor = [UIColor whiteColor];
259259
configuration.statusFont = [UIFont fontWithName:@"HelveticaNeue-Thin" size:15.0f];
260260
configuration.circleStrokeForegroundColor = [UIColor whiteColor];
@@ -275,12 +275,12 @@ Here is an example of a complete custom configuration:
275275
// Do something you want to do when the user tap on the HUD
276276
// Does nothing by default
277277
};
278-
278+
279279
// You can allow user interaction for behind views but you will losse the tapBlock functionnality just above
280280
// Does not work with fullscreen mode
281281
// Default is NO
282282
configuration.allowUserInteraction = NO;
283-
283+
284284
[KVNProgress setConfiguration:configuration];
285285
```
286286

0 commit comments

Comments
 (0)