I have beel fiddling with SwiftUI and it has taken up a huge amount of CPU %. Has anybody else experienced this? It it takes forever to build. I think I have it confused.
My Xcode is shut down, but I still have two swift processes running at 98%.
Something wrong here....
Without knowing more details about what you're working on, whether or not you're using the preview pane, etc, it is difficult to offer any useful resonses. However, based on my own experiences:
- Live previews **** down as much system resources as a simulator, I don't use them often
- If you interupt build processes often, sometimes the compiler process fails to die, peek at your activity monitor and check for hung processes
- complex views, or views with any kind of hand coded layout logic, can take the compiler quite some time to try to resolve into a view type that is less opaque than 'some View'. Make sure extract subviews where you can as this seems to be a file scoped issue.