Empower Apps

Handling Errors Correctly with Jeff Kelley


Listen Later

Guest

  • Jeff Kelley (Twitter @SlaunchaMan)

Related Episodes

  • Episode 35: SwiftUI - The Good, the Bad, and the Benefits
  • Episode 18: WWDC 2019 - Apple Watch with Gary Sabo
  • Episode 15: Test-Driven Development with Joshua Greene and Michael Katz

Related Links

  • Jeff's talk from Code Mash - Taking Control of Errors in Swift
  • How To Test fatalError In Swift by Marco Santa
  • A guide to Charles Proxy by Nelida Velazquez
  • Running Real Tests on watchOS - Jeff Kelley
  • Leo's sample code for testing for fatalError

Sponsors

BrightDigit

  • Specialize in helping businesses build apps for iPhone, iPad, Mac and Apple Watch
  • 10 years of experience developing for a variety of Apple platform
  • Helping dev shops which lack experience with Apple platforms and Swift

Contact me if you need help today.


We have an opening for sponsors

  • Do you have a product or service which can target our ever growing community of developers as well as technology and business leaders? 

Contact me today if you are interested in sponsoring or go to our Patreon page.

What is special about errors in Swift 

  • The history of Objective-C and Swift errors
  • The strong-typed nature of Swift
  • fatalError vs assert vs precondition
  • How to test fatalError in unit tests

What are some ways to handle errors?

  • User initiated errors and dialogs
  • Chaining logging and error tracking
  • Differentiating release and debug build
  • Using proxy server to listen to requests in debug
  • When to purposely crash with fatalError
  • Dealing with asynchronous callbacks and Combine
  • What is the Never type?
  • Dealing with permission prompts like HealthKit

What can teams do to design and develop for errors

  • Use a service to track errors for developers
  • Showing the user the correct information
  • Dealing with issues which aren't errors
  • Designers should show how errors are handled
  • Design the write localized messages for errors
  • With agile development, make sure each error path is handled in your story card

Social Media

Email
[email protected]

Twitter
BrightDigit - @brightdigit
Leo - @leogdion

LinkedIn
BrightDigit
Leo

Instagram - @brightdigit
Patreon - empowerappshow

Credits

Music from https://filmmusic.io
"Blippy Trance" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)


Thanks to our monthly supporters
  • Edward Sanchez
  • Steven Lipton
  • ★ Support this podcast on Patreon ★
    ...more
    View all episodesView all episodes
    Download on the App Store

    Empower AppsBy Leo Dion, Principal CEO and Swift Developer at BrightDigit

    • 5
    • 5
    • 5
    • 5
    • 5

    5

    14 ratings


    More shows like Empower Apps

    View all
    Accidental Tech Podcast by Marco Arment, Casey Liss, John Siracusa

    Accidental Tech Podcast

    2,092 Listeners

    Under the Radar by Relay

    Under the Radar

    210 Listeners

    Swift over Coffee by Paul Hudson and Mikaela Caron

    Swift over Coffee

    168 Listeners

    Compile Swift Podcast by Peter Witham

    Compile Swift Podcast

    24 Listeners

    Swift Package Indexing by Dave Verwer and Sven A. Schmidt

    Swift Package Indexing

    7 Listeners