From 98ab1710022d7f0450f56bb4acd2d54b3f140513 Mon Sep 17 00:00:00 2001 From: akiroz Date: Wed, 9 May 2018 10:46:50 +0800 Subject: [PATCH] Fix internal init --- Excitation/Excitation.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Excitation/Excitation.swift b/Excitation/Excitation.swift index d286dcb..351c664 100644 --- a/Excitation/Excitation.swift +++ b/Excitation/Excitation.swift @@ -34,6 +34,8 @@ public class Emitter { let nc = NotificationCenter() let nn = Notification.Name("ExcitationEvent") var obRef = [ObjectIdentifier: Observer]() + + public init() {} public func emit() { nc.post(name: nn, object: nil)