This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.swift | |
// TestZipMany | |
// | |
// Created by Amr Abdelwahab on 13/09/2022. | |
// | |
import Foundation | |
import Combine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import Combine | |
//MARK: - Integrating Async Await method in Combine Stream Chain using Future | |
struct Resturant: Codable { | |
let id: String | |
let name: String | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreatePostCardCoordinator { | |
private let presentingViewController: UIViewController | |
lazy var tabBarController: UITabBarController = { | |
let viewModel = CreatePostCardViewModel.init(coordinator: self) | |
let tabBarController = CreatePostCardTabBarViewController.init(viewModel: viewModel) | |
return tabBarController | |
}() | |
init(presentingViewController: UIViewController) { | |
self.presentingViewController = presentingViewController | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Welcome_back"="Welcome back"; | |
"PromoCodeAmount"="You have a promo code for %d %@"; |