Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

alexdrone/GuruMeditation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#GuruMeditation Swift Carthage compatible Platform License

Nostalgic error screen for iOS.

error

error

Installation

Carthage

To install Carthage, run (using Homebrew):

$ brew update
$ brew install carthage	

Then add the following line to your Cartfile:

github "alexdrone/GuruMeditation" "master"    

CocoaPods

TODO

Manually

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.")