My UI is acting choppy and I am trying to understand what the source for this is.
There are a lot of options using Xcode Instruments and I am not sure which set of them are the best for me.
From playing around with some of them it seems that most time is spent in [CALayer drawInContext]
and [CALayer layoutSublayers]
but I have no idea in what context those methods are called from (what part of the UI is doing that).
Which options should I be choosing in order to better understand?
Also would like to know if there is a way to see what is running in the background which doesn't belong to the current visible UI (I think something in the background may also be thrashing the CPU)