     }
 
     var trackingArea: NSTrackingArea?
-    public func pushCursor(name: String) {
+    public func pushCursor(name: NSString) {
         getNamedCursor(name).push()
     }
 

public protocol NativeExport: JSExport {
    func save()
    
    func pushCursor(name: String)
    func popCursor()

    func showConsole()

        NSCursor.pop()
    }

    func getNamedCursor(name: NSString) -> NSCursor {
        switch (name) {
        case "default": return NSCursor.arrowCursor()
        case "context-menu": return NSCursor.contextualMenuCursor()
