Blog Archives

Android Don’t Catch Generic Exception

Sometimes it is tempting to be lazy when catching exceptions and do something like this: try { someComplicatedIOFunction(); // may throw IOException someComplicatedParsingFunction(); // may throw ParsingException someComplicatedSecurityFunction(); // may throw SecurityException // phew, made it all the way }

Posted in Android, Tips and Tricks Tagged with: ,

Xcode Terminating App Due To Uncaught Exception ‘NSUnknownKeyException’

When running iOS in Xcode you might run into this error: Terminating App Due To Uncaught Exception ‘NSUnknownKeyException’ To fix this go to iOS Simulator > Reset Content and Setting

Posted in ErrorFix, Mac Tagged with: , ,