Skip to content

Commit

Permalink
Merge pull request #73 from shichimitoucarshi/refactor/correct-on-vie…
Browse files Browse the repository at this point in the history
…wController

Correct code on ViewController
  • Loading branch information
keisukeYamagishi authored Aug 5, 2024
2 parents 151633b + fbc80c9 commit a7fa12b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions HttpSessionSample/ViewController/View/ViewController.swift
Original file line number Diff line number Diff line change
@@ -10,12 +10,13 @@ import HttpSession
import UIKit

final class ViewController: UIViewController {
@IBOutlet var tableView: UITableView!
@IBOutlet var progressView: UIProgressView!
var viewModel: ViewModelType = ViewModel()
@IBOutlet private var tableView: UITableView!
@IBOutlet private var progressView: UIProgressView!

func detailViewController(text: String = "",
isDL: Bool = false)
private var viewModel: ViewModelType = ViewModel()

private func detailViewController(text: String = "",
isDL: Bool = false)
{
let storyboard = UIStoryboard(name: "Detail", bundle: nil)
guard let detailViewController = storyboard.instantiateInitialViewController() as? DetailViewController else { return }

0 comments on commit a7fa12b

Please sign in to comment.