
It Depends with Brandon Williams
Empower Apps
The Challenges of Xcode Previews
The more you compile in a particular project, the bigger chance you have of just breaking previews. Break up your project into lots of little modules and I can greatly improve the stability area. But then there are a lot of APIs out there that will just completely break the preview. Like core location, if you just indiscriminately request permissions for location and you use that check to kind of block other things happening in your UI, what will happen is you'll load the preview. You're just not allowed to use it.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.