Assignment 2 –iOS Application Multiscreen App
Tri Semester 3, 2019
Due Date: Sunday 9 February 2020, 11 pm
This assignment will test your iOS development skills and is worth 10% of your overall unit mark.
This is an individual assignment.
This assignment requires you to develop a simple iOS application that uses iOS model view controller architecture. To write the application you will need to use the Swift 3 or latest version.
Your application must perform all tasks listed in this document, and can run on a physical iOS device or simulator.
I highly recommend that you familiarise yourself with what is and what is not considered plagiarism, but I'll summarise the key aspects below:
• Do NOT share code with fellow students’. If we find two projects with identical code, all students involved get zero for the assignment.
• You may, and are in fact encouraged to, discuss the project with your fellow students. The goal being that you understand how to create good, high-quality iOS applications – and that understanding then flows into the exams where you'll be asked questions on iOS application development. Just don't share projects/code – code it yourself, learn from your mistakes, and become a great developer.
You are required to create a multiscreen iOS app that will offer two features as the following:
(i) An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours plus any overtime pay. Overtime pay equals the total overtime hours multiplied by 1.5 times the hourly wage. Write an app that takes as inputs the hourly wage, total regular hours, and total overtime hours and displays an employee’s total weekly pay.
(ii) Write a program that accepts the lengths of three sides of a triangle as inputs. The program output should indicate the type of a triangle – Equilateral triangle, Isosceles triangle or Scalene Triangle.
The main screen (activity) of the app. must provide a method to select one of the two apps offered. You can use two buttons or two images to offer the selection.
The app must have,
- Multiscreen using View Controllers
- MVC paradigm
Write a page report (not more than one page) on the following question:
1. Discuss how UIViewController and UINavigationController are used in your assignment.
You may provide figures and code snippets to answer the above question. All code snippets must be commented.
Assignment 2 – Application with multiple screens
Student name: Student ID:
Requirement Weight Mark
Multiscreen app with two functionality – Weekly Pay Calculator and Triangle Tester 20
Correct usage of view controller and navigation controller.
A brief report on how view controller and navigation controller are used 5
Correct layout 4
Correct usage of defining labels, text and buttons etc – proper naming conventions 3
Proper comments 3
Demonstration in Week 12 Lab 5
Assignment mark total / 50
Contribution to unit mark (out of 10%) %