Skip to content

Commit cc65eac

Browse files
committed
Update
1 parent 01a1906 commit cc65eac

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ Extremely Fast views layouting without auto layout. No magic, pure code, full co
3535
### Requirements
3636
* iOS 9.0+ / tvOS 9.0+ / macOS 10.9+
3737
* Swift 5.x / 4 / 3 / Objective-C
38-
* Xcode 12 / 11 / 10 / 9
38+
* Xcode 12 / 11 / 10
3939

4040
### Recent changes/features
41+
* :star: New chainable Objective-C syntax. See [PinLayout using Objective-C](#objective_c_interface)
4142
* :star: Automatic Sizing, use PinLayout to compute view size. See [Automatic sizing](#automatic_sizing)
4243
* :star: Add methods to position a view between two other views. See [Layout between other views](#layout_between).
4344
* :star: Add [`pin.readableMargins` and `pin.layoutMargins`](#safeAreaInsets) properties.
@@ -1781,6 +1782,11 @@ To integrate PinLayout into your Xcode project using CocoaPods, specify it in yo
17811782

17821783
Then, run `pod install`.
17831784

1785+
### Swift Package Manager (SPM)
1786+
1787+
1. From Xcode, select from the menu **File > Swift Packages > Add Package Dependency**
1788+
2. Specify the URL `https://github.com/layoutBox/PinLayout`
1789+
17841790
### Carthage
17851791

17861792
To integrate PinLayout into your Xcode project using Carthage, specify it in your `Cartfile`:

build-ci.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj \
131131
rm -rf $DERIVED_DATA &&
132132
cd ../../.. &&
133133

134-
echo "===============================" &&
135-
echo " Pod lib lint" &&
136-
echo "===============================" &&
137-
time bundle exec pod lib lint --allow-warnings
138134

139135
echo "=========================================="
140136
echo " Swift Package Manager: iOS Empty project "
@@ -147,5 +143,8 @@ time xcodebuild clean build -project PinLayout-SPM-iOS.xcodeproj -scheme PinLayo
147143
| xcpretty
148144
cd ../../..
149145

150-
#OTHER_SWIFT_FLAGS='-Xfrontend -debug-time-function-bodies'
151-
xcodebuild clean test -workspace PinLayout.xcworkspace -scheme PinLayout-macOS -derivedDataPath $DERIVED_DATA -sdk macosx10.15
146+
147+
echo "===============================" &&
148+
echo " Pod lib lint" &&
149+
echo "===============================" &&
150+
time bundle exec pod lib lint --allow-warnings

0 commit comments

Comments
 (0)