Avi Tsadok

15 Flips | 1 Magazine | 16 Likes | 11 Following | 7 Followers | @avitsadok | Keep up with Avi Tsadok on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Avi Tsadok”

Confirmed: A Huge Gravitational Wave Announcement Is Happening

What a time to be alive.<p><b>Update 27/09/17:</b> The biggest rumour did not pan out, but the LIGO team announced something just as amazing - the most …

Unit Testing — UITableView

The most common way to show data to users is using some kind of endless tables like Instagram’s feed, Facebook’s timeline, WhatsApp’s messages and …

Swift Completion Handler FAQs

Completion handlers can be a bit tough to wrap your head around when you first encounter them. Here are a few of the most frequently asked questions …

Implementing a Tiles View in React Native (a la iOS)

I recently had a react-native project where a certain screen had the following requirements:<p>This was one occasion where flex was clearly not enough, …

Immutable models and data consistency in our iOS App

Wendy Lu | Pinterest engineer, Core Experience<p>Earlier this year, we re-architected our iOS app for a faster, cleaner experience, especially for the …

Cross-Platform mobile development with Swift

TL;DR, flip to the bottom for links…<p>Recently I was asked to evaluate SCADE, which is a new IDE, one that has an intriguing value proposition:<p>write …

Optimizing Collections in Swift

This repository contains the sample code from the book Optimizing Collections.<p>In this book, we show how to write very efficient Swift collection …

Writing High-Performance Swift Code

Enabling Optimizations<p>Whole Module Optimizations<p>Reducing Dynamic Dispatch<p>Dynamic Dispatch<br>• Advice: Use 'final' when you know the declaration does not …

iOS Unit Testing and UI Testing Tutorial

Make better apps by using iOS Unit Testing!Writing tests isn’t glamorous, but since tests can keep your sparkling app from turning into a bug-ridden …

Build Log Groveling for Fun and Profit: Manual Swift Continued

Manual Swift: Understanding the Swift/Objective-C Build Pipeline walked you through the high-level view of how Objective-C gets access to Swift …

Improving Swift compile times

For all its awesomeness, one thing that can sometimes be quite cumbersome when working with Swift on a bit larger scale is how long it can <i>currently</i> …

Swift Capture List in Closures

Greeting<p>Welcome back my lovely readers. It’s nice to see you here. Recently, I’ve been writing closure related topics including <i>completion handler</i> and</i> …

Swift: Why You Shouldn’t Use Default Implementations in Protocols

I’m currently doing a very big refactor of try! Swift Data now that the Tokyo conference is over and I have time to repay some technical debt. As …

Testing Swift code that uses system singletons in 3 easy steps

Most apps written for any of Apple’s platforms rely on APIs that are singleton based. From <i>UIScreen</i> to <i>UIApplication</i> to <i>NSDate</i>, static APIs are …