Commit Graph

533 Commits

Author SHA1 Message Date
Robert Payne a3fa2fbec1 Update min deployments
iOS 12
MacOS 10.13
2023-12-31 21:46:52 +13:00
Robert Payne c54c3816e3 Add privacy manifest 2023-12-31 21:46:43 +13:00
Alex Türk 4d52cc3768
Compile for visionOS (#777) 2023-10-05 02:30:31 +13:00
Mikołaj Chmielewski 58320fe805
Add missing 'Superview' word in ConstraintMakerRelatable extension method (#750) 2022-11-01 16:19:33 +13:00
ll_shioi_atsumori c4557aebd8
add libswiftCoreGraphics.dylib (#762)
Co-authored-by: atsunori.shioi <astunori.shioi@play.jp>
2022-11-01 16:17:23 +13:00
Dwarven Yang 2f65612dca
fix for Xcode 14 : dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib Reason: image not found (#763) 2022-11-01 16:16:22 +13:00
Robert Payne 07c5d1f604 Merge branch 'main' of github.com:SnapKit/SnapKit into develop
# Conflicts:
#	README.md
#	SnapKit.podspec
2022-04-13 16:23:07 +12:00
Robert Payne f222cbdf32
Fix podspec tagged version (#748)
Co-authored-by: Robert Payne <robertjpayne@Roberts-MacBook-Pro.local>
2022-04-13 16:19:00 +12:00
Robert Payne 48b703a1a3
Fix podspec versions (#747)
Co-authored-by: Robert Payne <robertjpayne@Roberts-MacBook-Pro.local>
2022-04-13 16:12:28 +12:00
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
Damien Debin eb07a3adf5
Typo source directory in Podspec (#738)
Source directory has been renamed in 18608ead65
2022-04-01 22:39:38 +13:00
Rhett Tuan 466db39ee4
Make ConstraintMaker.item public (#693) 2021-09-15 12:54:35 +12:00
Josip Rezić 3c4900af1a
Update README.md, add missing Migration Guides section (#721) 2021-09-15 12:53:13 +12:00
Teameh 80cc5696a4
Added Example-iOS.xcdodeproj and fixed examples (#707) 2021-05-14 15:42:27 +12:00
Mr. Ming 9d0adadafc
Fix warning about `class` (#714) 2021-05-14 15:41:39 +12:00
Hesham Salman 5a78e24394
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.
2021-04-22 10:18:39 +12:00
Robert Payne 19bc403770 Updates to project files 2021-01-28 00:01:36 +13:00
Amr Elghadban e5606bda4d
xcodeproject configuration enhancement for localization (#584)
Co-authored-by: AmrAngry <c_amr.elghadban@smartdubai.ae>
2021-01-27 23:59:55 +13:00
Robert Payne f9dec47894 Remove duplicate file 2020-09-25 16:00:30 +12:00
Robert Payne 1d0160bce2 Fix typo 2020-09-25 15:32:35 +12:00
Samuel Eshun 59e0e24f89
Update README to include SPM installation notes (#673) 2020-09-25 15:29:40 +12:00
Robert Payne 18608ead65 Xcode 12 and SwiftPM enhancements 2020-09-25 15:27:40 +12:00
Steve Dao d4cb974b3e
Updated DYLIB_COMPATIBILITY_VERSION & DYLIB_CURRENT_VERSION (#646)
* Fixed carthage DYLIB_COMPATIBILITY_VERSION

* updated DYLIB_CURRENT_VERSION
2020-07-08 10:58:01 +12:00
wotjd 4cac0e9ac1
Add method getting constraint with closure to ConstraintMakerRelatable (#663)
* add ConstraintMakerRelatable extension

* fix fatalError message

Co-authored-by: Jimi <jimi-hpcnt@hpcnt.com>
2020-07-08 10:57:32 +12:00
Roman Podymov 35e8835a6b
Use << for ConstraintAttributes options (#659)
* Use << for ConstraintAttributes options

* iPhone 6s is not supported by the latest Xcode
2020-07-08 10:53:40 +12:00
Wang, Chi dfe862da48
Add back support for OS X 10.11 (#645) 2020-07-08 10:52:57 +12:00
Natascha Fadeeva 4ecdc8545f Add test assert to unit test testCanSetLabel. (#625) 2019-11-27 23:28:29 +13:00
Ben Yohay 1baa163651 project.pbxproj: Update to recommended settings. (#627) 2019-11-27 23:28:02 +13:00
pushp1989 d592d1d9be Migrate to Xcode 11 and updated travis.yml (#629)
* Migrate to Xcode 11 and updated travis.yml

* Travis to support Xcode 11
2019-11-27 23:27:13 +13:00
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
Liam Elmore 198b62402f Add background color to quick start box in README.md (#619) 2019-08-05 20:39:18 +12:00
Robert Payne d458564516 Update Podspec 2019-08-05 18:29:37 +12:00
Robert Payne fbd58b106a Merge branch 'develop' of github.com:SnapKit/SnapKit into develop 2019-08-05 18:16:43 +12:00
Robert Payne 1754aed4dc Revert #574 2019-08-05 18:16:37 +12:00
Max Cobb bffbeecd10 added updates to Package.swift so it can be imported with Xcode 11 (#615) 2019-08-05 17:17:03 +12:00
Shiva Huang df9df818dd Add Playground Sample (#608) 2019-08-05 17:16:46 +12: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
Vitalii Budnik 222e14ab37 Make ConstraintViewDSL content priorities nonmutating (#586) 2019-06-11 00:33:33 +12:00
Josh Converse 04e9c890aa Adds support for NSDirectionalEdgeInsets as an inset constant (#594) 2019-06-11 00:32:33 +12:00
Robert Payne 9ee45b354d Fix equality check for iOS 2019-04-28 23:06:23 +12:00
Robert Payne c904582015 Fix layout constraint comparison 2019-04-28 20:57:54 +12:00
Robert Payne 5b0282cf8b Bump min version requirements 2019-04-28 20:57:48 +12:00
Robert Payne 4cb3e3a938 Update Podspec 2019-04-28 20:44:54 +12:00
Robert Payne f59340c39b
Revert "[EXC_BAD_ACCESS] Update LayoutConstraint == operator to support iOS 10 and higher changes (#574)" (#593)
This reverts commit bc2b0b9332.
2019-04-28 20:43:09 +12:00
Robert Payne e9b237468b
Update README.md 2019-04-25 12:45:13 +12:00
Robert Payne 74f684b3eb
Update README.md 2019-04-25 12:44:47 +12:00
Robert Payne 328b53b7e3 Update min target versions 2019-04-23 23:01:11 +12:00
Robert Payne 4403a45695 Update min target versions 2019-04-23 22:59:46 +12:00
Robert Payne 5ac6af76c2 Update podspec 2019-04-23 22:47:21 +12:00