Skip to content

Commit eab8606

Browse files
authored
Update README.md
1 parent c63baf2 commit eab8606

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pod try Magnetic
1717

1818
---
1919

20-
## Features
20+
## Features
2121

2222
- Add/remove nodes dynamically
2323
- Smooth selection/deselection/removal animations
@@ -27,7 +27,7 @@ pod try Magnetic
2727

2828
---
2929

30-
## 📋 Requirements
30+
## Requirements
3131

3232
| Version | iOS | Swift |
3333
|----------------|------------|----------|
@@ -38,7 +38,7 @@ pod try Magnetic
3838

3939
---
4040

41-
## 🚀 Usage
41+
## Usage
4242

4343
`Magnetic` is an [`SKScene`](https://developer.apple.com/documentation/spritekit/skscene) subclass that is presented from an [`SKView`](https://developer.apple.com/documentation/spritekit/skview).
4444

@@ -58,7 +58,7 @@ class ViewController: UIViewController {
5858
}
5959
```
6060

61-
### 🧠 Properties
61+
### Properties
6262

6363
```swift
6464
var magneticDelegate: MagneticDelegate? // Delegate
@@ -68,11 +68,11 @@ var selectedChildren: [Node] // Currently selected nodes
6868

6969
---
7070

71-
## 🟣 Nodes
71+
## Nodes
7272

7373
A `Node` is a subclass of `SKShapeNode`.
7474

75-
### Interaction
75+
### Interaction
7676

7777
```swift
7878
let node = Node(text: "Italy", image: UIImage(named: "italy"), color: .red, radius: 30)
@@ -84,15 +84,15 @@ magnetic.addChild(customNode)
8484
node.removeFromParent()
8585
```
8686

87-
### ⚙️ Node Properties
87+
### Node Properties
8888

8989
```swift
9090
var text: String?
9191
var image: UIImage?
9292
var color: UIColor
9393
```
9494

95-
### 🎞️ Animations
95+
### Animations
9696

9797
```swift
9898
override func selectedAnimation() {
@@ -110,7 +110,7 @@ override func removedAnimation(completion: @escaping () -> Void) {
110110

111111
---
112112

113-
## 🔄 Delegation
113+
## Delegation
114114

115115
Use `MagneticDelegate` to observe selection state changes:
116116

@@ -126,7 +126,7 @@ func magnetic(_ magnetic: Magnetic, didDeselect node: Node) {
126126

127127
---
128128

129-
## 🎨 Customization
129+
## Customization
130130

131131
Subclass `Node` to define your own behavior or visuals:
132132

@@ -145,7 +145,7 @@ class ImageNode: Node {
145145

146146
---
147147

148-
## 📦 Installation
148+
## Installation
149149

150150
### CocoaPods
151151

@@ -162,21 +162,21 @@ github "efremidze/Magnetic"
162162

163163
---
164164

165-
## 📰 Mentions
165+
## Mentions
166166

167167
- [Natasha The Robot's Newsletter #126](https://swiftnews.curated.co/issues/126#start)
168168

169169
---
170170

171-
## 🤝 Contributing
171+
## Contributing
172172

173173
- Found a bug? [Open an issue](https://github.com/efremidze/Magnetic/issues)
174174
- Have a feature request? [Open an issue](https://github.com/efremidze/Magnetic/issues)
175175
- Want to contribute? [Submit a pull request](https://github.com/efremidze/Magnetic/pulls)
176176

177177
---
178178

179-
## 🙏 Acknowledgments
179+
## Acknowledgments
180180

181181
Inspired by [igalata/Bubble-Picker](https://github.com/igalata/Bubble-Picker)
182182

0 commit comments

Comments
 (0)