Use of string literal for Objective-C selectors is deprecated, use '#selector' instead : <p>I have the following code:</p>

<pre><code>func setupShortcutItems(launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
    var shouldPerformAdditionalDelegateHandling: Bool = false

    if (UIApplicationShortcutItem.respondsToSelector("new")) {
        self.configDynamicShortcutItems()

        // If a shortcut was launched, display its information and take the appropriate action
        if let shortcutItem: UIApplicationShortcutItem = launchOptions?[UIApplicationLaunchOptionsShortcutItemKey] as? UIApplicationShortcutItem {
            // When the app launched at the first time, this block can not called.
            self.handleShortCutItem(shortcutItem)

            // This will block "performActionForShortcutItem:completionHandler" from being called.
            shouldPerformAdditionalDelegateHandling = false
        } else {
            // normal app launch process without quick action
            self.launchWithoutQuickAction()
        }
    } else {
        // Less than iOS9 or later
        self.launchWithoutQuickAction()
    }

    return shouldPerformAdditionalDelegateHandling
}
</code></pre>

<p>I get the following "warning" on <code>UIApplicationShortcutItem.respondsToSelector("new")</code>, which says:</p>

<blockquote>
  <p>Use of string literal for Objective-c selectors is deprecated, use '#selector' instead</p>
</blockquote>

<p>The warning replaces the code automatically with:</p>

<p><code>UIApplicationShortcutItem.respondsToSelector(#selector(FBSDKAccessToken.new))</code></p>

<p>However this doesn't compile because <code>new()</code> is unavailabe.
What am I supposed to use in this case?</p>
