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
Robert Payne
37b18d44de
`insets` is now `inset` and accepts EdgeInsets as well single values
2015-07-30 19:01:33 +12:00
Robert Payne
9ef9ae6f9f
Improve debugging and allow width/height constraints to be installed on from view
2015-07-30 18:49:47 +12:00
Robert Payne
3d9a449e37
Merge pull request #122 from alexanderjarvis/master
...
Fix crash
2015-07-04 10:41:36 +12:00
Alex Jarvis
8269bcea63
Fix crash
2015-06-30 14:25:25 +01:00
Robert Payne
e9c9f6fe8e
Merge pull request #118 from bendjones/swift-2.0
...
Fixes for Swift 2.0 b2
2015-06-26 09:31:02 +12:00
Ben Jones
ef024cf351
Change += and -= to use inPlace ops and += should be union
2015-06-25 10:53:12 -07:00
Ben Jones
c2eae8e90a
Handle new NSLayoutAttribute FirstBaseline that is introduced in OS X 10.11 for CGPoint or EdgeInsets
2015-06-24 15:10:38 -07:00
Ben Jones
ee3e1283fd
Fixes for Swift 2.0 b2
2015-06-24 11:28:28 -07:00
Robert Payne
dce953eba6
Updated for Swift 2.0
2015-06-17 23:09:54 +12:00
Robert Payne
6f0584f855
Update ViewController+SnapKit.swift
...
Removed unecessary typealias
2015-06-03 15:34:53 +12:00
Robert Payne
f8ccdf8f11
Merge pull request #104 from SnapKit/master
...
Merge master into Develop
2015-06-03 15:33:44 +12:00