
Set up the iPhone storyboard for a note taker app by using a navigation controller and a notes table, then add a notes screen with a plus button and segue.
Build an add note view with title and note fields, dismiss keyboard, validate input, and connect a table view controller and adding new controller in the storyboard.
Define a note model class with title, content, and created date, manage a notes array to drive the table view, add and delete notes.
Learn to display a notes array in a table view by updating number of sections and rows, using a subtitle prototype cell to show note title and formatted created date.
Learn to add notes with a new controller, validate title and text with an alert controller, and use a delegate to pass the note back and refresh the notes list.
Learn how to save and delete notes to a plist in the documents directory, using a flattened array of strings, date formatting, and file manager checks.
Note Taker Application Source Code
Create a simple calculator user interface in storyboard, arrange digit and operator buttons, adjust fonts and symbols, and wire the display outlet and digit/operator actions in the view controller.
Learn to implement an iOS calculator with display and operations, handling digit entry, decimal points, and binary/unary operations (plus, minus, multiply, divide, square, square root), plus clear and equals.
Explore building an Apple Watch calculator and compare it to iPhone layouts, focusing on differences in interface constraints and button events without sender, using horizontal groups to arrange the keypad.
Implement digit entry for a calculator on a watch kit using a backing display string linked to a WKInterfaceLabel. Prevent multiple decimal points and keep the display synchronized.
Set up operator keys and implement equals to compute operand one and two from the display. Show the result on the watch calculator and handle clear behavior for repeated equals.
Develop a memory game UI by drawing a colorful pie chart with up to 10 randomized color slices, handling user taps and a dynamic prompt while converting degrees to radians.
Draws the view by computing the center, radius, and slice angles, fills arcs with a bezier path and random red, green, and blue colors, rendering multiple slices that refresh.
Derive the view bias by highlighting selected slices, generate a random tune from nine tones, play the sequence with timers, and compare user input to the generated tune.
Explore how a circular tune game maps single taps to slices, generates tones from a pool, plays notes, and compares user input with the target tune.
Storyboard setup guides building a converter app with a table view of conversions, a plus button to add new ones, and segues to a convert screen for from-to input.
Set up a model with a conversions dictionary and wire it to a table view that lists keys like meters to feet, while handling segues for adding and converting values.
Learn to implement an adding controller with a delegate, pass new conversions (from unit, to unit, factor) to the root view, validate input via alerts, and refresh the table view.
Save simple app data with a list by writing a dictionary of conversions to a plist via the file manager in the documents directory, with add and delete functionality.
Explore building a calculator with a stack data structure implemented as a linked list of nodes, using push and pop to evaluate expressions and handle binary and unary operations.
This lecture introduces the first stack implementation for a calculator, defining a node with double data and next and a top pointer to support push and pop.
The lecture explains the calculator view controller, using a stack and an operator stack to manage digits and operations, with states like cleared and digit entry, and left-to-right evaluation.
Explore SKView setup in SpriteKit by building a one-player pong game for iPhone, replacing storyboard, presenting the main scene, and enabling live diagnostics like fps and node count.
Set up the main SpriteKit scene with a physics contact delegate, and initialize the ball with position and impulse, plus category masks for ball, paddle, wall, and miss detector.
Set up the SKScene with zero gravity, place the paddle, ball, and detectors, enable a non-dynamic paddle with an edge loop, and drive the paddle with touches moved.
Detect collisions by examining physics contact between ball, paddle, and miss detector via body, bodyB, and category masks, then raise difficulty with velocity and paddle size while tracking high scores.
In these sessions, we'll cover the techniques of app development, starting with some simple apps and working our way up to more complex techniques.
In each session, we'll focus on a specific area of mobile app design and development by coding our way through a single example application. Some of the topics we'll cover:
- Using tables and tabs correctly
- managing storyboards
- Saving data to plists and external sources
- Handling multiple controls with single functions
- Sprite based animation techniques
- much more….
We'll build several apps together, including a simple note taker, a few different kinds of calculator, a couple of games, a simple memo systems with voice recording and playback, etc.
We'll even look at how to develop code for the Apple Watch.
This is the next logical step after an introduction to iPhone development.
Insight on some of our Exciting Applications
Notetaker: Keep track of important information in this simple table view application.
Calculator part 1: It adds! It subtracts! It's an arithmetical genius! Learn about simple state management while taking the square root of 2!
Watch calculator: Just what you've been waiting for… a calculator on your wrist! How to translate the calculator concept to the Apple Watch.
Memory game: It has flashy lights and hideous sound, but can you remember the order to push the buttons? We'll learn how to keep track of a sequence of events, and compare it to the user's memory.
English metric conversion: Just because the rest of the world has moved on, doesn't mean you have to! Simple conversions in a tab-based app.
Calculator, part 2: keeps tracks of expressions as they're entered, then solves them. We might even do some math here! Learn a bit about expression parsing with this algebraic calculator.
Mini pong: A one player pong. That's right… you don't need an Atari or even a TV… just an iPhone! We'll explore SpriteKit in this bast from the past.
Join us for the course, and unlock your full potential!