O'Reilly logo

Cocoa Programming for OS X: The Big Nerd Ranch Guide by Aaron Hillegass, Adam Preble, Nate Chandler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Challenge: Safe Landing

Your investors have pointed out that rockets are expensive and letting them plummet to the ground does not enhance reusability. Enhance the Rocket class to deploy a parachute in order to slow its descent once it is descending (i.e., shows negative velocity on the Y axis) and reaches a certain altitude.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required