正在加载视频...

视频加载失败

SwiftUI: Native Spectrum View in Under 20 Lines 👇

13,108 次观看 • 1 年前 •via X (Twitter)

8 条评论

Santi Was Taken 的头像
Santi Was Taken1 年前

I love this little snippets, how do you come up with them?

Alberto Moral 的头像
Alberto Moral1 年前

Thanks, Santi! These are just some ideas I use in my apps or things I’m interested in learning

Dr. Michael Lauer 的头像
Dr. Michael Lauer1 年前

Nice work. It‘s annoying that this bears no resemblance to the actual audio, but that’s a limitation it shares with Apple‘s implementation…

T. Frank Lawlis 的头像
T. Frank Lawlis1 年前

Many thanks for this demo… I sure appreciate these opportunities to learn some cool tips!

Alberto Moral 的头像
Alberto Moral1 年前

No problem, I’m glad the snippets are useful! I’ll keep sharing more!

Price Ringo 的头像
Price Ringo1 年前

Sorry but I can’t read the code. The text in the GIF is just too small.

Xun 的头像
Xun1 年前

Cool, can you take this a step further and try combining the actual audio file with the animation?

wophb 的头像
wophb1 年前

Wow, Alberto, under 20 lines for a Spectrum View? That's SwiftUI wizardry! Makes me wonder if there's a spell for making debugging as easy. 😄

相关视频