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

Ambiguous use of subscript "result" #1

Open ckriste opened 8 years ago

ckriste commented 8 years ago

`if let result = object { PFUser.currentUser()?["name"] = result["name"] PFUser.currentUser()?["email"] = result["email"] PFUser.currentUser()?["gender"] = result["gender"]

                PFUser.currentUser()?.saveInBackground()

                let userId = result["id"] as! String
                self.saveUserImageInBackground(userId)
            }

`

all uses of result here are ambiguous uses of a subscript. You have to tell the compiler what the intermediary object. Will Update if I get fixed