Merge pull request #3 from 0xLeif/develop Develop
Merge pull request #3 from 0xLeif/develop
Develop
Where’s The Variable?
struct Dictionary { var value = [ "someValue": [ "what...?": 999 ] ] } struct Value { let somes = Dictionary() } struct RootValue { let child: Value = Value() } struct OuterValue { let root = RootValue() } func testExample() { guard let output = WTV(OuterValue()).variable(named: "what...?") else { XCTFail() return } print(output) XCTAssert(output.contains("FOUND")) }
OuterValue - Inside: root - Inside: child - Inside: somes - Inside: value - Inside: someValue - Inside: someValue - Inside: what…? - FOUND: (label: Optional(“what…?”), value: 999)
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
WTV
Where’s The Variable?