Nostalgic error screen for iOS.
To install Carthage, run (using Homebrew):
$ brew update
$ brew install carthage
Then add the following line to your Cartfile
:
github "alexdrone/GuruMeditation" "master"
TODO
All the source code is in a single file.
#Usage
import GuruMeditation
...
// Simple warning message.
Guru.warning("Your error message goes here.")
// Completion when the error screen get dismissed.
Guru.warning("Your error message goes here.") {
//do something.
}
// Includes the stack trace in the warning screen.
Guru.warning("Your error message goes here.", includeStack: true)
// Crashes the application after the user tap the screen.
Guru.error("Error message.")