Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme.md fixed #9

Merged
merged 1 commit into from Mar 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.