Varindra HartBuilding a Filter with Swift 4 KeyPathsRecently I worked with a coworker who was trying to apply filters to an observable stream of database objects. While the proposed code…Jun 11, 2018Jun 11, 2018
Varindra HartSelf Sizing TableView CellsI was recently asked about self-sizing tableview cells (cells that grow based on their content) by some junior iOS devs and realized that…Apr 11, 20183Apr 11, 20183
Varindra HartA Swift walk through type erasureIf you’re writing Swift then chances are you’ve heard about type erasure. Maybe you’re even using it. But there’s a chance that even if you…Aug 29, 2017Aug 29, 2017
Varindra HartRendering Code As Styled Static TextI’ve been working on and off with a couple of friends on a pet project of mine called Interview Flash Cards (IFC for short), designed to be…Jan 11, 20172Jan 11, 20172
Varindra HartProtocols, Generics, and Existential Containers — Wait What?For the longest time now, I thought that the two functions above were the same.Nov 28, 20162Nov 28, 20162
Varindra HartHex to UIColorLast night I was trying to figure out how I could keep track of colors for a color palette when making an app. If you use a handy color…Oct 18, 20161Oct 18, 20161
Varindra HartRead Write and Delete — File Handling from XCode Playground2/11/18: Updated to Swift 4 / Full Playground code at the bottomSep 29, 20166Sep 29, 20166
Varindra HartUnderstanding Dependency Injection with SwiftBefore jumping into its application, let’s cover some basic concepts and terminology.Jul 25, 20162Jul 25, 20162