compactMap and flatMap: Clean Up Optionals and Crashes!

Profile Picture
- Published on Apr 8, 2019馃審 Public

Both of these functions are super useful for reducing the nil checking in your programs. In this lesson I'll go over a couple of examples as to how and when to effectively integrate these functions into the logic of your applications. Enjoy. AppStore JSON APIs Tinder Firestore Swipe and Match Twitter Slide Out Menu Course Podcasts Course Intermediate Training Core Data Instagram Firebase Course Facebook Group Completed Source Code Instagram: Twitter: Hackintosh Build i9 9900k: ASUS Z390 Motherboard: 16GB Corsair Vengeance RGB RAM: Corsair H100i Platinum Water Cooler: Thermaltake RGB Power Supply: Intel 1TB SSD: Corsair 280x Computer Case: AMD Radeon 4GB RAM GFX Card: LG 34" Widescreen 3440 x 1440: Rode NT1 Microphone: Focusrite Audio Interface: Panasonic GH4 DSLR: Magewell HDMI to USB3 Capture Card: