Thought I was going nuts for a second. But it’s now part of NSNotification.Name in swift 3.
TLDR: Just put a dot (period) in front of the name.
NotificationCenter.default.addObserver(self, selector: #selector(refresh), name: .UIApplicationWillEnterForeground, object: nil)