82 Commits

Author SHA1 Message Date
Ilija Tovilo b246d81daa Add new working demo project 2018-04-01 12:42:35 +02:00
Ilija Tovilo 449b9970e6 Fix clipped shadow 2018-04-01 12:42:13 +02:00
Ilija Tovilo 026a7051fb Merge pull request #35 from rinatkhanov/master
Expose the option to modify disabled border color
2016-03-02 18:11:20 +01:00
Rinat Khanov 2db1038275 Return default border color via getter 2016-03-02 17:47:14 +03:00
Rinat Khanov 56bed6963a Expose the option to modify disabled border color 2016-03-02 08:59:48 +03:00
Ilija Tovilo 26e3079a26 Merge pull request #34 from alldritt/master
Handle nil-target action correctly
2016-02-27 23:48:03 +01:00
Mark Alldritt 14ba668964 Handle target action correctly
Let NSApplication dispatch the action according to the first responder
chain in the absence of a specific target.
2016-02-27 13:32:33 -08:00
Ilija Tovilo 49fb28fa56 Merge pull request #32 from iiiyu/feature/add-podspec
add cocoapods support
2015-12-18 18:23:34 +01:00
ChenYu Xiao b5cd5b2d07 update podspec file 2015-12-18 23:18:11 +08:00
ChenYu Xiao fa7764032a add podspec 2015-12-18 23:17:50 +08:00
Ilija Tovilo ce60b0c413 Update README.md 2015-07-13 16:09:19 +02:00
Ilija Tovilo c79be1a7c1 Update README.md 2015-07-13 16:09:01 +02:00
Ilija Tovilo d4a4f989a4 Merge pull request #29 from danielmartinprieto/master
Fixing a problem where the header wasn't public when adding via Carthage.
2015-06-24 15:09:11 +02:00
Daniel Martín 2b0f2ee56b Fixing a problem where theheader wasn't public 2015-06-24 14:08:31 +02:00
Ilija Tovilo fd773d8ac4 Merge pull request #28 from danielmartinprieto/master
Adding Carthage support.
v1.0
2015-06-23 19:49:02 +02:00
Daniel Martín 12700f0684 Adding Carthage support 2015-06-23 12:51:59 +02:00
Ilija Tovilo 02f96d807a Fix doc comment 2015-06-22 07:03:46 +02:00
Ilija Tovilo b74343cd1d Update README.md 2015-06-22 07:03:02 +02:00
Ilija Tovilo dd2157a9e3 Merge pull request #27 from Feingeist/master
Fixed bi-directional binding
2015-06-20 17:05:30 +02:00
Fabian Jäger 5747a2faa6 - fixed bi-directional binding 2015-06-20 15:17:53 +02:00
Ilija Tovilo d1865e485a Merge pull request #26 from Feingeist/master
Cocoa bindings should work now
2015-06-20 11:08:50 +02:00
Ilija Tovilo ddf54acb21 Updated printscreen with Yosemite style 2015-06-20 11:03:10 +02:00
Fabian Jäger 1f24bd7982 Cocoa bindings should work now 2015-06-18 23:15:51 +02:00
Ilija Tovilo 012433e231 Switched-on switch in demo - solves #24 2015-06-12 21:46:45 +02:00
Ilija Tovilo fa53a46b3f Update README.md 2014-11-16 12:38:22 +01:00
Ilija Tovilo 66ebb8e4f6 Reimplement target/action accessors - Fix #21 2014-11-14 18:51:47 +01:00
Ilija Tovilo e5295613c9 Update README.md 2014-11-13 20:44:07 +01:00
Ilija Tovilo a747cd4ce5 Merge pull request #20 from interstateone/InterfaceBuilder
Add IB_DESIGNABLE and IBInspectable directives to ITSwitch
2014-11-13 08:05:43 +01:00
Brandon Evans 5bdbb7e76d Add IB_DESIGNABLE and IBInspectable directives to ITSwitch
This allows you to preview and edit the appearance of an ITSwitch in IB.
2014-11-12 22:56:38 -07:00
Ilija Tovilo a498323b97 Merge pull request #19 from rickfillion/master
Code cleanup
2014-10-18 17:46:15 +02:00
Rick Fillion 550752e22c Merge remote-tracking branch 'iluuu1994/master' 2014-10-18 11:22:21 -04:00
Rick Fillion 8920b47132 Added Requirementse to README 2014-10-18 11:19:25 -04:00
Rick Fillion a41d329cb0 Updated README for change to API 2014-10-18 11:18:00 -04:00
Rick Fillion c4329e1691 Renamed the isDraggingTowardsOn property to draggingTowardsOn to better
match how Cocoa names properties
2014-10-18 11:12:59 -04:00
Rick Fillion baa8777389 Renamed hasDragged property to dragged to better match how Cocoa names
properties
2014-10-18 11:11:11 -04:00
Rick Fillion 60c392472b Renamed isActive property to active to better match how Cocoa names
properties
2014-10-18 11:08:58 -04:00
Rick Fillion 3c30532b62 Renamed the isOn property to 'on' to better conform to how Cocoa does
properties and to match UISwitch. Also removed the manual
willChangeValueForKey/didChangeValueForKey as it's unneeded... the
runtime will do that for us since it's a @property
2014-10-18 11:06:55 -04:00
Rick Fillion ad38bf0c99 No need to define what we're overriding in the header 2014-10-18 11:02:19 -04:00
Rick Fillion 2c2c60a03b Removed useless isEnabled implementation 2014-10-18 11:01:59 -04:00
Rick Fillion 6b0c7e7a35 No need to provide a custom implementation of target/action, NSControl
does a fine job.
2014-10-18 11:00:35 -04:00
Rick Fillion a1dd441397 Converted #defines to static constants 2014-10-18 10:58:00 -04:00
Ilija Tovilo 409cf45cd0 Merge pull request #18 from rickfillion/master
Got rid of the category method on NSColor to get the CGColorRef. This
2014-10-16 21:22:21 +02:00
Rick Fillion 27c4e28db5 Got rid of the category method on NSColor to get the CGColorRef. This
makes the class only work on 10.8+, but also fixes a crasher in this
method when compiled with any optimization level beyond -Onone in
Xcode6.1.
2014-10-16 14:48:44 -04:00
Ilija Tovilo 994d05ac0e Merge pull request #17 from rickfillion/master
Added keyboard and accessibility support
2014-10-08 20:12:16 +02:00
Rick Fillion abd024e2c2 Made the properties nonatomic 2014-10-08 13:41:40 -04:00
Rick Fillion 380eb7f465 Added accessibility support 2014-10-08 11:51:47 -04:00
Rick Fillion c2362aafe5 Added a focus ring when the control can be manipulated by the keyboard,
and the ability to use left/right arrows as well as spacebar to toggle
values.
2014-10-08 11:26:18 -04:00
Ilija Tovilo b591ab0c79 Added support for OS X 10.10 Yosemite. Fixes #16 2014-06-23 21:25:53 +02:00
Ilija Tovilo dc93244837 CFAutorelease is not available in older systems 2014-06-04 22:13:40 +02:00
Ilija Tovilo 8ed855610a Fixed leak in NSColor to CGColorRef conversion. Fixes #14 2014-06-01 12:57:34 +02:00