Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
Robert Payne 0417bda236 Prepare for release 2017-09-17 14:21:22 +12:00
Raimon Lapuente e44888b0e4 Xcode 4 mac compatibility (#446)
* Typealias the types that are different on mac and ios
Update tests because when failing they where being blocked and stoped running

* try xcode 9 version to see tests pass

* Renaming the Typealiases to remove Generic suffix and NS prefix
2017-09-17 14:15:34 +12:00
Robert Payne d31148f449 Swift 4 Migration 2017-06-12 22:12:07 +12:00
Robert Payne a15821b791 Improve Priority API's 2017-02-11 22:49:00 +13:00
Jordane Belanger 2313eb2818 Switched main target build settings' "skip install" default settings to YES. (#391) 2017-02-11 22:32:47 +13:00
Robert Payne 9dcfb53445 Update project files 2016-12-26 00:26:06 +13:00
Robert Payne 6ef7fca953 Attempt to fix Carthage Schemes 2016-11-27 02:25:37 +13:00
Robert Payne cfa5e8cb5b Fix up iOS 9 / OSX 10.11 availability on Layout Guides 2016-10-11 23:17:32 +13:00
Robert Payne dc304472aa Begin support for LayoutGuide constraint maker 2016-10-07 23:58:56 +13:00
Robert Payne daf00b5a3e Update settings for Carthage 2016-10-07 23:25:17 +13:00
Robert Payne 757ff896b4 Fix erroneus scheme 2016-10-07 23:03:10 +13: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 25bd7dab9e Fix for tests 2016-09-14 20:49:36 +12:00
Robert Payne fa96e379bc Add tests to updated build scheme 2016-09-14 20:45:03 +12:00
Robert Payne fa5290e5ff Improve project setup for multiplatform 2016-09-14 20:44:06 +12:00
Robert Payne 2764642a2d Tweaks for OSX support 2016-09-02 01:39:08 +12:00
Robert Payne fc298aeaf4 Split up DSL and add support for UILayoutGuide 2016-09-02 00:27:26 +12:00
Robert Payne bd6643ff54 Enable coverage results in tests 2016-08-16 22:53:01 +12:00
Robert Payne 439e2e8e39 Xcode 8 - Beta 3 tweaks 2016-08-08 11:10:48 +12:00
Robert Payne 7631964aee Don’t build for running 2016-08-08 11:08:26 +12:00
Robert Payne 9d0232ca08 API updates, migrate away from iOS 7.0 support 2016-08-06 22:38:02 +12:00
Robert Payne 5b5720d435 Tweak build settings 2016-08-04 10:27:05 +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 37dd5e9310 Update for Swift 2.3 2016-06-21 18:56:32 +12:00
Robert Payne 8355410d92 Swift 3.0 Migration 2016-06-15 13:49:49 +12:00
Jamie White 8511c60d27 Enabling app extension API only for tvOS and OSX targets 2016-04-19 20:50:23 +01:00
Spiros Gerokostas a231343050 updates 2016-03-01 13:13:24 +02:00
Spiros Gerokostas 2cd154ed2a basic scrollview example 2016-03-01 12:14:50 +02:00
Spiros Gerokostas b206d5ffd5 adding example project 2016-03-01 11:58:06 +02:00
Robert Payne 61b4016202 Fix improper revert 2016-01-27 01:04:28 +13:00
Robert Payne 105dd74a9c Re-add SourceLocation.swift 2016-01-27 00:44:05 +13:00
Robert Payne 1a1592e04e Fix up bad tvOS target 2016-01-27 00:23:37 +13:00
Stephen Yao a3824e54a0 Changed code-signing to iOS-distribution for Release target 2016-01-27 00:20:05 +13:00
eralpkaraduman d92a316052 Added tvOS target
added tvOS test target

# Conflicts:
#	SnapKit.xcodeproj/project.pbxproj
2016-01-27 00:19:49 +13:00
Robert Payne 7ba532d597 Major overhaul 2016-01-26 23:49:04 +13:00
Robert Payne cbd76888c8 Merge pull request #179 from eralpkaraduman/develop
Added tvOS target for Carthage support
2016-01-21 11:07:56 +13:00
Stephen Yao 4446f7d1dc Changed code-signing to iOS-distribution for Release target 2016-01-06 14:21:26 +11:00
eralpkaraduman cd35eedc26 Added tvOS target
added tvOS test target
2016-01-01 01:57:54 +02:00
Robert Payne 2dcf3bddfa nits 2015-11-08 21:18:01 +13:00
Akiva Leffert bbe5b2e49d Instrument each constraint with a source location. 2015-10-14 20:17:59 -04:00
Robert Payne c1de30ac5c Updated for Swift 2.0 2015-07-30 19:30:56 +12:00
Robert Payne 6252444966 Added support for view controller layout guides 2015-05-30 19:54:43 +12:00
Jurvis Tan 9c321612c0 switched deployment target to iOS 8.0 for target and tests 2015-05-03 23:24:45 +08:00
Robert Payne 51662d58bb Snap is now SnapKit 2015-04-15 23:07:50 +12:00