top of page

Year 2 Semester 2 (P2)

Smartics Companion Mobile Application (Sprint 1 & 2)

To reduce the effects of climate change, Saravanan (scrum master) thinks of the idea of having a prototype that aims to target the majority of Singaporeans using the iOS device to minimize electricity consumption by using our mobile application to track how long do home users use their electricity in a day, week or month. The more electricity the user saves during that day, week or month, points will be collected and home users can use the points to redeem for vouchers. It also allows the home user to use their voice to control their appliances through Siri.

We plan to use what we have learned (storyboard) in our MAD2 lessons and apply it to our mobile application but Saravanan (group leader) suggests that using swift UI will be simpler compared to storyboarding.

This is an example of Swift UI :

This is an example of Storyboard :

So Saravanan (group leader) taught me how to code using swift UI and I find swift UI easier for me to understand compared to iOS storyboarding. Throughout the days where I code using swift UI for our mobile application, whenever the codes don't work, I will either look through the internet or seek help from my teammates.
(Mobile Application Swift UI)
For our Settings page, we added these features to allow the users to be able to change their name, profile picture, access their monthly subscriptions, manage trusted devices and call for the support if they have any enquiry.

(This is just part of the code for our SettingsView)

ManagetrustedDeviceView :

It will allow the home user to add trust devices into this section.

For example: (Family members)

ChangeProfilePictureView:

If the user wants to changes his/her own profile picture, he/she will have to enter the profile picture URL and clicks on the save button. Once the save button is clicked, the new profile picture URL will be updated and shown on the SettingsView page.

(This is just part of the code for ChangeProfilePictureView)

CallSupportView:

For our CallSupportView page, I did the first part and one of my teammates, Brandon continue on the part on where I've last stopped, which is the part where I've circled in the picture below.

bottom of page