Awesome Lists

Swift2-Protocol-Extension-Example

by jhurray

Swiftpushed over 10 years ago

Playground showing how to use swift2 protocol extensions to render errors in UIViews and UIViewControllers without subclassing

AI summary

Error handling

This project demonstrates how to use Swift 2 protocol extensions to handle errors in user interface components without subclassing or creating separate classes.

stars
37
forks
3
watching
4
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/jhurray/Swift2-Protocol-Extension-Example/links.svg)](https://awesome.facts.dev/awesome/jhurray/Swift2-Protocol-Extension-Example)
HTML
<a href="https://awesome.facts.dev/awesome/jhurray/Swift2-Protocol-Extension-Example"><img src="https://awesome.facts.dev/shield/jhurray/Swift2-Protocol-Extension-Example/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/jhurray/Swift2-Protocol-Extension-Example/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.