View Template PR Description
[Story](<link to Story>) | |
<description of work> | |
### Dependencies | |
- [ ] <other PR and tasks> | |
### Reviews | |
- [ ] @<users you think should review this PR> | |
View static dispatch in protocol extensions.playground
/*: | |
# response to [__Ghost of Swift Bugs Future__ by ALEXANDROS SALAZAR](http://nomothetis.svbtle.com/the-ghost-of-swift-bugs-future) | |
*/ | |
protocol A { | |
func m1() -> String | |
} | |
extension A { | |
func m1() -> String { |
View Playground .gitignore
xcuserdata/ | |
*.xccheckout |
View XCTExpectation.swift
import XCTest | |
/// An expectation that is fulfilled when a Key Value Observing (KVO) condition | |
/// is met. It's variant of `XCTKVOExpectation` with support for native Swift | |
/// key paths. | |
final class KVOExpectation: XCTestExpectation { | |
private var kvoToken: NSKeyValueObservation? | |
/// Creates an expectation that is fulfilled when a KVO change causes the | |
/// specified key path of the observed object to have an expected value. |