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.

Lesson Video

Preclass Videos

Video Challenges

Stretch Problem

    Obj-C Highest Number in an Array

    1. Make a new Objective-C Project
    2. Write a method that prints the highest number in an array (that is stored as a property).
    3. 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.

    ♦ Black Diamond

    Modify your function so it also prints out the second highest number in the array.

  • Solution

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
  • Expand all
  • Collapse all
  • Obj-C Highest Number in an Array stretch problem
  • Challenges
  • Contacts guided project