You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetching an image is a poor example of an action which you would react to neither upon success nor failure. A better example may be posting an update or sending a ping.
Also, the example seems contrived when there is a check for success == nil && failure == nil for posting an image. A real world application would never do this.
The text was updated successfully, but these errors were encountered:
In https://github.com/hpique/Articles/blob/master/Swift/Style%20guide%20for%20functions%20with%20closure%20parameters/Style%20guide%20for%20functions%20with%20closure%20parameters.md
Fetching an image is a poor example of an action which you would react to neither upon success nor failure. A better example may be posting an update or sending a ping.
Also, the example seems contrived when there is a check for success == nil && failure == nil for posting an image. A real world application would never do this.
The text was updated successfully, but these errors were encountered: