     }
   }
   
-  func cancel() {
+  public func cancel() {
     
     if timer != nil {
       dispatch_source_cancel(timer!)
     }
   }
   
-  func pause() {
+  public func pause() {
     paused = true
   }
 }

 A protocol that groups methods and properties for objects that wants to fire and handle time events.
 
 */
protocol TimerManagerType {
  
  /// The gap between executions in seconds.
  var interval: Double { get }

  ````
*/

public class Timer {
  
  private var manager: TimerManagerType?
  
