Skip to content

Commit 939bf83

Browse files
authored
Update README.md
1 parent a4d07d7 commit 939bf83

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,26 @@ You can try to change the `radius`, `backgroundColor` or other properties with
104104
<iframe src="https://appetize.io/embed/45kwjngp1xud45eeqhxqy8qqew?device=iphone6s&scale=75&autoplay=false&orientation=portrait&deviceColor=black" width="312px" height="653px" frameborder="0" scrolling="no"></iframe>
105105

106106

107+
## macOS support
107108

109+
Add into your Podfile, then run `pod install`.
110+
111+
```:Podfile
112+
platform :osx, '10.9'
113+
114+
target 'Pulsator' do
115+
use_frameworks!
116+
pod "Pulsator"
117+
end
118+
```
119+
120+
The usage is same as iOS.
121+
122+
```swift
123+
let pulsator = Pulsator()
124+
view.layer?.addSublayer(pulsator)
125+
pulsator.start()
126+
```
108127

109128
## Objective-C version
110129

0 commit comments

Comments
 (0)