Skip to content

Commit

Permalink
feat: add foundation imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JNdhlovu committed Nov 14, 2023
1 parent e6525f7 commit a55fb14
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
name: "SmileID",
dependencies: ["Zip"],
path: "Sources/SmileID",
resources: [.copy("Resources")]
resources: [.process("Resources")]
),
.testTarget(
name: "SmileIDTests",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/// or may not be complete yet. This can be checked with `jobStatusResponse.jobComplete`. If not
/// yet complete, the job status will need to be fetched again later. If the job is complete, the
/// final job success can be checked with `jobStatusResponse.jobSuccess`.

import Foundation
public protocol BiometricKycResultDelegate {
/// This function is called as a result of a successful selfie capture and job submission
/// - Parameters:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import Combine
import SwiftUI
import UIKit

class IdInfoInputViewModel: ObservableObject {
// MARK: - Input Properties
private let selectedCountry: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Combine
import Foundation

internal enum BiometricKycStep {
case loading(messageKey: String)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class SmileIDResourcesHelper {
for candidate in candidates {
let bundlePath = candidate?.appendingPathComponent(bundleName + ".bundle")
if let bundle = bundlePath.flatMap(Bundle.init(url:)) {
bundle.load()
return bundle
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Source: https://github.com/WeTransfer/WeScan

import Vision
import UIKit

struct Quadrilateral: Transformable {
var topLeft: CGPoint
Expand Down

0 comments on commit a55fb14

Please sign in to comment.