Skip to content

iosbrain/Protocol-Oriented-Programming-in-Swift-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protocol Oriented Programming in Swift - Part 2 of 2

Here's an Xcode 9 project written in Swift 4 that demonstrates protocol oriented programming and reference semantics.

I show you how to extend or enhance -- whichever term you prefer -- the UIView classe from UIKit using protocols.

The brevity of the code proves the power of protocols.

Here's what the app looks like:

alt text

Releases

No releases published

Packages

No packages published

Languages