Would anyone be able to explain this method that we should invoke to recieve the friend list?
var fbRequestFriends: FBRequest = FBRequest.requestForMyFriends()
fbRequestFriends.startWithCompletionHandler{
(connection:FBRequestConnection!,result:AnyObject?, error:NSError!) -> Void in
}
Specifically this line
(connection:FBRequestConnection!,result:AnyObject?, error:NSError!) -> Void in
It seems to me like we are calling a function "startWithCompletionHandler", after that I am lost to be honest. I can't understand what happens next. Can anyone please explain this?
Edit: I understand this is the way to implement it. I'm Actually looking for an intuitive explanation like in this answer: Method Syntax in Objective C