Alex Simpson
441a1695ed
Update deprecations to allow Xcode to auto-fixup. ( #634 )
2019-11-27 23:26:43 +13:00
Sven Driemecker
892722a933
add-dimensional-edges: add ConstraintItems horizontalEdges, verticalEdges, directionalHorizontalEdges and directionalVerticalEdges as convenience items to express left+right, top+bottom or leading+trailing ( #637 )
2019-11-27 23:26:09 +13:00
Josh Converse
d482f59648
Adds two new compositions – DirectionalEdges and DirectionalMargins ( #595 )
...
* WIP
* Add directional margins
* Whitespace
2019-08-05 17:16:17 +12:00
Jungwon An
ca81e8ece0
Support swift 5.0 ( #570 )
...
* Update swift version 5.0
* Remove needless access control
* Fix misused "Available" annotations
* Support @unknown default
* Support swift 5.0 in test code
* Update podspec
* Update travis CI
* Code review by @freak4pc
* Add constraint for Swift version
* Fix build failed
2019-04-03 06:25:22 +13:00
Colin T.A. Gray
15beb52218
Adds 'constraint.isActive = bool' to Constraint ( #496 )
...
* delegate identical 'constraint creation' code to 'prepareConstraints'
* adds 'set(isActivated:)' method to call appropriate 'activate/deactivate' based on bool
cleans up about 30 lines of
if foo { activate }
else { deactivate }
code in my app
* instead of 'set(isActivated:)', use 'isActive = value'
2018-06-23 23:15:34 +12:00
Robert Payne
556536859e
Fix bug in constraint maker duplicating constraints
2016-12-26 01:00:44 +13:00
Robert Payne
eb107818ac
Fix Memory Leaks
2016-11-24 00:03:41 +13:00
Robert Payne
dc304472aa
Begin support for LayoutGuide constraint maker
2016-10-07 23:58:56 +13:00
Andrey Ufimtsev
39afda860e
Add `topMargin` to constraint maker ( #343 )
2016-10-03 22:47:58 +13:00
Robert Payne
cfa4c6a545
Fix up memory leaks
2016-09-20 16:53:32 +12:00
Robert Payne
ffd450754a
Update deprecation notice versions
2016-09-14 20:59:51 +12:00
Robert Payne
67271dc666
Rework how updateConstraints works if no existing constraints
...
updateConstraints will no longer allow creation of new constraints but if you call updateConstraints and there have been no previous constraints created it will re-route to makeConstraints
2016-09-10 21:51:20 +12:00
Robert Payne
79137bce68
Xcode 8 - Beta 6
2016-08-16 22:53:27 +12:00
Robert Payne
6aca61ac93
Add `center` to constraint maker
2016-08-06 23:25:03 +12:00
Robert Payne
9d0232ca08
API updates, migrate away from iOS 7.0 support
2016-08-06 22:38:02 +12:00
Robert Payne
9f8ad44677
Add missing remove constraints function content
2016-07-11 21:56:23 -06:00
Alex Pawlowski
d00444d7d1
Migrated to latest Swift 3.0 syntax and latest macOS Cocoa API
2016-06-28 15:31:43 +03:00
Robert Payne
8355410d92
Swift 3.0 Migration
2016-06-15 13:49:49 +12:00
Robert Payne
7ba532d597
Major overhaul
2016-01-26 23:49:04 +13:00
Robert Payne
2dcf3bddfa
nits
2015-11-08 21:18:01 +13: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
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
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
ba26480317
Fixed iOS 9 layout guides, and better support for legacy platforms
2015-09-22 19:38:50 +12:00
Robert Payne
210bab97c7
Enforce availablility for iOS 8.0+ Attributes
2015-09-19 12:21:42 +12:00
Robert Payne
446e5c5758
Merged in 0.13.0 changes
2015-07-30 19:35:48 +12:00
Robert Payne
c1de30ac5c
Updated for Swift 2.0
2015-07-30 19:30:56 +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
62b058de00
Remove unecessary API prefixes
2015-05-30 19:45:39 +12:00
Robert Payne
57baa96dc7
Removed 'final' declaration in attempt to fix odd crashes
2015-04-23 00:31:40 +12:00
Robert Payne
51662d58bb
Snap is now SnapKit
2015-04-15 23:07:50 +12:00
Robert Payne
2b00e7b50c
Refactor Constraint -> ConcreteConstraint & Add Updaters!
2015-04-12 23:32:03 +12:00
Robert Payne
c9b89ad974
Refactoring & Documentation
2015-04-12 22:21:02 +12:00
Robert Payne
509d648818
Updated API & Copyrights
2015-04-12 00:04:36 +12:00
Robert Payne
931d6ca7ec
Initial Implementation of protocol API
2015-04-11 23:39:12 +12:00
Robert Payne
656920acd3
Added support on constraint maker for iOS 8 properties
2015-04-11 19:41:10 +12:00
Robert Payne
ebe9bb1e8d
Further tweaks and improvements
2015-04-11 17:45:59 +12:00
Robert Payne
62c0318c00
Modernize syntax & improve performance
2015-04-11 17:41:05 +12:00
Robert Payne
d04d78979e
Merge branch 'develop' of github.com:Masonry/Snap into develop
...
# Conflicts:
# Source/View+Snap.swift
2015-04-11 17:14:52 +12:00
Robert Payne
b014ab638a
Finalise classes
2015-04-11 17:13:02 +12:00
Martin Conte Mac Donell
9cec048c44
@noescape on methods
2015-04-10 21:15:40 -07:00
Robert Payne
c5bab635ec
Re-organized Project
2015-03-24 11:39:41 +13:00