Andrea PrearoinBetter ProgrammingModel Separation: Parsing With Codable and Persisting With Core DataSeparate the domain model from the persistence model in Core Data for better testability4 min read·Jan 3, 2022--1--1
Andrea PrearoMulti-platform mobile networking libraries with KtorRead the full story on Granular Engineering:1 min read·Jul 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…5 min read·Sep 25, 2018--1--1
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:5 min read·May 7, 2018--15--15
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?7 min read·Jan 11, 2018--4--4
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…11 min read·Jul 5, 2017--10--10
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…8 min read·Apr 3, 2017----
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…6 min read·Jan 25, 2017--17--17
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…10 min read·Jul 14, 2016----
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…6 min read·Jun 1, 2016----