Commit Graph

26 Commits

Author SHA1 Message Date
Robert Payne 553007f619 Added support for UIViewController layout guides 2015-01-08 14:58:12 +13:00
Robert Payne ef24bbeb94 Merge pull request #17 from cnoon/feature/uninstalling_constraints
Added a method for uninstalling constraints on a view.
2015-01-04 10:35:20 +13:00
Noon, Christian d0dc521429 Moved removeConstraints method into the ConstraintMaker proxy. 2014-12-30 15:47:31 -08:00
Noon, Christian a634c61942 Now removing constraints from the view along with uninstalling them. 2014-12-30 15:08:10 -08:00
Robert Payne e723c0c8a7 Merge pull request #28 from devxoul/patch-1
Add platform check for additional constraints attributes.
2014-12-31 09:39:34 +13:00
Suyeol Jeon b02b0910db Add platform check for additional constraints attributes. 2014-11-09 22:39:14 +09:00
Ryan Schwers 0c7307d1d7 Fix snp_makeConstraints clobering existing constraints 2014-10-31 13:09:26 -07:00
Robert Payne 50b365e1e2 Fix issues when using edge insets in an equalTo
The right/bottom edge needed to be inverted to apply a propery "EdgeInsets" rather than "EdgeOffsets" behavior.
2014-10-29 11:45:56 +13:00
Robert Payne 0f860a014a Merge branch 'master' of github.com:Masonry/Snappy 2014-10-29 10:32:24 +13:00
Robert Payne 4032cd4bcf Added more layout attributes 2014-10-29 10:30:07 +13:00
Noon, Christian 5ccc59f43d Added a method for uninstalling constraints on a view. 2014-10-05 17:32:41 -07:00
Noon, Christian 7a3953cc25 Fixed compiler error on Xcode 6.1 for NilLiteralConvertible protocol conformance. 2014-10-05 16:29:19 -07:00
Robert Payne 0a40ba4d78 Increased primitives support
Added support for CGFloat, Double and UInt in addition to Float/Double. Note they all are typecast to a Float as that is what autolayout works with.
2014-10-03 14:59:47 +13:00
Robert Payne 9685c27a29 Updates for Xcode 6.0/6.1 Compatibility
* Removed sample project as it's too much influx right now and need a better way to integrate frameworks properly
* Added Snappy.framework target
* Added syntax support for Xcode 6.1
2014-09-23 16:28:00 +12:00
Robert Payne 236e62521d Merge branch 'master' of github.com:Masonry/Snappy 2014-09-19 03:05:12 +12:00
James Power 4dde1a8578 Fixes for RawOptionSetType changes in beta 6. 2014-08-25 14:14:29 -04:00
Robert Payne 4abf189fc9 Allow automagic constraining 2014-08-05 18:51:42 +12:00
Robert Payne 655ea99ff4 Added beta 5 fixes
– Updated raw options type
– Added explicit nil checks
2014-08-05 13:23:13 +12:00
Robert Payne 6e68c3ae5c Added explicit nil check in LayoutConstraint 2014-08-05 13:20:54 +12:00
Robert Payne 2edb7b9ff3 Added support for OS X
* Added "Insets" class which makes EdgeInsets a typealias on iOS and a custom struct on OS X
* Added OS checks and fixed API issues where necessary
2014-07-30 12:55:31 +12:00
Robert Payne fda663a90b Removed unused insets private var 2014-07-30 10:20:35 +12:00
Robert Payne 4303bd6037 Hotfix to ensure insets are actually used 2014-07-29 23:50:50 +12:00
Robert Payne 6078e04895 Preview Release 2014-07-29 12:39:59 +12:00
Jonas Budelmann 6212ee9575 ViewConstraint offset methods 2014-07-27 16:09:38 +12:00
Jonas Budelmann 546c6e60ee change Constraint to protocol 2014-07-25 19:48:04 +12:00
Jonas Budelmann 83e5edf516 skeleton code 2014-07-25 16:24:17 +12:00