Skip to content

iOSLabUNAM/extensions-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Extensions exercises

First Challenge

You made the Department type conform to the CustomStringConvertible protocol. Refactor the type to move CustomStringConvertible conformance into an extension.

Second Challenge

Give the Int type a nested enum with cases even and odd. Also give Int a property of that type to correctly report whether an integer is even or odd.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages