-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [HL-92] Login <> Handle and integrate login use case 🍕 #100
Conversation
add mock Data for LoginUseCase until Actual Request is finished
Domain/.gitignore
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be removed. Let's depend on the root .gitignore
Domain/README.md
Outdated
@@ -0,0 +1,3 @@ | |||
# Domain | |||
|
|||
A description of this package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A description of this package. | |
The Domain Layer is a crucial component of a software architecture that represents the core business logic and rules of the application. It acts as the heart of the system, encapsulating all the domain-specific logic and entities. |
@@ -0,0 +1,4 @@ | |||
@available(iOS 13.0.0, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make the package support iOS 13 by default.
Healthy/AppCoordinator.swift
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you move the AppCoordinator & AppDelegate outside classes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was By Mistake trying to sort them by name
@@ -35,7 +35,6 @@ final class LoginViewController: UIViewController { | |||
|
|||
override func viewDidLoad() { | |||
super.viewDidLoad() | |||
|
|||
configureAppearance() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configureAppearance() | |
configureAppearance() |
I prefer keeping a line between view did load and configuration logic.
.sink { error in | ||
let alertController = UIAlertController( | ||
title: "Error!!", | ||
message: error.localizedDescription, | ||
preferredStyle: .alert) | ||
|
||
self.present(alertController, animated: true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.sink { error in | |
let alertController = UIAlertController( | |
title: "Error!!", | |
message: error.localizedDescription, | |
preferredStyle: .alert) | |
self.present(alertController, animated: true) | |
.sink { [weak self] error in | |
let alertController = UIAlertController( | |
title: "Error!!", | |
message: error.localizedDescription, | |
preferredStyle: .alert) | |
self?.present(alertController, animated: true) |
Retain cycle.
…tegrate-login-use-case # Conflicts: # Healthy.xcodeproj/project.pbxproj # Networking/Tests/NetworkingTests/Requests/MealCategoriesRequestTests.swift
add mock Data for LoginUseCase until Actual Request is finished
Proposed Changes
Related Issues
#97
Additional Information
https://motoon-eg.atlassian.net/jira/software/projects/HL/boards/2?selectedIssue=HL-92
Screenshot
N/A
Checklist