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
#define weak_import weak_import,deprecated("weak import") |
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 Foundation | |
class VoidTask { | |
let group : dispatch_group_t | |
func waitUntilDone () -> () { | |
dispatch_group_wait(group, DISPATCH_TIME_FOREVER) | |
} |
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
// <a..b> <a..b| |a..b> |a..b| | |
operator prefix | { } | |
operator postfix | { } | |
operator prefix < { } | |
operator postfix > { } | |
enum Bound<T: ForwardIndex> { | |
case Closed (@auto_closure () -> T) | |
case Open (@auto_closure () -> T) |