Skip to content

Commit bea5380

Browse files
committed
import necessary frameworks for split files
1 parent 1ff9a0e commit bea5380

6 files changed

+12
-0
lines changed

swift-sdk/Internal/InboxViewControllerViewModelProtocol.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Copyright © 2021 Iterable. All rights reserved.
33
//
44

5+
import UIKit
6+
57
protocol InboxViewControllerViewModelProtocol {
68
var view: InboxViewControllerViewModelView? { get set }
79
var unreadCount: Int { get }

swift-sdk/Internal/InboxViewControllerViewModelView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Copyright © 2021 Iterable. All rights reserved.
33
//
44

5+
import Foundation
6+
57
protocol InboxViewControllerViewModelView: AnyObject {
68
/// All these methods should be called on the main thread
79
func onViewModelChanged(diffs: [RowDiff])

swift-sdk/IterableAuthManagerProtocol.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Copyright © 2021 Iterable. All rights reserved.
33
//
44

5+
import Foundation
6+
57
@objc public protocol IterableAuthManagerProtocol {
68
func getAuthToken() -> String?
79
func resetFailedAuthCount()

swift-sdk/IterableInAppManagerProtocol.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Copyright © 2021 Iterable. All rights reserved.
33
//
44

5+
import Foundation
6+
57
@objc public protocol IterableInAppManagerProtocol {
68
/// Turn on/off automatic displaying of in-apps
79
/// - remark: the default value is `false`

swift-sdk/IterableInAppMessage.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Copyright © 2021 Iterable. All rights reserved.
33
//
44

5+
import Foundation
6+
57
/// A message is comprised of content and whether this message was skipped.
68
@objcMembers public final class IterableInAppMessage: NSObject {
79
/// the ID for the in-app message

swift-sdk/IterableInboxViewControllerViewDelegate.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Copyright © 2021 Iterable. All rights reserved.
33
//
44

5+
import Foundation
6+
57
/// Use this protocol to override the default inbox display behavior.
68
/// Please note that almost properties are `optional` which means that you don't have to
79
/// implement them if the default behavior works for you.

0 commit comments

Comments
 (0)