I hereby claim:
- I am viettrungphan on github.
- I am phanviettrung (https://keybase.io/phanviettrung) on keybase.
- I have a public key ASAZpBX097onYRMZ5vwNuv8mszDgkS3lqTlm4x3xG0-zqwo
To claim this, I am signing this object:
/*----------------------------------------------------*/ | |
#pragma mark - XCTAsserts | |
/*----------------------------------------------------*/ | |
XCTAssert(expression, format...); | |
XCTAssertTrue(expression, format...); | |
XCTAssertFalse(expression, format...); | |
XCTAssertEqual(expression1, expression2, format...); | |
XCTAssertNotEqual(expression1, expression2, format...); | |
XCTAssertNil(expression, format...); |
import SwiftUI | |
struct SizeKey: PreferenceKey { | |
static func reduce(value: inout CGSize?, nextValue: () -> CGSize?) { | |
value = value ?? nextValue() | |
} | |
} | |
struct ContentView: View { | |
@State var width: CGFloat? = nil | |
var body: some View { |
I hereby claim:
To claim this, I am signing this object: