I should create Quiz app, I just created template and MVC, but cannot understand how to pass data from array with question and answers to label on screen ? I have 3 screen 1.Screen with "start" button 2.Main screen where I should pass data from array 3.Screen - result
struct Question {
    var text: String
    var answers: [Answer]
}
extension Question {
     static func loadData() -> [Question] {
        return [
            Question(
                text:some text",
                answers: [
                    Answer(text: "some text", type: .Sloupok),
                    Answer(text: "some text", type: .Pikachy),
                    Answer(text: "some text", type: .Lucario),
                    Answer(text: "some text", type: .Slugma),
                    Answer(text: "some text", type: .Vaperon)
                ]
            ),
            Question(
                text:"some text",
                answers: [
                    Answer(text: "some text", type: .Sloupok),
                    Answer(text: "some text", type: .Pikachy),
                    Answer(text: "some text", type: .Lucario),
                    Answer(text: "some text", type: .Slugma),
                    Answer(text: "some text", type: .Vaperon)
                ]
            ),
            Question(
                text:"some text ?",
                answers: [
                    Answer(text: "some text", type: .Sloupok),
                    Answer(text: "some text", type: .Pikachy),
                    Answer(text: "some text", type: .Lucario),
                    Answer(text: "some text", type: .Slugma),
                    Answer(text: "", type: .Vaperon)
                ]
            ),
            Question(
                text:"some text?",
                answers: [
                    Answer(text: "some text", type: .Sloupok),
                    Answer(text: "some text", type: .Pikachy),
                    Answer(text: "Сsome text", type: .Lucario),
                    Answer(text: "some text", type: .Slugma),
                    Answer(text: "some text", type: .Vaperon)
                ]
            ),
            Question(
                text:"some text?",
                answers: [
                    Answer(text: "some text", type: .Sloupok),
                    Answer(text: "some text", type: .Pikachy),
                    Answer(text: "some text", type: .Lucario),
                    Answer(text: "some text", type: .Slugma),
                    Answer(text: "some text", type: .Vaperon)
                ]
            )
        ]
    }
}

 
    