InBetter ProgrammingbyAndrea Prearo·Jan 3, 2022Model Separation: Parsing With Codable and Persisting With Core DataSeparate the domain model from the persistence model in Core Data for better testabilityA response icon1A response icon1
Andrea Prearo·Jul 13, 2020Multi-platform mobile networking libraries with KtorRead the full story on Granular Engineering:
Andrea Prearo·Sep 25, 2018Programmatic 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…A response icon1A response icon1
Andrea Prearo·May 7, 2018Working 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:A response icon15A response icon15
InCapital One TechbyAndrea Prearo·Jan 11, 2018An 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?A response icon4A response icon4
InCapital One TechbyAndrea Prearo·Jul 5, 2017Generic 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…A response icon10A response icon10
InCapital One TechbyAndrea Prearo·Apr 3, 2017Boost 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…A response icon2A response icon2
InCapital One TechbyAndrea Prearo·Jan 25, 2017Smooth 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…A response icon17A response icon17
InCapital One TechbyAndrea Prearo·Jul 14, 2016Reference 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…A response icon1A response icon1
Andrea Prearo·Jun 1, 2016JSON 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…