Commit Graph

397 Commits

Author SHA1 Message Date
Robert Payne 5a968ae864 Clean up & Reshuffle some API
Moved some apis, added some equality operators and cleaned up some code.
2015-01-08 19:04:29 +13:00
Robert Payne 3642d9f568 Updated .gitignore 2015-01-08 14:59:24 +13:00
Robert Payne a7055c1b68 Improve OS X support 2015-01-08 14:58:37 +13:00
Robert Payne 08e502040f Set deployment target to iOS 8.0 2015-01-08 14:58:27 +13:00
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
Robert Payne 7125e3da4b Merge pull request #35 from danieleggert/master
Make the Snappy scheme shared.
2015-01-04 10:34:28 +13:00
Daniel Eggert aa869fa536 Make the Snappy scheme shared. 2015-01-03 18:32:10 +01: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
Robert Payne f99c5ecdf0 Merge pull request #24 from schwers/fix_make_constraints
Fix snp_makeConstraints clobering existing constraints
2014-12-31 09:38:37 +13:00
Robert Payne 8991444481 Merge pull request #31 from ryanmaxwell/master
Code snippets
2014-12-31 09:37:25 +13:00
Ryan Maxwell 6a2611f0f6 Delete Snappy Constraint Update code snippet, 'cos snp_updateConstraints don't exist. 2014-12-10 20:48:07 +13:00
Ryan Maxwell 7cf9a9ff59 Code Snippets! 2014-12-05 14:41:52 +13:00
Ryan Maxwell 9db0127854 grammar. 2014-12-05 14:36:32 +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
Jonas Budelmann 068c440dd1 Merge pull request #16 from cnoon/master
Fixed compiler error on Xcode 6.1 for NilLiteralConvertible protocol conformance.
2014-10-13 09:15:51 +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 598835a2c7 Updated Readme 2014-10-03 14:30:13 +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
Jonas Budelmann 7c89f902e6 Merge pull request #7 from powerje/master
Fixes for RawOptionSetType changes in beta 6.
2014-09-02 09:51:00 +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 9949aba7e8 Removed unsupported autolayout combination
Seems like autolayout no longer supports constraining locations to constants. You must constrain them to a view.
2014-08-05 13:23:43 +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 7cf2e05461 Update README.md
Updated to reflect OS X support
2014-07-30 12:58:15 +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
Jonas Budelmann b4c8748794 Update README.md 2014-07-30 06:57:28 +12:00
Robert Payne 7ba2c3f99f Updated Readme
Added note about why the prefixing has been changed and how Snappy is not compatible from Objective-C
2014-07-30 00:02:27 +12:00
Robert Payne 4303bd6037 Hotfix to ensure insets are actually used 2014-07-29 23:50:50 +12:00
Jonas Budelmann fe32791d67 Update README.md 2014-07-29 12:45:57 +12:00
Robert Payne ab94bd95e3 Merge branch 'release/preview' 2014-07-29 12:40:12 +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
Jonas Budelmann afb20a778f initial operator overload experiment 2014-06-06 15:42:44 +12:00