Created
November 3, 2014 17:42
-
-
Save markd2/dabb7ae53216227dae75 to your computer and use it in GitHub Desktop.
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
let fun: (() -> Bool)? = UIAccessibilityIsReduceMotionEnabled | |
switch fun { | |
case .Some(let x): | |
println("\(x)") | |
x() // gets here and dies on ios7 | |
default: | |
println("gronk") | |
} | |
Prints out: | |
(Function) | |
dyld: lazy symbol binding failed: Symbol not found: _UIAccessibilityIsReduceMotionEnabled | |
(and then dies horrible nasty death) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment