Andrea PrearoinBetter ProgrammingModel Separation: Parsing With Codable and Persisting With Core DataSeparate the domain model from the persistence model in Core Data for better testabilityJan 3, 20221Jan 3, 20221
Andrea PrearoMulti-platform mobile networking libraries with KtorRead the full story on Granular Engineering:Jul 13, 2020Jul 13, 2020
Andrea PrearoProgrammatic Views in Swift: Parallax and ScaleAfter using Storyboards for many years, I recently decided to switch to Programmatic Views and Programmatic Autolayout for my personal…Sep 25, 20181Sep 25, 20181
Andrea PrearoWorking with Codable and Core DataRecently, I have been working on implementing a caching mechanism for an iOS app. In order to achieve that, I set the following goals:May 7, 201815May 7, 201815
Andrea PrearoinCapital One TechAn Alternative to Type Erasure for Generic ProtocolsCan a technique called Type Wrapping help when iterating over a number of objects conforming to the same protocol with associated type?Jan 11, 20184Jan 11, 20184
Andrea PrearoinCapital One TechGeneric Data Sources in SwiftIn the vast majority of iOS apps I’ve been working on, table views and collection views have been the most commonly used UI components. As…Jul 5, 201710Jul 5, 201710
Andrea PrearoinCapital One TechBoost Smooth Scrolling with iOS 10 Pre-Fetching APIIn a previous post, we explored some common strategies to achieve smooth scrolling in our iOS mobile apps. The main goal of applying those…Apr 3, 20172Apr 3, 20172
Andrea PrearoinCapital One TechSmooth Scrolling in UITableView and UICollectionViewAs most iOS developers know, displaying sets of data is a rather common task in building a mobile app. Apple’s SDK provides two components…Jan 25, 201717Jan 25, 201717
Andrea PrearoinCapital One TechReference and Value Types in SwiftIn this post we are going to examine the differences between reference and value types. We’ll introduce both concepts, take a look at their…Jul 14, 20161Jul 14, 20161
Andrea PrearoJSON parsing in Swift — Part II: a functional approach to JSON parsingIn this second part of the article we will continue the discussion started in Part I and examine the remaining steps to implement the…Jun 1, 2016Jun 1, 2016