Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS

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,761 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.