Skip to content

Commit badecc2

Browse files
author
Luc Dion
authored
Merge pull request #56 from mirego/fix_missing_import
Fix missing UIKit import
2 parents 91156cd + 8dcded9 commit badecc2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ A view can be layouted using PinLayout and later with another method/framework.
8080

8181
* Minimize as much as possible calculations and constants when layouting views. But it is always possible to add advanced computation if required.
8282

83-
* Methods match as much as possible other layouting systems, including CSS, flexbox, reactive Flexbox, …
83+
* Method's name match as much as possible other layouting systems, including CSS, flexbox, reactive Flexbox, …
8484
* margin, marginHorizontal, marginVertical, marginTop, marginLeft, marginBottom, marginRight
8585
* top, left, bottom, right, width, height
8686
* As in CSS and flexbox, right and bottom coordinates are offset from container view's right and bottom edges.

Sources/PinLayoutImpl.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import Foundation
2929

3030
#if os(iOS) || os(tvOS)
31+
import UIKit
3132

3233
public var unitTestLastWarning: String?
3334

0 commit comments

Comments
 (0)