samedi 25 avril 2015

saving objects to parse


I'm still new to ios development but I have a good knowledge of the swift language, I'm trying now to learn how to save objects to Parse, after I created my app on parse and downloaded the xcode swift template from Parse and pasted the application id & cleint-key to the appDelegate.swift file and add save file code from Parse to the viewController file and tried to run the app, I got this error in appDelegate.swift : please check the link below to view the error: http://ift.tt/1GsJgGj

    PFPush.subscribeToChannelInBackground("", block: { (succeeded: Bool, error: NSError!) -> Void in
        if succeeded {
            println("ParseStarterProject successfully subscribed to push notifications on the broadcast channel.");
        } else {
            println("ParseStarterProject failed to subscribe to push notifications on the broadcast channel with error = %@.", error)
        }
    })
}![enter image description here][2]


Aucun commentaire:

Enregistrer un commentaire