Skip to content

Commit

Permalink
Merge pull request #9 from ailinykh/patch-1
Browse files Browse the repository at this point in the history
Readme.md fixed
  • Loading branch information
RichAppz committed Mar 19, 2019
2 parents 3af6c95 + 4ecfed4 commit 7093815
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions README.md
@@ -1,24 +1,19 @@
<br>
![Banner](Resources/logo.png)

<center>![Banner](Resources/logo.png)</center>

<br>

#MacToggle
# MacToggle

Create Mac OS toggles with the user interaction, design and animation of the iOS UISwitch. Completely configurable through quick understandable code. With access to the source, you are able to add more custom features if you want. If their are any tweaks that you feel should be enabled then send me over a PR and I will have a look. **Swift 3 Ready**

<center>![Banner](Resources/mactoggle.gif)</center>
![Banner](Resources/mactoggle.gif)

##Setup
## Setup

Nothing complicated, copy the MacToggle folder over to your project.

<br>

##Sample Code
## Sample Code

```
```swift
let toggle: MacToggle = {
let view = MacToggle()
view.isOn = true
Expand All @@ -28,19 +23,14 @@ let toggle: MacToggle = {
```
There are plenty of settings you can play with, have fun and create the designs that you require for your Mac OS developments. Here are a couple of designs, for ideas:

<br>

<center>![Banner](Resources/switch-1.png)</center>

<br>

<center>![Banner](Resources/switch-2.png)</center>
![Banner](Resources/switch-1.png)

<br>
![Banner](Resources/switch-2.png)

<center>![Banner](Resources/switch-3.png)</center>
![Banner](Resources/switch-3.png)

<br>

## Support

Expand All @@ -51,7 +41,6 @@ If you have any issues with the MacToggle, the shoot me an email <a href="mailto
- Dragging on the toggle.
- Label support.

<br>

# License

Expand All @@ -63,4 +52,4 @@ If you have any issues with the MacToggle, the shoot me an email <a href="mailto
>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit 7093815

Please sign in to comment.