Hello blog viewers,
I have just completed the sixth week of my SRP. During this week, I completed researching causes of stress (which I am in the process of converting into questions for the app) as well as coding more animations which will enhance the user interface.
While researching, I found many sources of stress which I would not have been able to come up with off the top of my head such as marriage; marriage, along with many other happy experiences in people’s lives, can be stressful due to new responsibilities and new environments (such as where a person is living). I also found more obvious sources such as bullying, unsafe environments, and lack of sleep. I have compiled twenty questions (with a few slightly overlapping ideas) and would like to cut down on them until I have roughly ten focused questions which will get key information from the user without wasting his/her time.
On the coding side, I finally got the animation working for the core graphics in the first question (which I discussed more in last week’s blog). "You can see it for yourself in the video below" is what I would say if blogger would allow me to upload the video (which is smaller than the 100 MB limit). Instead, I have just provided a few pictures in a time-lapse fashion and you'll have to imagine the actual animation.








After completing this animation, I added the core data files which I coded in a separate Xcode project to the main project which has the actual visuals and animations. This caused a few issues including the test app build failing to run due to a “Thread 1 signal sigabrt” error (this general error has popped up many times for). I looked over all of my code trying to find the cause for this error. I eventually found code for an unused outlet that I had forgotten about; I deleted the code and the app was running again. After overcoming this hurdle, I connected the user input values to the core data so the app will save answers. This is a key part of the app because if the app can’t remember the user’s answers for each stress event, the app will not be able to do what it’s designed to do: display graphs (using the collected data over a period of time) and present stress patterns to help the user and his/her healthcare professional, thus rendering the app useless.
This next week, I plan on narrowing down my final list of questions, working more on the core data, and adding more animations to the app.
I hope to see you all in my next blog post!