正在加载视频...

视频加载失败

Generative UI using Foundation Model in iOS 26. I love how the UI changes realtime as the streaming response updates.

26,893 次观看 • 1 年前 •via X (Twitter)

11 条评论

Tanmay 的头像
Tanmay1 年前

Working with large amounts of data in FM is tricky due to the limited context window. Tool calling makes it manageable but still requires a lot of tweaking. On the bright side, it’s fully on-device & free.

Tanmay 的头像
Tanmay1 年前

Got a lot of DMs about details. It’s not true gen UI in sense that the LLM does not generate SwiftUI code. The context window is too small for that. I had to build a mapper for a limited number of SwiftUI components (charts, stacks, labels, etc) the LLM chooses & builds UI.

Mobile Scanner 的头像
Mobile Scanner1 年前

Scan any documents, convert images into text, PDF files, etc. 👍

Ryan Jones 的头像
Ryan Jones1 年前

Very cool! Share more!

Arihant_Marwaha 的头像
Arihant_Marwaha1 年前

Repo link please

Tanmay 的头像
Tanmay1 年前

This is built for one of my apps @FinmaMoney But you can check out Apple’s official sample code, it has a nice example of this.

screensdesign 的头像
screensdesign1 年前

this is the future. sick!

Tanmay 的头像
Tanmay1 年前

It sure is! Apple has made implementing generative UI really simple. Expect many more apps to offer a chat experience with fully native SwiftUI views.

Vineeth G S 的头像
Vineeth G S1 年前

As more iOS apps integrate this on device model, do you expect it to impacy battery life?

Tanmay 的头像
Tanmay1 年前

Yes I do. I expect Apple to rate limit the API and even make it unavailable when temps are high.

Robert Youssef 的头像
Robert Youssef1 年前

generative ui is cool, but watch out for the limits. on-device is great, but real-time updates can drain the battery fast if overused. keep it light and efficient.

相关视频

UI changes in the FoxMcCloud Star Lord Mod
1:04

Sensitive content

UI changes in the FoxMcCloud Star Lord Mod

Apekweit

15,078 次观看 • 1 年前