Calling toast repeatedly causes the application to crash
Calling toast repeatedly causes the application to crash

This checks if the object is an NSTimer before casting it as calling toast repeatedly sometime causes the function to result a nil value.
Rannie/Toast-Swift,zhouguangjie/Toast-Swift,zhouguangjie/Toast-Swift,alambel/Toast-Swift,alambel/Toast-Swift,Rannie/Toast-Swift