Skip to content

Commit 5a5a97e

Browse files
committed
Updated Readme.
1 parent c3a3b59 commit 5a5a97e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# NativeUIKit
22

3-
Mimicrated views and controls to native Apple appearance. If you have any ideas of what elements can be added, let me know. Below you will see [previews](#classes) of all the elements and how to use them. Here provided all elements which available, tap for open docs for it.
3+
Mimicrated views and controls to native Apple appearance. If you have any ideas of what elements can be added, let me know. Below you will see [previews](#classes) of all the elements and how to use them.
4+
5+
Here provided all elements which available, tap for open docs for it.
46

57
<p float="left" style="margin: 100px">
68
<a href="#NativeAvatarView">
@@ -16,7 +18,6 @@ Mimicrated views and controls to native Apple appearance. If you have any ideas
1618
</a>
1719
</p>
1820

19-
2021
If you like the project, don't forget to `put star ★`<br>Check out my other libraries:
2122

2223
<p float="left">
@@ -142,7 +143,9 @@ button.sizeToFit()
142143
<img align="left" src="https://github.com/ivanvorobei/NativeUIKit/blob/main/Assets/Readme/Elements/NativeAvatarView.svg"/>
143144
</a>
144145

145-
Avatar view is container with 3 buttons - placeholder, avatar and indicator. For change avatar set `avatarAppearance`. For shor or hide edit button set `isEditable`.
146+
Avatar view is container with 3 buttons - placeholder, avatar and indicator. For change avatar set `avatarAppearance`. For show or hide edit button set `isEditable`.
147+
148+
Layout availbe by size to fit for content. In this case change placeholder size to valid SFSymbol for have correct fit. By default font side is 80 point. Or you can set fixed frame and ignore fitting size.
146149

147150
```swift
148151
let avatarView = NativeAvatarView()

0 commit comments

Comments
 (0)