Skip to content

Commit b1e1643

Browse files
author
Baris Sencan
committed
Fix imports
1 parent 69dcbaa commit b1e1643

File tree

9 files changed

+8
-10
lines changed

9 files changed

+8
-10
lines changed

ManualLayout/CALayer+FastAccess.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
9+
import UIKit
1010

1111
public extension CALayer {
1212

ManualLayout/CALayer+ManualLayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
9+
import UIKit
1010

1111
public extension CALayer {
1212

ManualLayout/Enums.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
10-
119
public enum ManualLayoutDimension {
1210
case X, Y
1311
}

ManualLayout/ManualLayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
9+
import UIKit
1010

1111
public struct ManualLayout {
1212

ManualLayout/UIView+FastAccess.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
9+
import UIKit
1010

1111
// I wish there was an easier way to do this in Swift.
1212
public extension UIView {

ManualLayout/UIView+ManualLayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
9+
import UIKit
1010

1111
// Proxy CALayer+ManualLayout methods for UIView.
1212
public extension UIView {

ManualLayoutTests/FastAccessTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
9+
import UIKit
1010
import XCTest
1111
import ManualLayout
1212

ManualLayoutTests/ManualLayoutTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import XCTest
1111
import ManualLayout
1212

1313
internal class ManualLayoutTests: XCTestCase {
14-
let otherRect = CGRect (x: 10, y: 20, width: 100, height: 100)
14+
let otherRect = CGRect(x: 10, y: 20, width: 100, height: 100)
1515
let rect = CGRect(x: 0, y: 0, width: 10, height: 10)
1616

1717
func testGetOriginForCenteringRect() {

ManualLayoutTests/UIViewManualLayoutTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Baris Sencan. All rights reserved.
77
//
88

9-
import Foundation
9+
import UIKit
1010
import XCTest
1111
import ManualLayout
1212

0 commit comments

Comments
 (0)