Andy ChouDon’t give up and use suppressImplicitAnyIndexErrorsPreserve type safety with a simple helper functionJan 9, 20193Jan 9, 20193
Andy ChouUsing TypeScript to statically check exhaustive destructuringTypeScript 2.8 added the Required<T> type, which can provide static exhaustiveness checking when destructuring objects. Here’s how.Jun 11, 2018Jun 11, 2018
Andy ChouRxSwift: share vs replay vs shareReplayA common beginner error with Rx is forgetting that each subscription to an observable re-executes the chain of operators:Jan 11, 20173Jan 11, 20173
Andy ChouOne Weird Trick to Fix Autocomplete in XcodeHere’s the problem: your project compiles fine, but autocomplete always seems to have this issue:Oct 13, 20163Oct 13, 20163
Andy ChouMaking a playground using RxSwiftNote: Updated on 3/10/2017 to use Xcode 8.2.1 and CocoaPods 1.2.0.May 24, 201612May 24, 201612
Andy ChouNewbie Xcode Tips: Projects and TargetsXcode is Apple’s Integrated Development Environment (IDE) for developing iOS and Mac apps. The main languages supported are Swift and…Apr 7, 2016Apr 7, 2016