SWIFT Programming

After following the Swift Lynda video tutorials, it has given me some ideas that it worked similarly with Javascript/p5. The if, while and for loops statement would be useful to activate different actions. I have many errors and problems while creating the unlock screen app. For the UI design, I added white dots as the background for the feedback icons and added the background, sequences and numbers. After walking through the videos and comparing the Unlock Kit app, it solves some of the problems.

Codes:

https://github.com/ellacyt/mobilelab/tree/master/Week2 

 

UI Design:

 

Problems:

  • When I hit Button “1”, it crashes – I realized that it crashes because I have two functions for the button while hooking it to the Storyboard from the code.
  • The auto-layout and creating constraints could be some headache

 

week2 from Ella Chung on Vimeo.