Dates | Conferences | Venues | CfPs |
---|---|---|---|
January 27 | dotSwift | Paris, France | Closed |
February 7-8 | Mac Admin & Developer Conference UK | London, UK | |
February 23-24 | Playgrounds | Melbourne, Australia | Closed |
March 2 | Forward Swift | San Francisco, CA | |
March 2-4 | try! Swift Tokyo 2017 | Tokyo, Japan | Closed |
March 16-17 | Appdevcon 2017 | Amsterdam | Closed |
March 20-23 | Yosemite, by CocoaConf | Yosemite National Park, CA, USA | |
March 30-31 | iOSCon 2017 | London | Closed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
brew_command=/usr/local/bin/brew | |
brew_cask_command="$brew_command cask" | |
echo '#!/bin/bash' | |
echo '' | |
echo 'trap ctrl_c INT' | |
echo 'function ctrl_c() {' | |
echo 'echo "** Trapped CTRL-C"' |
- Proposal: TBD
- Author: Evan Maloney
- Status: Draft
- Review manager: TBD
Frequently, closures are used as completion callbacks for asynchronous operations, such as when dealing with network requests. It is quite common to model these sorts of operations in such a way that an object instance represents a request/response transaction, for example:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
// A swift protocol can apply to a class, struct, or enum, | |
// but only a reference type can be stored in a `weak` var, | |
// so a weak var cannot be of a typical protocol type. | |
protocol MyProcotol { | |
} |