Liquid Glass, どこが変わったのか

Liquid Glass, どこが変わったのか

Megabits_mzq

June 25, 2025

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

20 slides
  1. Text("Hello, World!") .font(.title) .padding() .glassEffect() Text("Hello, World!") .font(.title) .padding() .glassEffect(in:

    .rect(cornerRadius: 16.0)) Text("Hello, World!") .font(.title) .padding() .glassEffect(.regular.tint(.orange).interactive())
  2. GlassEffectContainer(spacing: 40.0) { HStack(spacing: 40.0) { Image(systemName: "scribble.variable") .frame(width: 80.0,

    height: 80.0) .font(.system(size: 36)) .glassEffect() Image(systemName: "eraser.fill") .frame(width: 80.0, height: 80.0) .font(.system(size: 36)) .glassEffect() .offset(x: -40.0, y: 0.0) } }
  3. let symbolSet: [String] = ["cloud.bolt.rain.fill", "sun.rain.fill", "moon.stars.fill", "moon.fill"] GlassEffectContainer(spacing: 20.0)

    { HStack(spacing: 20.0) { ForEach(symbolSet.indices, id: \.self) { item in Image(systemName: symbolSet[item]) .frame(width: 80.0, height: 80.0) .font(.system(size: 36)) .glassEffect() .glassEffectUnion(id: item < 2 ? "1" : "2", namespace: namespace) } } }

More Decks by Megabits_mzq

Other Decks in Programming