Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iosbrain authored Mar 29, 2018
1 parent 9c099b2 commit d116ec0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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][logo1]

[logo1]: http://iosbrain.com/wp-content/uploads/2018/03/Extend-UIView.gif "Customizing UIView with protocols"


0 comments on commit d116ec0

Please sign in to comment.