April 2015
Intermediate to advanced
556 pages
17h 47m
English
Add error handling to courseFromDictionary(_:)
(as discussed in the section called “Safely Working with Untyped Data Structures”
)
such that it returns nil if any of the fields or structure
are not as expected. Test the failure modes by changing the
key strings in the code.
Read now
Unlock full access