Commit Graph

283 Commits

Author SHA1 Message Date
gitpark 33475b400a Create Package.swift 2015-12-11 11:32:46 +08:00
Robert Payne 2a0fa9e047 Prepare for release 2015-11-17 10:26:28 +13:00
Robert Payne 8ff45b5e32 Updated podspec 2015-11-08 21:21:22 +13:00
Robert Payne 2ef7cc600c Merge remote-tracking branch 'origin/develop' 2015-11-08 21:20:58 +13:00
Robert Payne 2dcf3bddfa nits 2015-11-08 21:18:01 +13:00
Robert Payne b17e78c202 Release 0.16.0 2015-10-28 00:05:44 +13:00
Robert Payne 9ec6015efe Merge branch 'release/0.16.0' 2015-10-28 00:04:25 +13:00
Robert Payne fdcc715085 Merge pull request #163 from aleffert/aleffert/locations
Add source location information to each constraint
2015-10-26 19:57:06 +13:00
Robert Payne e5820a9582 Merge pull request #162 from AlessandroTolomio/patch-2
Update for tvOS
2015-10-26 19:55:44 +13:00
Akiva Leffert 7ae143c3ac Expose location as part of LayoutConstraint for public access 2015-10-14 20:17:59 -04:00
Akiva Leffert 0fe4ad005b Switch makerFile/line to use SourceLocation for consistency
Allows removing redundant default location
2015-10-14 20:17:59 -04:00
Akiva Leffert bbe5b2e49d Instrument each constraint with a source location. 2015-10-14 20:17:59 -04:00
Akiva Leffert 104ce8895c Convert protocol hierarchy to class hierarchy
This has no value unto itself, but is necessary for adding default
arguments to the ConstraintDescriptionRelatable methods, which we'll
need to instrument in source locations.
2015-10-14 20:17:59 -04:00
Akiva Leffert cd49354220 Factor redundant constraint relation code into RelationTarget protocol
Instead of having a copy of each method for each type, factor the
constraint target logic to use a new protocol RelationTarget.

Note that since RelationTarget returns a new ConstraintItem and the
constructor for ConstraintItem is internal, a user will be unable to
erroneously extend the protocol.

LayoutSupport should really be a RelationTarget too, but it seems you
can't extenda a protocol to implement another protocol.
2015-10-14 20:17:59 -04:00
AlessandroTolomio e31529a3c9 Update for tvOS 2015-10-14 15:38:13 +02:00
Akiva Leffert a5be9d646b Introduce FloatConvertible to reduce relation boilerplate 2015-10-12 00:57:59 -04:00
Robert Payne 62e76458ef Merge pull request #157 from brightify/develop
Add call to activateConstraints on iOS8+ and fix build issues for OS X.
2015-10-10 15:22:35 +13:00
Tadeas Kriz e84f9bc1c3 Add compiler condition to remove warnings when not using legacy deployment. 2015-10-04 23:17:48 +02:00
Tadeas Kriz 2afe4d47ec Add call to activateConstraints on iOS8+ and fix build issues for OS X. 2015-10-04 23:04:16 +02:00
Robert Payne ee34ec542f Merge branch 'develop' of github.com:SnapKit/SnapKit into develop 2015-09-29 21:27:18 +13:00
Robert Payne fa8d06355a Added contributing document 2015-09-29 21:27:03 +13:00
Robert Payne 10e9c37f38 Added contributing document 2015-09-29 21:26:40 +13:00
Robert Payne 004d73ad7a Merge pull request #153 from brittonmobile/develop
Added tvOS checks so the iOS paths are used rather than OS X
2015-09-29 19:08:51 +13:00
Ryan Britton 7fc0537c13 Added tvOS checks so the iOS paths are used rather than OS X 2015-09-24 21:37:33 -07:00
Robert Payne 99d503af97 Merge pull request #151 from aleffert/aleffert/layout-anchors
Add support for the iOS 9 Layout Anchor API.
2015-09-25 02:05:42 +12:00
Akiva Leffert 16090bde5d Add support for the iOS 9 Layout Anchor API. 2015-09-23 14:14:16 -04:00
Robert Payne 4a26b422a2 Updated changelog 2015-09-22 20:07:08 +12:00
Robert Payne 9c635577dc Prepare for release 2015-09-22 20:02:01 +12:00
Robert Payne 7c53cfe736 Updated readme 2015-09-22 19:57:29 +12:00
Robert Payne ef3e52ef4e Add note about legacy platforms to readme 2015-09-22 19:44:12 +12:00
Robert Payne 854f07350e Added Readme about Legacy Platforms 2015-09-22 19:41:11 +12:00
Robert Payne ba26480317 Fixed iOS 9 layout guides, and better support for legacy platforms 2015-09-22 19:38:50 +12:00
Robert Payne de954c0c12 Merge branch 'develop' of github.com:SnapKit/SnapKit into develop
# Conflicts:
#	Source/ConstraintAttributes.swift
2015-09-19 12:37:23 +12:00
Robert Payne 210bab97c7 Enforce availablility for iOS 8.0+ Attributes 2015-09-19 12:21:42 +12:00
Robert Payne 552b1520f3 Merge pull request #143 from devxoul/availability
Add availability check for iOS 8 and OS X 10.10 APIs.
2015-09-19 12:15:48 +12:00
Suyeol Jeon ba03f22eb8 Add availability check for iOS 8 and OS X 10.10 methods.
- `NSLayoutConstraint.activateConstraints(_:)`
- `NSLayoutConstraint.deactivateConstraints(_:)`
2015-09-18 13:18:28 +09:00
Suyeol Jeon 8e6219ef86 Add availability check for iOS 8 attributes. 2015-09-14 22:31:55 +09:00
Robert Payne 1754ffd536 Update Travis.ci 2015-09-13 01:13:13 +12:00
Robert Payne e75b5e82ae For now require 10.10 2015-09-13 01:09:22 +12:00
Robert Payne f83fbecb80 Prepare Release 2015-09-13 00:59:01 +12:00
Robert Payne 4f19419528 Merge branch 'swift-2.0' of github.com:SnapKit/SnapKit into swift-2.0
# Conflicts:
#	Source/Constraint.swift
#	Source/ConstraintMaker.swift
2015-07-30 19:37:09 +12:00
Robert Payne 446e5c5758 Merged in 0.13.0 changes 2015-07-30 19:35:48 +12:00
Ben Jones 88021b8280 Change += and -= to use inPlace ops and += should be union 2015-07-30 19:30:56 +12:00
Ben Jones 5afd216e21 Handle new NSLayoutAttribute FirstBaseline that is introduced in OS X 10.11 for CGPoint or EdgeInsets 2015-07-30 19:30:56 +12:00
Ben Jones c6b3ecaad8 Fixes for Swift 2.0 b2 2015-07-30 19:30:56 +12:00
Robert Payne c1de30ac5c Updated for Swift 2.0 2015-07-30 19:30:56 +12:00
Robert Payne 581d30e812 Build develop branch on travis too! 2015-07-30 19:11:18 +12:00
Robert Payne 1d86e43dbf Updated change log a bit more 2015-07-30 19:07:16 +12:00
Robert Payne 3900eb5a7d Updated podspec 2015-07-30 19:06:20 +12:00
Robert Payne cd7d183639 Updated changelog 2015-07-30 19:06:00 +12:00