anilallewar / iOS9-Swift2-Uber-Clone

Sample application to implement Uber like business functionality but with different UX - Facebook for login, callouts for requesting/cancelling ride, driver uses TableView for accepting rides etc
Apache License 2.0
48 stars 35 forks source link

subscript error #3

Open vsuhaskumar opened 7 years ago

vsuhaskumar commented 7 years ago
 noPushPayload = options[UIApplicationLaunchOptionsKey.remoteNotification] != nil;

I am getting ambiguous reference to member 'subscript' error in the above line.

 PFUser.current()?["name"] = result["name"]
                PFUser.current()?["email"] = result["email"]
                PFUser.current()?["gender"] = result["gender"]

                PFUser.current()?.saveInBackground()

                let userId = result["id"] as! String

I am getting Type 'Any' has no subscript members error in the above line.

Can you help me on how to fix these errors ?

elGuille commented 7 years ago

Hey vsuhaskumar , did you get that fixed?