Skip to content

Commit 6d2ba1b

Browse files
committed
Add required import UIKit for build with Aztec via SPM to work
1 parent ae1f891 commit 6d2ba1b

File tree

8 files changed

+9
-0
lines changed

8 files changed

+9
-0
lines changed

WooCommerce/Classes/Tools/ImageService/DefaultImageService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Combine
22
import Foundation
33
import Kingfisher
4+
import UIKit
45

56
private extension URL {
67
var imageCacheKey: String {

WooCommerce/Classes/Tools/ImageService/KingfisherImageDownloader+ImageDownloadable.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Kingfisher
22
import Combine
3+
import UIKit
34

45
/// The `@retroactive` attribute is used to apply `ImageDownloadTask` conformance to `DownloadTask` from the Kingfisher module.
56
/// At the same time, `ImageDownloadTask` conform to `Cancellable` part of Combine module,

WooCommerce/Classes/ViewRelated/Editor/AztecTextViewAttachmentHandler.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Aztec
2+
import UIKit
23

34
/// Implements Aztec's `TextViewAttachmentDelegate` without media support.
45
final class AztecTextViewAttachmentHandler: TextViewAttachmentDelegate {

WooCommerce/Classes/ViewRelated/Editor/FormatBar/AztecFormatBarFactory.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Aztec
22
import Gridicons
3+
import UIKit
34
import WordPressEditor
45

56
/// Creates Aztec format bar & action handling coordinator for the format bar.

WooCommerce/Classes/ViewRelated/Editor/FormatBar/Command/Implementation/AztecHeaderFormatBarCommand.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Aztec
2+
import UIKit
23
import WordPressEditor
34

45
struct AztecHeaderFormatBarCommand: AztecFormatBarCommand {

WooCommerce/Classes/ViewRelated/Editor/FormatBar/Command/Implementation/AztecLinkFormatBarCommand.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Aztec
2+
import UIKit
23

34
struct AztecLinkFormatBarCommand: AztecFormatBarCommand {
45
let formattingIdentifier: FormattingIdentifier = .link

WooCommerce/Classes/ViewRelated/Editor/FormatBar/Command/Implementation/AztecUnorderedListFormatBarCommand.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import Aztec
2+
import Foundation
3+
import UIKit
24
import WordPressEditor
35

46
struct AztecUnorderedListFormatBarCommand: AztecFormatBarCommand {

WooCommerce/Classes/ViewRelated/Editor/FormatBar/TextList+AztecFormatting.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Foundation
22
import Aztec
3+
import UIKit
34

45
// MARK: - TextList.Style
56
//

0 commit comments

Comments
 (0)