This past week, I continued my learning toward building an iPhone app. This week, I actually got to get into some of the foundational design elements and how they work.
Week 2 lessons 5~9.
Lesson 5 - This lesson was all about where everything is in the XCode windows and where to find all the modifiers and elements. I learned how to justify vertically and horizontally as well as how to change which layout I was working in (portrait, landscape, large screen, small screen, etc.)
Lesson 6 - In this lesson, I started my app build. It seems that I am building an app for the card game 'War'. I learned how to add an image to the build, set its parameters and how to set its location on the screen through the use of constraints. I was able to add the first card, give it a colour, and set its location.
Lesson 7 - In this lesson, I learned how to add constraints that were specific to certain layouts (portrait, landscape). Whereas a 50 point left buffer in portrait mode might be great, it may be too close to the edge in landscape and therefore require a layout-specific constraint of perhaps 200 points.
Lesson 8 - In this lesson, I created my second card by duplicating the first one and adjusting the constraints or adding new ones. I also added the 'Deal' button and positioned it for each layout. Finally, I learned how to add a background and arrange the order of visible items to send the background to the back.
Lesson 9 - In this lesson, I finally got into some coding basics. Using the Swift language, I created some example objects and classes through the use of variables and functions.
This week, my project got interesting and I was able to do some interesting things. It is starting to look like something finally!
Week 2 lessons 5~9.
Lesson 5 - This lesson was all about where everything is in the XCode windows and where to find all the modifiers and elements. I learned how to justify vertically and horizontally as well as how to change which layout I was working in (portrait, landscape, large screen, small screen, etc.)
Lesson 6 - In this lesson, I started my app build. It seems that I am building an app for the card game 'War'. I learned how to add an image to the build, set its parameters and how to set its location on the screen through the use of constraints. I was able to add the first card, give it a colour, and set its location.
Lesson 7 - In this lesson, I learned how to add constraints that were specific to certain layouts (portrait, landscape). Whereas a 50 point left buffer in portrait mode might be great, it may be too close to the edge in landscape and therefore require a layout-specific constraint of perhaps 200 points.
Lesson 8 - In this lesson, I created my second card by duplicating the first one and adjusting the constraints or adding new ones. I also added the 'Deal' button and positioned it for each layout. Finally, I learned how to add a background and arrange the order of visible items to send the background to the back.
Lesson 9 - In this lesson, I finally got into some coding basics. Using the Swift language, I created some example objects and classes through the use of variables and functions.
This week, my project got interesting and I was able to do some interesting things. It is starting to look like something finally!