ユーザーを Firebase に追加するのに少し問題があります。誰かがこれで私を助けることができれば、それは非常に高く評価されます.
これが私のコードです:
var myRootRef = Firebase(url:"https://plattrapp.firebaseio.com/users")
myRootRef.createUser(emailSignUpEntered, password: passwordSignUpEntered,
withValueCompletionBlock: { error, result in
if error != nil {
// There was an error creating the account
} else {
let uid = result["uid"] as? String
println("Successfully created user account with uid: \(uid)")
}
})
ユーザーが作成されたことがデバッガー内の println ステートメントに表示されますが、実際には firebase データベース内には表示されません。
私が間違っているかもしれないことはありますか?