osx - Parse OS X issue -


i'm creating os x app using parse. correctly set appid in appdelegate, when running it, console shows:

failed set (contentviewcontroller) user defined inspected property on (nswindow): have call setapplicationid:clientkey: on parse configure parse.

and content of view controller can not loaded. if comment code in -viewdidload: of view controller, works well... -viewdidload: called before -applicationdidfinishlaunching:options:"?

func applicationdidfinishlaunching(anotification: nsnotification) {     parse.enablelocaldatastore()             parse.setapplicationid("lackhyskt33a7hoepkgk3x1k8af1eyhik1yhy7ch", clientkey:"pr1pe5roc9amopquzsfa9fltizik6qlkdnxxh5fx")     println("fait")     //pfuser.enableautomaticuser()      let defaultacl: pfacl = pfacl()     defaultacl.setpublicreadaccess(true)     pfacl.setdefaultacl(defaultacl, withaccessforcurrentuser: true) } 

any reason such strange behavior??


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -