Last active
August 29, 2015 14:18
-
-
Save l4u/98e3d3f73e1823dd14ff to your computer and use it in GitHub Desktop.
Facebook-iOS-SDK v4 swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions) | |
} | |
func applicationDidBecomeActive(application: UIApplication) { | |
FBSDKAppEvents.activateApp() | |
} | |
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool { | |
return FBSDKApplicationDelegate.sharedInstance() .application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <FBSDKCoreKit/FBSDKCoreKit.h> | |
#import <FBSDKLoginKit/FBSDKLoginKit.h> | |
#import <FBSDKShareKit/FBSDKShareKit.h> | |
#import <Parse/Parse.h> | |
#import <ParseFacebookUtilsV4/PFFacebookUtils.h> | |
#import <ParseUI/ParseUI.h> | |
#import <Bolts/Bolts.h> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment