Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Swift Project?

I am trying to make an app where it asks a question and the user has to type in their response. Sort of like a MadLib or a trivia game. How do I do this?

Brenden Konnagan
Brenden Konnagan
16,858 Points

That is a big question. It might help to understand a little more about the components you might have questions about. Understanding more about the flow, storyboards and logic of game would be a good start.

You may want to also think about making this multiple choice as it would be easier to detect the correct answer vs typing where matching strings could be a bit harder.

What is the best way to make the app multiple choice? Is there a specific video that we can watch?

2 Answers

Max Hirsh
Max Hirsh
16,773 Points

Have you tried looking at google or github to see if there are tutorials or examples where someone has built a similar app?

rumy kgr
rumy kgr
1,998 Points

There is a multiple choice application tutorial here: https://www.youtube.com/watch?v=nvug6a_jPRs&list=PL3MWPU0RhJzHSHn1P1zZ0p1dcUKsppiya&index=48

I couldn't find anything else unfortunately.