You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Fast and lightweight skeleton framework for SwiftUI!
6
6
7
7
## How to use
8
8
9
-
We use simple system with environment to pass information about skeleton across all views, but you should tell your layout where and how it should display. Like example:
9
+
We use a simple system with environment to pass information about the skeleton across all the views, but you should tell your layout where and how it should be displayed. Some examples:
10
10
11
11
```swift
12
12
@@ -29,7 +29,7 @@ struct ContentView: View {
29
29
}
30
30
```
31
31
32
-
But what if you want to design you skeleton? For your help we create a modifiers
32
+
But what if you want to design your own skeleton? You can do so with modifiers:
33
33
34
34
```swift
35
35
@@ -39,7 +39,7 @@ Text("Some title")
39
39
40
40
```
41
41
42
-
And what if you want to use a custom style or animation, for example? You can do it! Just pass extra arguments in your `setSkeleton` method:
42
+
And what if for example, you want to use a custom style or animation ? Its easy! Just use the extra arguments in your `setSkeleton` method:
43
43
44
44
45
45
```swift
@@ -64,7 +64,7 @@ struct ContentView {
64
64
65
65
```
66
66
67
-
Also, you can disable skeleton in your child view, when call `unskeletonable` method
67
+
To disable the skeleton in your child views just call the`unskeletonable` method
68
68
69
69
```swift
70
70
@@ -88,7 +88,7 @@ struct ContentView: View {
88
88
89
89
```
90
90
91
-
EasySkeleton greate fit to work with ForEach loop. You can apply native ForEach and modify it with `skeletonForEach` modifier:
91
+
EasySkeleton it a great fit to work with ForEach loops. You can apply the native ForEach and modify it with the`skeletonForEach` modifier:
92
92
93
93
```swift
94
94
structNewsView: View {
@@ -104,7 +104,7 @@ struct NewsView: View {
104
104
}
105
105
```
106
106
107
-
And last, but not least, the main killer feature is reading your skeleton state on the fly using Environment feature!
107
+
And last, but not least! The main killer feature: Reading your skeleton state on the fly using Environment feature!
0 commit comments