top of page

SWIFT FOR VCE SOFTWARE DEVELOPMENT

8. Programming Task - Segments

Updated: Sep 6, 2018

We now have the ability to link if statements to a UI control which is great. Now we are going to learn how to use them with Segments. Segments allow us to have multiple options.

Here is what mine looks like:


To do this we will use nested ifs and then proceed onto cases.

Task 1: Use Segments with nested if statements to populate the label.

Task 2: Use Segments with Switch Cases to populate the label.



Practical - Aussie Broadband

Now it is your turn. You are to make an app that allows a user to enter their monthly usage of GB ADSL download and suggests the correct plan and price based on Aussie Broadband plans as of Feb 2018.





ความคิดเห็น


SUBSCRIBE 

Feel free to subscribe to the site. 

This site is a collection of resources that I have developed to teach various courses, but specifically VCE Software development. I have uploaded it in the spirit of collaboration and hope that someone finds it useful. 

© 2018 Swift for VCE Software Development

 Proudly created with Wix.com

bottom of page