How to fix return error Bool with Parse?

0

When I compile the code that the parse asks to put in the appdelegate.swift it appears "return in function to return Bool" but when I put return true, it happens more than 30 errors and it still does not work, it follows the appdelegate code: / p>

import UIKit

import Parse

import Bolts

@UIApplicationMain

class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

        Parse.enableLocalDatastore()

        // Initialize Parse.

        Parse.setApplicationId("xxxxxxxxxxxxxxxxxxxj",

        clientKey: "xxxxxxxxxxxxxx")

        PFAnalytics.trackAppOpenedWithLaunchOptions(launchOptions)

        return true

}
    
asked by anonymous 24.02.2016 / 21:27

0 answers