Skip to content

Commit 1c837be

Browse files
authored
Merge pull request #53 from wanbok/master
Supports UIKit.UIGeometry for iOS
2 parents 99a6e56 + ff40f6d commit 1c837be

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Sources/Then/Then.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
import Foundation
2424
import CoreGraphics
25+
#if os(iOS) || os(tvOS)
26+
import UIKit.UIGeometry
27+
#endif
2528

2629
public protocol Then {}
2730

@@ -74,3 +77,9 @@ extension CGPoint: Then {}
7477
extension CGRect: Then {}
7578
extension CGSize: Then {}
7679
extension CGVector: Then {}
80+
81+
#if os(iOS) || os(tvOS)
82+
extension UIEdgeInsets: Then {}
83+
extension UIOffset: Then {}
84+
extension UIRectEdge: Then {}
85+
#endif

0 commit comments

Comments
 (0)