Commit Graph

46 Commits

Author SHA1 Message Date
Robert Payne 851bbf8dd8
Feature/release 5.6 (#746)
* Add support for UILayoutPriority as priority target. (#466)

* Add support for UILayoutPriority as priority target.

* Fixed for tvOS

* Add update(priority: ConstraintPriority) method (#467)

* Add update(priority: ConstraintPriority) method

* Fix copy-paste error

* Add Swift Package Manager support (#501)

* Swift4.2 (#516)

* make ConstraintAttributes conform to ExpressibleByIntegerLiteral (#520)

* 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'

* Add swift version to podspec

* Update podspec

* Update podspec

* Update project to get rid of Migration Warning (#547)

* Update Swift Language version to 4.2 under build settings (#551)

* Update swift language version to 4.2 in build settings

* Update podspec

* Remove Swift Version file

* Remove Package.swift, SnapKit is not SwiftPM compatible anyways

* Update Podspec

* Update version in Podspec

* 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

* [EXC_BAD_ACCESS] Update LayoutConstraint == operator to support iOS 10 and higher changes (#574)

* @sashabelonogov Update LayoutConstraint == operator to support iOS 10 and higher changes

* Simplify return statement of the LayoutConstraint == operator

* Fix incorrect behavior of inset with center and baseline anchors (#569)

* Fix insets adjusting center attributes incorrectly

* Fix insets adjusting baseline attributes incorrectly

* Add back Package.swift for SwiftPM compatibility (#559)

reverts 477fffae4c

* Update podspec

* Update min target versions

* Update min target versions

* Update README.md

* Update README.md

* Revert "[EXC_BAD_ACCESS] Update LayoutConstraint == operator to support iOS 10 and higher changes (#574)" (#593)

This reverts commit bc2b0b9332.

* Update Podspec

* Bump min version requirements

* Fix layout constraint comparison

* Fix equality check for iOS

* Adds support for NSDirectionalEdgeInsets as an inset constant (#594)

* Make ConstraintViewDSL content priorities nonmutating (#586)

* Adds two new compositions – DirectionalEdges and DirectionalMargins (#595)

* WIP

* Add directional margins

* Whitespace

* Add Playground Sample (#608)

* added updates to Package.swift so it can be imported with Xcode 11 (#615)

* Revert #574

* Update Podspec

* Add background color to quick start box in README.md (#619)

* add-dimensional-edges: add ConstraintItems horizontalEdges, verticalEdges, directionalHorizontalEdges and directionalVerticalEdges as convenience items to express left+right, top+bottom or leading+trailing (#637)

* Update deprecations to allow Xcode to auto-fixup. (#634)

* Migrate to Xcode 11 and updated travis.yml (#629)

* Migrate to Xcode 11 and updated travis.yml

* Travis to support Xcode 11

* project.pbxproj: Update to recommended settings. (#627)

* Add test assert to unit test testCanSetLabel. (#625)

* Add back support for OS X 10.11 (#645)

* Use << for ConstraintAttributes options (#659)

* Use << for ConstraintAttributes options

* iPhone 6s is not supported by the latest Xcode

* Add method getting constraint with closure to ConstraintMakerRelatable (#663)

* add ConstraintMakerRelatable extension

* fix fatalError message

Co-authored-by: Jimi <jimi-hpcnt@hpcnt.com>

* Xcode 12 and SwiftPM enhancements

* Update README to include SPM installation notes (#673)

* Fix typo

* Remove duplicate file

* xcodeproject configuration enhancement for localization (#584)

Co-authored-by: AmrAngry <c_amr.elghadban@smartdubai.ae>

* Updates to project files

* Dynamic Product (#710)

This PR adds a dynamic product to SnapKit.
Having a dynamic product is important in modular project structures; multiple packages may be using SnapKit, and this allows that support without the end-user have to wrap SnapKit in their own package that exposes it and using that package in lieu of SnapKit.

* Fix warning about `class` (#714)

* Added Example-iOS.xcdodeproj and fixed examples (#707)

* Update README.md, add missing Migration Guides section (#721)

* Make ConstraintMaker.item public (#693)

* Typo source directory in Podspec (#738)

Source directory has been renamed in 18608ead65

* Release 5.6

* Update urls in readme
* Update podspec version

Co-authored-by: Benjamin Chrobot <benjamin.blair.chrobot@gmail.com>
Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
Co-authored-by: Mauro Vime Castillo <mvimeapps@gmail.com>
Co-authored-by: o( ̄へ ̄)o <guzhenhuaGitHub@users.noreply.github.com>
Co-authored-by: Colin T.A. Gray <colinta@gmail.com>
Co-authored-by: Shai Mishali <freak4pc@gmail.com>
Co-authored-by: Ibrahim Koteish <ikteish@yahoo.com>
Co-authored-by: Jungwon An <kawoou@kawoou.kr>
Co-authored-by: Alexander Belonogov <sashabelonogov@gmail.com>
Co-authored-by: Christian Schnorr <christian.schnorr@me.com>
Co-authored-by: Josh Converse <josh.converse@gmail.com>
Co-authored-by: Vitalii Budnik <nekrich@users.noreply.github.com>
Co-authored-by: Shiva Huang <shiva.tw@gmail.com>
Co-authored-by: Max Cobb <5754073+maxxfrazer@users.noreply.github.com>
Co-authored-by: Liam Elmore <32336260+iosmo@users.noreply.github.com>
Co-authored-by: Sven Driemecker <sven.dr@gmx.de>
Co-authored-by: Alex Simpson <alexandersimpson94@gmail.com>
Co-authored-by: pushp1989 <54930194+pushp1989@users.noreply.github.com>
Co-authored-by: Ben Yohay <ben@lightricks.com>
Co-authored-by: Natascha Fadeeva <nataschafadeeva@aol.de>
Co-authored-by: Wang, Chi <patr0nus@users.noreply.github.com>
Co-authored-by: Roman Podymov <podymfrombryansk@yandex.ru>
Co-authored-by: wotjd <wotjd971102@gmail.com>
Co-authored-by: Jimi <jimi-hpcnt@hpcnt.com>
Co-authored-by: Samuel Eshun <samueleshun15@gmail.com>
Co-authored-by: Amr Elghadban <amr.elghadban@gmail.com>
Co-authored-by: AmrAngry <c_amr.elghadban@smartdubai.ae>
Co-authored-by: Hesham Salman <iron-ham@github.com>
Co-authored-by: Mr. Ming <minglq.9@gmail.com>
Co-authored-by: Teameh <tiemevanveen@hotmail.com>
Co-authored-by: Josip Rezić <josip.rezic@hotmail.com>
Co-authored-by: Rhett Tuan <devindwan@gmail.com>
Co-authored-by: Damien Debin <ddebin@users.noreply.github.com>
Co-authored-by: Robert Payne <robertjpayne@Roberts-MacBook-Pro.local>
2022-04-13 16:06:06 +12:00
Robert Payne 0417bda236 Prepare for release 2017-09-17 14:21:22 +12:00
Robert Payne 25e8e50596 Prepare for release 2017-02-11 23:10:58 +13:00
Robert Payne 9a82379f93 Updated readme for version bump 2016-12-26 01:12:51 +13:00
Robert Payne ad35ec4918 Prepare release 2016-12-26 01:07:23 +13:00
Robert Payne 02a0b2d2b7 3.0.2 Release (#347)
* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* fix "Mutating a priority from required to not on an installed constra… (#323)

* fix "Mutating a priority from required to not on an installed constraint (or vice-versa) is not supported." when the priority is not changed

* add more check when changing layout constraint priority

* add more lenient check when changing layout constraint priority

* fix UILayoutPriorityRequired available only on iOS

* fix undeclared UILayoutPriority on macOS

* add check for tvOS

* change the result constraint of maker.center.equalTo(CGPoint) to based on the original point of superview (#336)

* change center.equalTo

* fix logic

* Add ConstraintMaker shortcuts for superview access (#341)

Added two new shortcuts for access superview in ConstraintMakerRelatable
`greaterThanOrEqualToSuperview`
`lessThanOrEqualToSuperview`

* Add `topMargin` to constraint maker (#343)

* Fix erroneus scheme

* Update settings for Carthage

* Prepare 3.0.2 release
2016-10-08 00:11:36 +13:00
Robert Payne e148f93243 Update README.md 2016-09-19 15:53:19 +12:00
Robert Payne ed6ee87340 Update README.md 2016-09-19 15:52:46 +12:00
Robert Payne 27fd6fbb76 Update README.md 2016-09-19 15:50:06 +12:00
Robert Payne cc2629c2b8 Fix readme 2016-09-14 21:35:28 +12:00
Robert Payne 598aff86e0 Fix typo in readme 2016-09-14 21:32:54 +12:00
Robert Payne 92066d57fc Updated readme 2016-09-14 21:31:04 +12:00
Robert Payne a810570794 Update readme 2016-09-14 21:29:01 +12:00
Robert Payne f03dd0e85f Merge branch 'feature/0.40.0' of github.com:SnapKit/SnapKit into develop
# Conflicts:
#	.travis.yml
#	CHANGELOG.md
#	README.md
#	SnapKit.podspec
#	SnapKit.xcodeproj/project.pbxproj
#	SnapKit.xcodeproj/xcshareddata/xcschemes/SnapKit OSX.xcscheme
#	SnapKit.xcodeproj/xcshareddata/xcschemes/SnapKit iOS.xcscheme
#	Source/Constraint.swift
#	Source/ConstraintAttributes.swift
#	Source/ConstraintDescription.swift
#	Source/ConstraintMaker.swift
#	Source/ConstraintView.swift
#	Source/Debugging.swift
#	Source/LayoutConstraint.swift
#	Source/View+SnapKit.swift
#	Tests/Tests.swift
2016-09-14 20:55:25 +12:00
Robert Payne 6e8bdde05e Updated Readme 2016-08-06 22:53:07 +12:00
Elvis Nuñez b61982d0f9 Remove unneeded closure ornamentation 2016-05-12 10:50:57 +02:00
Robert Payne 546167cbcc Optimising banner image in readme 2016-01-27 01:15:01 +13:00
Robert Payne 70b14a76b2 Touch banner in readme 2016-01-27 01:13:23 +13:00
Robert Payne 8fbe3c18bd Touch readme 2016-01-27 01:12:32 +13:00
Robert Payne ce3bb65b73 Updated readme 2016-01-27 00:00:26 +13: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 70567a3040 Update README.md 2015-05-28 14:08:18 +12:00
Robert Payne 9fe90ad1cb Update README.md 2015-05-28 14:06:31 +12:00
Robert Payne a8c4d71688 Update README.md 2015-04-26 22:12:25 +12:00
Robert Payne ced59896ce Update README.md 2015-04-26 22:12:01 +12:00
Robert Payne 8c9fdd4d3a Update README.md 2015-04-17 00:47:03 +12:00
Robert Payne 02602258d6 Updates 2015-04-17 00:30:54 +12:00
Robert Payne 51662d58bb Snap is now SnapKit 2015-04-15 23:07:50 +12:00
Robert Payne 243588241c Updated Readme 2015-04-12 22:36:49 +12:00
Robert Payne 4c9de82dc0 Updated readme 2015-04-12 22:36:02 +12:00
Robert Payne 0240722fc1 Hotfix Readme 2015-03-24 11:50:46 +13:00
Robert Payne d13d32781a Updated Podspec & Readme 2015-03-24 11:45:35 +13:00
Robert Payne c5bab635ec Re-organized Project 2015-03-24 11:39:41 +13:00
Ryan Maxwell 2f57887480 Update README.md 2015-01-09 13:55:09 +13:00
Robert Payne a647c10290 Rename to Snap 2015-01-09 09:43:43 +13:00
Robert Payne 3388aa02f7 Updated Readme 2015-01-08 19:51:39 +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
Robert Payne 598835a2c7 Updated Readme 2014-10-03 14:30:13 +13:00
Robert Payne 7cf2e05461 Update README.md
Updated to reflect OS X support
2014-07-30 12:58:15 +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
Jonas Budelmann fe32791d67 Update README.md 2014-07-29 12:45:57 +12:00
Robert Payne 6078e04895 Preview Release 2014-07-29 12:39:59 +12:00