Okay so I’m very new to coding and currently trying to build my first app! I’ve managed to create the entire UI (it’s only a 2 screen app with a tab bar for navigation between the two screens).
Now the point of the app is to generate and call out a random number, however there are a few parameters that I want the user to be able to set in order to change the way the app calls out these numbers. These are:
- Range - a string from 1-10 of which the app can generate a random number to call.
- Start delay time - A time between 1 & 5 seconds before the app starts calling numbers
- Speed - Speed between the called numbers (Slow/Medium/Fast/Mixed)
- Calls - The actual amount of times the app will call a random number from the range. Also a string between 1-15.
The problem I’m having is that I have no idea where to start with regards to the code. Do I need to make a separate class for each parameter or can I make a function for each in the view controller? I can figure out the smaller stuff, I just need a bit of help with the groundwork I guess you can say. Any help would be greatly appreciated!
I’ve attached two screen shots, hopefully that provides some context.