O'Reilly logo

Swift Programming: The Big Nerd Ranch Guide by John Gallagher, Matthew Mathias

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

Bronze Challenge

The idea of asset ownership by a Person is incomplete. Person has a way to take ownership of an asset, but no way to give up ownership of an asset. Update Person so that an instance can relinquish an asset. (Hint: You will probably need to update Accountant, too, if you want a valid net worth value.)

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