Skip to content

Commit 4c67580

Browse files
Update README.md
1 parent 5129f4b commit 4c67580

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

README.md

+40-40
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,71 @@
11
<a href="https://www.ramotion.com/agency/app-development?utm_source=gthb&utm_medium=repo&utm_campaign=blob-menu"><img src="https://github.com/Ramotion/blob-menu/blob/master/Promo/Header.png"></a>
2-
2+
33
<a href="https://github.com/Ramotion/animated-tab-bar">
44
<img align="center" src="https://github.com/Ramotion/blob-menu/blob/master/Promo/Blob-Menu-dark.gif" /></a>
55

66
<p><h1 align="left">BLOB MENU</h1></p>
77

88
<h4>Swift UI menu library.</h4>
99
___
10-
11-
12-
10+
1311
<p><h6>We specialize in the designing and coding of custom UI for Mobile Apps and Websites.</h6>
1412
<a href="https://www.ramotion.com/agency/app-development?utm_source=gthb&utm_medium=repo&utm_campaign=blob-menu">
1513
<img src="https://github.com/ramotion/gliding-collection/raw/master/[email protected]" width="187" height="34"></a>
1614
</p>
1715
<p><h6>Stay tuned for the latest updates:</h6>
1816
<a href="https://goo.gl/rPFpid" >
1917
<img src="https://i.imgur.com/ziSqeSo.png/" width="156" height="28"></a></p>
20-
21-
</br>
22-
18+
19+
<br>
20+
2321
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/Ramotion)
2422
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Ramotion/blob-menu)
2523
[![codebeat badge](https://codebeat.co/badges/6f67da5d-c416-4bac-9fb7-c2dc938feedc)](https://codebeat.co/projects/github-com-ramotion-blob-menu)
2624
[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-green.svg?style=flat)](https://developer.apple.com/swift/)
2725
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/Ramotion)
28-
29-
26+
27+
3028
## Requirements
31-
29+
3230
- iOS 13.0
3331
- Xcode 11.4
3432
- Swift 5.0
35-
36-
33+
34+
3735
## Installation
3836
You can install `blob-menu` in several ways:
39-
37+
4038
- By adding the source files to your project.
41-
39+
4240
<br>
43-
41+
4442
- Via [Swift Package Manager](https://swift.org/package-manager/).
45-
43+
4644
<br>
47-
45+
4846
- Via [CocoaPods](https://cocoapods.org):
4947
``` ruby
5048
pod 'blob-menu'
5149
```
52-
50+
5351
<br>
54-
52+
5553
- Via [Carthage](https://github.com/Carthage/Carthage):
5654
```
5755
github "Ramotion/blob-menu"
5856
```
59-
57+
6058
## Usage
61-
59+
6260
### Blob Menu
63-
61+
6462
1. Create several menu items. You need to provide at least one image icon to initialize `BlobMenuItem`.
6563
2. Use these menu items to create a menu model `BlobMenuModel`.
66-
64+
6765
`public init(items: [BlobMenuItem], selectedIndex: Int = 0, isOpened: Bool = false)`
68-
66+
6967
3. Finally, use the menu model to initialize `BlobMenuView`. You can use this view in your layout.
70-
68+
7169
### Example
7270
```
7371
extension BlobMenuItem {
@@ -78,11 +76,11 @@ extension BlobMenuItem {
7876
BlobMenuItem(icon: <#Image#>)
7977
]
8078
}
81-
79+
8280
struct ContentView: View {
83-
81+
8482
@ObservedObject private var model = BlobMenuModel(items: BlobMenuItem.all)
85-
83+
8684
var body: some View {
8785
VStack {
8886
Spacer()
@@ -91,31 +89,33 @@ struct ContentView: View {
9189
}
9290
}
9391
```
94-
92+
9593
### Configuration
96-
94+
9795
To configure additional menu parameters, use a custom `BlobMenuConfiguration` in the `BlobMenuView` init method.
98-
96+
9997
`public init(model: BlobMenuModel, configuration: BlobMenuConfiguration = .default)`
100-
98+
10199
Right now we provide only color parameters. If you have ideas on what else should be configurable, please create an issue with `suggestion` label.
102100
For more integration details, please take a look at the `Example` project.
103-
101+
104102
## �� License
105-
103+
106104
Blob Menu is released under the MIT license.
107105
See [LICENSE](./LICENSE) for details.
108-
106+
109107
This library is a part of a <a href="https://github.com/Ramotion/swift-ui-animation-components-and-libraries"><b>selection of our best UI open-source projects.</b></a>
110-
108+
111109
If you use the open-source library in your project, please make sure to credit and backlink to www.ramotion.com
112-
113-
110+
111+
114112
## �� Get the Showroom App for iOS to give it a try
115113
Try this UI component and more like this in our iOS app. Contact us if interested.
116-
114+
117115
<a href="https://itunes.apple.com/app/apple-store/id1182360240?pt=550053&ct=garland-view&mt=8" >
118116
<img src="https://github.com/ramotion/gliding-collection/raw/master/[email protected]" width="117" height="34"></a>
119-
117+
120118
<a href="https://www.ramotion.com/agency/app-development?utm_source=gthb&utm_medium=repo&utm_campaign=blob-menu">
121119
<img src="https://github.com/ramotion/gliding-collection/raw/master/[email protected]" width="187" height="34"></a>
120+
<br>
121+
<br>

0 commit comments

Comments
 (0)