Commit Graph

56 Commits

Author SHA1 Message Date
Robert Payne cfa4c6a545 Fix up memory leaks 2016-09-20 16:53:32 +12:00
Robert Payne f29d66a079 Add deprecated install/uninstall 2016-09-14 20:59:59 +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 cdedbcdea7 Fix bug where pinning composite to composite would fail 2016-09-10 16:38:40 +12:00
Robert Payne 2e4cebf41d Fix bug around view.snp.layoutConstraints being dealloc’d 2016-09-07 20:23:54 +12:00
Robert Payne 2764642a2d Tweaks for OSX support 2016-09-02 01:39:08 +12:00
Robert Payne 514ec79042 Add support for edges to margins and margins to edges 2016-09-02 01:23:25 +12:00
Robert Payne fc298aeaf4 Split up DSL and add support for UILayoutGuide 2016-09-02 00:27:26 +12:00
Robert Payne 7e8c173224 Allow implied superview for equalTo(constant) 2016-08-16 23:24:14 +12:00
Robert Payne a772f08051 Remove unused code 2016-08-16 22:53:17 +12:00
Robert Payne 1b712cde8c Remove unecessary print statement 2016-08-06 23:24:55 +12:00
Robert Payne 9d0232ca08 API updates, migrate away from iOS 7.0 support 2016-08-06 22:38:02 +12:00
Robert Payne f5511c3bac Add in existing update functions and deprecate them 2016-08-04 10:57:23 +12:00
Robert Payne e713b9da5b Add API’s for updating offset/inset/priorty 2016-08-04 10:46:25 +12:00
Robert Payne 8fc933a5c2 Fix up legacy deployment and availability of APIs 2016-08-03 14:39:47 +12:00
Robert Payne 4715badfa0 Beta 4 Updates 2016-08-02 19:56:16 +12: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
Ray Lillywhite 483d525c72 Fix handling of UIEdgeInsets for width and height 2016-01-07 13:52:28 -08: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 bbe5b2e49d Instrument each constraint with a source location. 2015-10-14 20:17:59 -04: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
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
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
Robert Payne 446e5c5758 Merged in 0.13.0 changes 2015-07-30 19:35:48 +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 9ef9ae6f9f Improve debugging and allow width/height constraints to be installed on from view 2015-07-30 18:49:47 +12:00
Robert Payne 57baa96dc7 Removed 'final' declaration in attempt to fix odd crashes 2015-04-23 00:31:40 +12:00
Robert Payne 931eb01de9 Ensure ConcreteConstraint cannot be subclassed 2015-04-15 23:32:47 +12:00
Robert Payne 5d5bc09b25 Use an abstract superclass for Constraint rather than protocol 2015-04-15 23:31:03 +12:00
Robert Payne d9424975d4 Fix OS X compiles 2015-04-15 23:17:20 +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 846d767cbb Tidy up how constants are made 2015-04-11 22:16:50 +12:00
Robert Payne 03ba3d603e Added better offset/constant maths 2015-04-11 22:10:02 +12:00
Robert Payne 8b8372c43d Ensure OS X target up to date 2015-04-11 21:47:27 +12:00
Robert Payne 3c3a76cf6e Added activate/deactivate 2015-04-11 21:44:46 +12:00
Robert Payne d5e5cf1296 Tidy up priority medium for OS X 2015-04-11 19:44:11 +12:00
Robert Payne 4904b40bfa Added medium priority 2015-04-11 19:43:20 +12:00
Robert Payne 2dec123ce0 Tweaked uninstalling constraints and removed unused code blocks 2015-04-11 18:32:33 +12:00