Dillon Codes

HomeAboutBadges
Blog Author Picture

Dillon McElhinney

6 followers

I'm Dillon and I like to code. I code for work, I code for fun, I read about code and I think about code. I share some of that code here and I do my best to share the lessons I learn along the way.

iOS View Communication

Jan 25, 202125 min read

https://youtu.be/HRAO9qitgq8 I have gotten a few questions about my recent article on How I Organize Layout Code in Swift, so I thought I would follow up on that and address a couple of the common ones. In this article we're going to look at some exa...

Sorting in Swift

Jan 18, 202114 min read

https://youtu.be/Jtb_f5EY2DY Sometimes you have a collection of elements that are not in the order that you need them. Fortunately, Swift gives us an easy way to get them from that chaotic state into an ordered state. In this article we're going to l...

How I Organize Layout Code In Swift

Jan 11, 202116 min read

https://youtu.be/gZSayiwa5Ao I was asked the other day how I organize my layout code when I am building my UI programmatically using UIKit. In this post I will walk through a variety of things that I have tried over time and end with what my typical ...

The Delegate Pattern In Swift

Dec 31, 202017 min read

https://youtu.be/UIlQ_FHCx_8 Intro Delegation is a commonly used pattern in Apple's frameworks, but I find that many people have a hard time wrapping their heads around it when they are first learning iOS development. And it is no wonder because the ...

Algorithms in Swift - Binary v. Simple Search

Nov 30, 202016 min read

I know algorithms often feel like an academic topic – something for nerds in computer science classes. They can be intimidating because their explanations and examples tend to be math-heavy and there is a lot of hard-to-decipher jargon out there abou...

© 2021 Dillon Codes

PrivacyTerms
Proudly part of