You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
Hi there, just noticed something while I was setting up the code in Swift.
I think the snippet should be rewritten like this in order to compile:
FBNotificationsManager.shared().presentPushCard(forRemoteNotificationPayload: userInfo, from:nil){ viewController, error in
if let _ = error {completionHandler(.failed)}else{completionHandler(.newData)}}
Thanks!
The text was updated successfully, but these errors were encountered:
alexbredy
changed the title
Small error in Swift getting started snippet
Update Swift getting started snipped
Apr 6, 2017
alexbredy
changed the title
Update Swift getting started snipped
Swift getting started snippet
Apr 6, 2017
Hi there, just noticed something while I was setting up the code in Swift.
I think the snippet should be rewritten like this in order to compile:
Thanks!
The text was updated successfully, but these errors were encountered: