     case fileExtension, fileNotFound
 }
 
+extension NSNotification.Name {
+    
+    public static let SoundDidFinishPlayingNotification : Notification.Name = Notification.Name.init("SoundDidFinishPlayingNotification")
+
+}
 public class AudioPlayer: NSObject {
 
-    public static let SoundDidFinishPlayingNotification = Notification.Name(rawValue: "SoundDidFinishPlayingNotification")
     public static let SoundDidFinishPlayingSuccessfully = "success"
     public typealias SoundDidFinishCompletion = (_ didFinish: Bool) -> Void
 

        }

        let success = [ AudioPlayer.SoundDidFinishPlayingSuccessfully: flag ]
        NotificationCenter.default.post(name: AudioPlayer.SoundDidFinishPlayingNotification, object: self, userInfo: success)
    }

}

// AudioPlayer.swift
//
// Copyright (c) 2016 Tom Baranes
//
