By making the String type conform to the Error protocol, we can throw errors with no overhead. Later, we can remove this String extension and get help from the compiler with adding real error types.
Check out Swift Talk for more in-depth videos: https://talk.objc.io
In questa pagina del sito puoi guardare il video online Easy Errors della durata di ore minuti seconda in buona qualità , che l'utente ha caricato objc.io 21 marzo 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,258 volte e gli è piaciuto 24 spettatori. Buona visione!