This file contains hidden or 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
| #!/bin/bash | |
| version=$1 | |
| # Set comma as delimiter | |
| IFS='.' | |
| #Read the split words into an array based on comma delimiter | |
| read -a strarr <<< "$version" |
This file contains hidden or 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
| // | |
| // ViewController.swift | |
| // BuilderAlert | |
| // | |
| // Created by Nabin Shrestha on 04/02/2022. | |
| // | |
| import UIKit | |
| class ViewController: UIViewController { |
This file contains hidden or 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
| // | |
| // AlertBuilder.swift | |
| // BuilderAlert | |
| // | |
| // Created by Nabin Shrestha on 04/02/2022. | |
| // | |
| import UIKit | |
| public final class AlertBuilder { |
This file contains hidden or 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
| // | |
| // AlertActionProperties.swift | |
| // BuilderAlert | |
| // | |
| // Created by Nabin Shrestha on 04/02/2022. | |
| // | |
| import UIKit | |
| struct AlertActionProperties { |
This file contains hidden or 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
| // | |
| // AlertProperties.swift | |
| // BuilderAlert | |
| // | |
| // Created by Nabin Shrestha on 04/02/2022. | |
| // | |
| import UIKit | |
| struct AlertProperties { |
This file contains hidden or 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
| package com.example.model | |
| data class LoginResponse( | |
| val success: Boolean, | |
| val message: String, | |
| val token: String? | |
| ) |
This file contains hidden or 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
| package com.example.dtos | |
| data class UserDTO( | |
| val username: String, | |
| val password: String | |
| ) |
This file contains hidden or 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
| // | |
| // MainCoordinator.swift | |
| // ModularProject | |
| // | |
| // Created by Nabin Shrestha on 7/28/21. | |
| // | |
| import UIKit | |
| import Login |
This file contains hidden or 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
| // | |
| // LoginCoordinator.swift | |
| // ModularProject | |
| // | |
| // Created by Nabin Shrestha on 7/28/21. | |
| // | |
| import UIKit | |
| import Login |
This file contains hidden or 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
| // | |
| // MainCoordinator.swift | |
| // ModularProject | |
| // | |
| // Created by Nabin Shrestha on 7/28/21. | |
| // | |
| import UIKit | |
| import Login |
NewerOlder