Schedule‎ > ‎

Welcome back! Tip Calculator

Presentation: 

We're making an introductory app to calculate tips at a restaurant to get started with the fall semester. You can view the slides for this demo here. The code for the demo portion is available on Github.

You will learn: 

  • Outlets: when you control + drag from a user interface element to the header code, between the @interface and the @end, you are creating an outlet. This allows you to access that element in your code. 
  • Actions: when you control + drag from a user interface element to the implementation code, between the @implementation and the @end, you are creating an action. This creates a function which will be called when the user interacts with that user interface element in a particular way. 

Things to come... Recommended Reading: