All Projects → Sunnyyoung → Syflatbutton

Sunnyyoung / Syflatbutton

Licence: mit
A customized NSButton with modern flat style like bootstrap.

Projects that are alternatives of or similar to Syflatbutton

Angular Bootstrap Checkbox
A checkbox for AngularJS styled to fit the Twitter Bootstrap standard design
Stars: ✭ 154 (-3.75%)
Mutual labels:  bootstrap
Metal Tutorial
Metal入门资料,涉及到iOS平台,OSX平台,TvOS平台,其中,OSX平台可以直接运行,iOS平台,TvOS平台都需要使用真机设备测试运行。下面是相关博客,欢迎拍砖
Stars: ✭ 156 (-2.5%)
Mutual labels:  osx
Desktop Google Keep Osx
A Super Simple Desktop Client for Mac OSX Built in Javascript and MacGap
Stars: ✭ 159 (-0.62%)
Mutual labels:  osx
Hugo Agency Theme
Port of Startbootstrap's Agency theme to Hugo
Stars: ✭ 155 (-3.12%)
Mutual labels:  bootstrap
Lightbox
A lightbox gallery plugin for Bootstrap
Stars: ✭ 1,866 (+1066.25%)
Mutual labels:  bootstrap
Usbdeviceswift
wrapper for IOKit.usb and IOKit.hid written on pure Swift that allows you convenient work with USB devices
Stars: ✭ 156 (-2.5%)
Mutual labels:  osx
Styled Bootstrap
💅🏻 A styled-component implementation of Bootstrap
Stars: ✭ 154 (-3.75%)
Mutual labels:  bootstrap
Majesticadmin Free Bootstrap Admin Template
Simple Bootstrap 4 Dashboard template.
Stars: ✭ 160 (+0%)
Mutual labels:  bootstrap
Bootstrap Photo Gallery
jQuery plugin that converts your list of images into a grid-based gallery on Bootstrap 4. Supports larger view in a modal with next / previous controls
Stars: ✭ 156 (-2.5%)
Mutual labels:  bootstrap
Qtcsv
Library for reading and writing csv-files in Qt.
Stars: ✭ 156 (-2.5%)
Mutual labels:  osx
Rar2fs
FUSE file system for reading RAR archives
Stars: ✭ 155 (-3.12%)
Mutual labels:  osx
Startbootstrap Creative
Start Bootstrap is an open source library of free Bootstrap themes and templates. All of the free themes and templates on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Stars: ✭ 1,900 (+1087.5%)
Mutual labels:  bootstrap
Angular Ui Tour
Product tour using Angular UI Bootstrap Tooltips
Stars: ✭ 157 (-1.87%)
Mutual labels:  bootstrap
Ngx Formly
JSON powered / Dynamic forms for Angular
Stars: ✭ 2,109 (+1218.13%)
Mutual labels:  bootstrap
X Editable Rails
Edit fields easily with X-Editable helper
Stars: ✭ 159 (-0.62%)
Mutual labels:  bootstrap
Ng Demo
🦴 Bare Bones Angular 10 and Angular CLI Tutorial
Stars: ✭ 154 (-3.75%)
Mutual labels:  bootstrap
Estore
一个基于JavaWeb的网上电子购物城项目,实现展示商品、购买商品、提交订单、持久化保存到数据库等基本功能
Stars: ✭ 157 (-1.87%)
Mutual labels:  bootstrap
Ej2 Angular Ui Components
Syncfusion Angular UI components library offer more than 50+ cross-browser, responsive, and lightweight angular UI controls for building modern web applications.
Stars: ✭ 159 (-0.62%)
Mutual labels:  bootstrap
Window Table
Windowing Table for React based on React Window
Stars: ✭ 160 (+0%)
Mutual labels:  bootstrap
Bootstrap Dark
Bootstrap 4 dark theme that supports togging dark/light themes as well. There is no fluff, it changes the color of Bootstrap and that's it, no new thing to learn or unlearn, just Bootstrap, but Dark!
Stars: ✭ 158 (-1.25%)
Mutual labels:  bootstrap

SYFlatButton

Build Status License MIT Platform info

Description

A customized NSButton with modern flat style like bootstrap.

Screenshot

Installation

Requirement

macOS 10.12 and above.

Cocoapods

  1. Add pod 'SYFlatButton' to your podfile
  2. Run pod install

Manual

Dragging SYFlatButton.h and SYFlatButton.m to your project.

Usage

Interface Builder

  1. Create a NSButton
  2. Set its Button Style to Square in order to change the button's height
  3. Set its Button Class to SYFlatButton
  4. Config the styles from the inspector

Programmatically

See more customizable style from SYFlatButton.h

SYFlatButton *button = [[SYFlatButton alloc] initWithFrame:CGRectMake(20.0, 20.0, 60.0, 30.0)];
button.title = @"Code";
button.momentary = YES;
button.cornerRadius = 4.0;
button.backgroundNormalColor = [NSColor blueColor];
button.backgroundHighlightColor = [NSColor redColor];
[self.view addSubview:button];

Credit

Inspired by FlatButton.

License

The MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].