i following tutorial (https://www.youtube.com/watch?v=cpanieebe2m) implement facebook login. did exact same thing , checked twice, error while compiling doesn't get.
in appdelegate.swift:
func application(application: uiapplication, didfinishlaunchingwithoptions launchoptions: [nsobject: anyobject]?) -> bool { // override point customization after application launch. func application(application: uiapplication, didfinishlaunchingwithoptions launchoptions: [nsobject: anyobject]?) -> bool { // override point customization after application launch. return fbsdkapplicationdelegate.sharedinstance().application(application, didfinishlaunchingwithoptions: launchoptions) } func application(application: uiapplication, openurl url: nsurl, sourceapplication: string?, annotation: anyobject?) -> bool { return fbsdkapplicationdelegate.sharedinstance().application(application, openurl: url, sourceapplication: sourceapplication, annotation: annotation) } and error second function: definition conflicts previous value, expected declaration.
i hope understands error here, thanks.
Comments
Post a Comment