Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/Sources/AsyncImageKit/Helpers/FaviconService.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation

/// Fetches URLs for favicons for sites.
public actor FaviconService {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import UIKit
import SwiftUI

public extension EdgeInsets {
Expand Down
1 change: 0 additions & 1 deletion Modules/Sources/WordPressUI/Ghosts/GhostOptions.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
import UIKit

// MARK: - GhostOptions: Content Options.
//
Expand Down
2 changes: 1 addition & 1 deletion Modules/Tests/AsyncImageKitTests/FaviconServiceTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import Testing
import AsyncImageKit

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import XCTest
@testable import WordPress
@testable import WordPressData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import XCTest
import OHHTTPStubs
import OHHTTPStubsSwift
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import OHHTTPStubs
import OHHTTPStubsSwift
import UIKit
import Foundation
import XCTest
@testable import WordPress
@testable import WordPressData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import XCTest

@testable import WordPress
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import UIKit

protocol DynamicMockProvider {
static func randomString(length: Int) -> String
static func randomInt(limit: Int) -> Int
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/Apps/Reader/ReaderWelcomeView.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ColorStudio
import UIKit
import Foundation
import SwiftUI
import WordPressUI

Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/Extensions/CATransaction+Extension.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import QuartzCore

extension CATransaction {

Expand Down
1 change: 0 additions & 1 deletion WordPress/Classes/Extensions/CLPlacemark+Formatting.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import UIKit
import CoreLocation

extension CLPlacemark {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import UIKit
import UserNotifications

class MigrationNotificationsViewModel {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData

final class MigrationWelcomeViewModel {
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/Login/RestApiUpgradePrompt.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressUI
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/Services/MediaHelper.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import AsyncImageKit
import WordPressData
import WordPressKit
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/Services/PostCoordinator+Notices.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData
import WordPressShared

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import UIKit

/// Methods to access the Me Scene and sub levels
extension RootViewPresenter {
/// access to sub levels
Expand Down
1 change: 0 additions & 1 deletion WordPress/Classes/Utility/ObjCBridge.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
import UIKit
import WordPressData

/// This class is a temporary bridge between Swift-only APIs in Keystone
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import ShareExtensionCore
import WordPressData

Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/Utility/WPContentSyncHelper.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation

@objc public protocol WPContentSyncHelperDelegate: NSObjectProtocol {
func syncHelper(_ syncHelper: WPContentSyncHelper, syncContentWithUserInteraction userInteraction: Bool, success: ((_ hasMore: Bool) -> Void)?, failure: ((_ error: NSError) -> Void)?)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import WordPressUI
import WordPressShared
import WordPressData
import Gridicons
import UIKit
import Foundation

struct ActivityLogDetailsView: View {
let activity: Activity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Foundation
import SwiftUI
import UIKit
import WordPressAPI
import WordPressAPIInternal
import WordPressCore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation

struct CheckoutViewModel {
let url: URL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData

struct PlanSelectionViewModel {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation

enum RegisterDomainDetails {
enum Localized {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WebKit

extension WebKitViewController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
import UIKit
import WordPressData
import WordPressKit
import WordPressUI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData

class LayoutPreviewViewController: TemplatePreviewViewController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressShared
import WordPressUI

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressShared
import WordPressUI

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressKit
import WordPressShared
import WordPressUI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressKit
import WordPressShared
import WordPressUI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData

/// This class simply exists to coordinate the display of various sections of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import UniformTypeIdentifiers
import WordPressData

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import UIKit
import AsyncImageKit
import WordPressData

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData
import WordPressShared

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import DesignSystem

class PeopleRoleBadgeLabel: BadgeLabel {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData

/// A subclass of PostCategoriesViewController for use in PostSettings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import SwiftUI
import AsyncImageKit
import WordPressData
import WordPressUI
import UIKit
import Foundation

struct PostSettingsFeaturedImageRow: View {
@ObservedObject var viewModel: PostSettingsFeaturedImageViewModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import UIKit
import WordPressData
import WordPressShared

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData

/// Configuration and population of cells in Reader
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import SwiftUI
import WordPressShared
import WordPressUI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData
import WordPressShared
import WordPressUI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import SwiftUI
import Combine
import WordPressData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressUI

final class ReaderHeaderView: ReaderBaseHeaderView {
Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/ViewRelated/Reader/ReaderMenuStore.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressData

protocol ReaderMenuStoreProtocol {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import SwiftUI
import Combine
import WordPressData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import UIKit
import SwiftUI
import Combine
import WordPressData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import SwiftUI
import Combine
import WordPressData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI
import UIKit
import Foundation
import WordPressData
import WordPressUI

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressKit

class SiteDesignPreviewViewController: TemplatePreviewViewController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WebKit

final class PlanWizardContent: WebKitViewController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
import UIKit
import WordPressData

extension StatsViewController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import Combine
import WordPressShared

Expand Down
2 changes: 1 addition & 1 deletion WordPress/Classes/ViewRelated/Tools/SettingsCommon.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UIKit
import Foundation
import WordPressFlux
import WordPressKit
import WordPressShared
Expand Down