Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

26,893 Aufrufe • vor 11 Monaten •via X (Twitter)

11 Kommentare

Profilbild von Tanmay
Tanmayvor 11 Monaten

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.

Profilbild von Tanmay
Tanmayvor 11 Monaten

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.

Profilbild von Mobile Scanner
Mobile Scannervor 11 Monaten

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

Profilbild von Ryan Jones
Ryan Jonesvor 11 Monaten

Very cool! Share more!

Profilbild von Arihant_Marwaha
Arihant_Marwahavor 11 Monaten

Repo link please

Profilbild von Tanmay
Tanmayvor 11 Monaten

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.

Profilbild von screensdesign
screensdesignvor 11 Monaten

this is the future. sick!

Profilbild von Tanmay
Tanmayvor 11 Monaten

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.

Profilbild von Vineeth G S
Vineeth G Svor 11 Monaten

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

Profilbild von Tanmay
Tanmayvor 11 Monaten

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

Profilbild von Robert Youssef
Robert Youssefvor 11 Monaten

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.

Ähnliche Videos

UI changes in the FoxMcCloud Star Lord Mod
1:04

Sensitive content

UI changes in the FoxMcCloud Star Lord Mod

Apekweit

15,078 Aufrufe • vor 1 Jahr