If you're building an iOS app with AI - copy and paste this list into your session and have it review and refactor. It's pulled directly from Apple's eng team for SwiftUI: Apple’s Essential Tips for iOS App Speed and Efficiency 1. Profile early and often using Instruments in Xcode 26. Identify bottlenecks in SwiftUI views and Foundation Model requests before you ship. 2. Optimize SwiftUI views by profiling view trees, caching expensive computations, and trimming main thread usage. Avoid repeated body recomputation to prevent dropped frames. 3. Streamline Foundation Model requests by reducing context payloads, removing redundant data, and keeping request windows small for faster AI responses. 4. Make memory and algorithm improvements with Swift’s new InlineArray and Span types. Replace custom slow loops with built-in methods like popFirst(), and validate any speedups with flame graphs. 5. Accelerate app launch by deferring work not needed immediately. Move blocking network, file, and calculation calls off the main thread. 6. Minimize energy usage by using incremental updates instead of full reloads, and only fetching or displaying what users need right now. 7. Benchmark your changes and document optimization decisions.
8
13
2
382
T retweeted
Perplexity App's Animated Bottom Bar Using SwiftUI | Xcode piped.video/f-S7vK2HXps
For all the iOS and macOS developers; import MLXAudio 🤩🚀
Marvis-TTS-v0.2 is here 🚀 A local first TTS model capable of realtime performance even on older iPhones that @lllucas and I built. What’s new: ✨ Blazing fast — 100M (tiny) & 250M parameter models 🌍 Multilingual — English, French, German 🎭 Enhanced voice cloning — More natural & expressive ⚡ Long-form generation — Up to 90 seconds (4x improvement) Get started today: > pip install -U mlx-audio
4
7
5
134
We've improved our iOS loading time by 99.8% That’s 904 ms → 2 ms (p75)
$BYND All buy!!!! What do they know!!!!👀👀👀👀👀👀👀👀👀👀👀👀👀
Stop everything you are doing and go watch this talk right now. Thank me later.
6
11
3
390
📣Announcing the first preview releases of Swift for Android, enabling you to build Android business logic with the same Swift that you use for Apple platforms. swift.org/blog/nightly-swift… #Android
Apple just released an official SDK for Android, crazy times. swift.org/blog/nightly-swift…
73
248
50
3,842
SwiftUI interview tips: ObservedObject vs StateObject @ObservedObject is for when the an external entity owns the reference to the view model - don’t init in the view or it’ll get recreated on every redraw! @StateObject is created & owned by the view, and tied to its lifecycle.
3
10
167
I can show you how to learn Swift Concurrency in 2 hours (and for free) 😌 swiftwithvincent.com/blog/he…
1
3
12
10 Best System design concepts to learn in 2024 1. Caching 2. DB Sharding 3. load-balancing 4. replication 5. fault-tolerance 6. high-availability 7. API Gateway 8. scalability 9. Performance 10. Indexing learn more on DesignGuru - bit.ly/3pMiO8g
188
2
1,063
Did you know that Apple released an official method to help you design your own iOS app? 🤨 I've made you a 3-minute recap of everything this method covers! 😌 piped.video/watch?v=5k6B08Ei…
3
11
Big O Cheat Sheet.
5
97
2
501
Questions to ask your manager before taking a job
Check out this cool feature of Swift 5.9! 😀 You can use `switch` as an expression, making it much easier to dynamically set the value of a constant 👌
How DNS work
42
700
14
4,458
I'm sure you already know how to implement an API call... ...but have you ever tried to cache its result? 🤨 In the livestream I'm going to show you how to implement such a mechanism using the built-in type NSCache 👩🏽‍💻👨🏻‍💻 piped.video/live/W9l9M66JVeI