siegesmund / SwiftDDP

A Meteor client, written in Swift
MIT License
145 stars 60 forks source link

How to update user object in meteor ddp client? #77

Open zahedul opened 8 years ago

zahedul commented 8 years ago

Hi, In my upper example we are successful to login in server. But In client side user object do not update. If I'm not wrong, following code store login user information.

self.userData.setObject(id, forKey: DDP_ID)
self.userData.setObject(token, forKey: DDP_TOKEN)
self.userData.setObject(expiration, forKey: DDP_TOKEN_EXPIRES)
self.userData.synchronize()

Now I need to update login user object in client side. Will you please help me to do that .

thanks