Module Outline
Use the following resources and work with your mentor to master the objectives for this module. Practice by completing the Mini-Project, Project, and Challenges.
Required Preclass Resources
Lesson Video
Preclass Videos
-
iOS Cohort - Andrew Madsen
Reference Counting
-
iOS Cohort - Andrew Madsen
Retain Cycles
Video Challenges
Stretch Problem
- Make a new Objective-C Project
- Write a method that prints the highest number in an array (that is stored as a property).
- Change your method to take an array as a parameter and return the highest number. Once you do this, you can comment out your property and just make an array to use.
- Solution
Obj-C Highest Number in an Array
♦ Black Diamond
Modify your function so it also prints out the second highest number in the array.
Guided Project
Contacts
Contacts is a MRC Objective-C app so students can practice their understanding of reference counting concepts.
Project
-
Rover
Students will practice writing in Objective-C by building an app that allows a user to browse images provided by the NASA Mars Rover API. This app requires students to use concepts and APIs they already know, including MVC, table and collection views, custom model objects, property "observers", NSNotifications, NSURLSession, JSON parsing, etc.
ReadMe
Mastery Review
Module 34 - Memory Management in Objective-C and Swift
- Obj-C Highest Number in an Array stretch problem
- Challenges
- Contacts guided project