rewrite PNDAppDelegate.[h|m] as AppDelegate.swift