Hello blog viewers,
I have just completed the third (and most productive thus far) week of my SRP. During this week, I completed the basic framework for my app (which includes setting up buttons and files for each of the four tab views in my app). I also realigned all of the buttons and text in the app so it doesn’t look ugly.
This is what a view controller looks in the Main Storyboard (where I put all the basic buttons, labels, and text) of Xcode. However, if I run the app, the view of the app (in an iPhone simulator) looks like this:
This is both ugly and fails to display the entire view with all of the buttons and labels that I want to display. Once I added constraints (which lock all of the buttons and labels in the app’s view), the app looked like this:
Much better, right? This makes the app more uniform, neat, and easy to use (note that this view is not finalized and will be improved upon as I work on the app during the next few weeks). I had to rearrange a few labels in order to make all of the buttons and labels fit neatly since the “Less Stressed” and “More Stressed” labels were not ‘constraining’ horizontally. This view also shows a newly added slider which I added for one of the questions where users can pick a number from 1 to 5 rating how stressed they are. The number (label) above the slider shows what number the slider is indicating.
I have not completed the list of questions I will ask users regarding their stress. I have not gotten a chance to create the graphs as I still have not figured out how I will convert answers to numbers. I also realized that the aesthetics of the app (which I said I would work on this week in the last blog) are not as important as function and they can be implemented once the app is fully functional, hence why the pictures above show black and white.
This coming week, I aim to finish up the Settings tab and hopefully complete a (draft) list of questions and add them to the app. I will also start converting answers to numbers (although the values of the numbers will most likely change later).
I hope to see you all in my next blog!