Upgrade to Pro — share decks privately, control downloads, hide ads and more …

VRTと真面目に向き合う

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

 VRTと真面目に向き合う

Avatar for Yuya Hirayama

Yuya Hirayama

January 23, 2026
Tweet

More Decks by Yuya Hirayama

Other Decks in Technology

Transcript

  1. Example #Preview("Colorful Tiles") { VStack(spacing: 40) { RoundedRectangle(cornerRadius: 8) .fill(Color.pink)

    RoundedRectangle(cornerRadius: 8) .fill(Color.cyan) RoundedRectangle(cornerRadius: 8) .fill(Color.orange) } .padding(40) .prefireEnabled() } !IJSBHSBN 
  2. Example func test_ColorfulTiles_Preview() { let preview = { VStack(spacing: 40)

    { RoundedRectangle(cornerRadius: 8) .fill(Color.pink) RoundedRectangle(cornerRadius: 8) .fill(Color.cyan) RoundedRectangle(cornerRadius: 8) .fill(Color.orange) } .padding(40) .prefireEnabled() } let isScreen = true if let failure = assertSnapshots( for: PrefireSnapshot( preview(), name: "Colorful Tiles", isScreen: isScreen, device: deviceConfig) ) { XCTFail(failure) } } !IJSBHSBN