Skip to content

Commit c450a70

Browse files
Updated Module with new SDK and AppTheme API
1 parent f1ed7bd commit c450a70

File tree

10 files changed

+21
-8
lines changed

10 files changed

+21
-8
lines changed

Package.resolved

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ let package = Package(
1616
targets: ["PassioNutritionUIModule"]),
1717
],
1818
dependencies: [
19-
// Dependencies declare other packages that this package depends on.
20-
// .package(url: "https://github.com/Passiolife/Passio-Nutrition-AI-iOS-SDK-Distribution",
21-
// .upToNextMajor(from: "3.0.0")),
19+
// Dependencies declare other packages that this package depends on.
20+
.package(url: "https://github.com/Passiolife/Passio-Nutrition-AI-iOS-SDK-Distribution",
21+
.upToNextMajor(from: "3.0.0")),
2222
.package(url: "https://github.com/SwipeCellKit/SwipeCellKit",
2323
.upToNextMajor(from: "2.7.1")),
2424
.package(url: "https://github.com/WenchaoD/FSCalendar.git",
@@ -34,8 +34,8 @@ let package = Package(
3434
.target(
3535
name: "PassioNutritionUIModule",
3636
dependencies: [
37-
// .product(name: "PassioNutritionAISDK",
38-
// package: "Passio-Nutrition-AI-iOS-SDK-Distribution"),
37+
.product(name: "PassioNutritionAISDK",
38+
package: "Passio-Nutrition-AI-iOS-SDK-Distribution"),
3939
"SwipeCellKit",
4040
"FSCalendar",
4141
"SwiftyMarkdown",

Sources/PassioNutritionUIModule/CoreSDK

Lines changed: 0 additions & 1 deletion
This file was deleted.

Sources/PassioNutritionUIModule/NutritionUIModule/NutritionUI/UI/Common/ResultView/ResultsLoggingView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77

88
import UIKit
9+
import PassioNutritionAISDK
910

1011
protocol ResultsLoggingDelegate: AnyObject {
1112
func onTryAgainTapped()

Sources/PassioNutritionUIModule/NutritionUIModule/NutritionUI/UI/FoodCreator/Recipes/RecipesViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77

88
import UIKit
9+
import PassioNutritionAISDK
910

1011
class RecipesViewController: InstantiableViewController {
1112

Sources/PassioNutritionUIModule/NutritionUIModule/NutritionUI/UI/ImageLogging/ImageLoggingService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77

88
import UIKit
9+
import PassioNutritionAISDK
910

1011
protocol ImageLoggingService: AnyObject {
1112
func fetchFoodData(

Sources/PassioNutritionUIModule/NutritionUIModule/NutritionUI/UI/ImageLogging/SelectPhotos/SelectPhotosViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import UIKit
99
import PhotosUI
10+
import PassioNutritionAISDK
1011

1112
class SelectPhotosViewController: InstantiableViewController, ImageLoggingService {
1213

Sources/PassioNutritionUIModule/NutritionUIModule/NutritionUI/UI/ImageLogging/TakePhotos/TakePhotosViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import UIKit
99
import AVFoundation
1010
import Combine
11+
import PassioNutritionAISDK
1112

1213
protocol UsePhotosDelegate: AnyObject {
1314
func onSelecting(images: [UIImage])

Sources/PassioNutritionUIModule/NutritionUIModule/NutritionUI/UI/VoiceLogging/VoiceLoggingViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import UIKit
99
import Lottie
10+
import PassioNutritionAISDK
1011

1112
protocol VoiceLoggingDelegate: AnyObject {
1213
func goToSearch()

Sources/PassioNutritionUIModule/PassioNutritionAI

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)