//
//  StoryBoardViewController.swift
//  StoryPrompt
//
//  Created by Xun Ruan on 2021/9/4.
//

import UIKit

class StoryBoardViewController: UIViewController {

    @IBOutlet weak var storyPrompt: UITextView!
    
    var storyPromptEntry = StoryPromptEntry()
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        storyPromptEntry.noun = "star"
        storyPromptEntry.verb = "wins"
        storyPromptEntry.adjective = "exciting"
        storyPrompt.text = storyPromptEntry.description
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
