Andy Chou·Jan 9, 2019Don’t give up and use suppressImplicitAnyIndexErrorsPreserve type safety with a simple helper functionA response icon3A response icon3
Andy Chou·Jun 11, 2018Using 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.
Andy Chou·Jan 11, 2017RxSwift: share vs replay vs shareReplayA common beginner error with Rx is forgetting that each subscription to an observable re-executes the chain of operators:A response icon3A response icon3
Andy Chou·Oct 13, 2016One Weird Trick to Fix Autocomplete in XcodeHere’s the problem: your project compiles fine, but autocomplete always seems to have this issue:A response icon3A response icon3
Andy Chou·May 24, 2016Making a playground using RxSwiftNote: Updated on 3/10/2017 to use Xcode 8.2.1 and CocoaPods 1.2.0.A response icon12A response icon12
Andy Chou·Apr 7, 2016Newbie 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…