Sunday, July 16, 2017

How to Make a Custom Segmented Control (iOS, Xcode 8, Swift 3)

If you watch this video and want to implement this custom segmented control then there are two changes you should make for it work better:

1. Change to sv.distribution = .fillEqually (instead of using .fillProportionally)

2. Add `updateView()` to the draw function



Some of my subscribers pointed out these better ways. Thanks!



3 Methods of Masking Images (iOS, Xcode 8, Swift 3)

Mask images the easy way. And one way that's not too easy but allows shadows on your masked images.



SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...