Course contentsShow
← Swift
Lesson 300 of 1,9104. Protocols and Protocol-Oriented ProgrammingFree lesson

Mutating State within Protocols

Apply the mutating keyword to allow value types to update state through protocol methods.

Writing your lesson…