I use Xcode a lot and recently when I click on something in the storyboard like a label it will pause for some time (little over a minute). my iMac uses 8gb of ram and on activity monitor it shows its using around 6.5gb of ram how can I improve the performance of Xcode so it does not do that?
Your issue is typical of why only having 8GB ram is not recommended, and why we always recommend more. Goog news is it doesn't cost too much for more, and installation can usually be done by the owner. This of course assumes that there mac you're using is upgradeable (ram isn't soldered in at the factory).
Crucial is a good source for ram, and iFixit has terrific videos that walk you thru the process to install.
16 GB is a recommended minimum, but get more if you can afford it...Xcode loves more physical ram, and while you're upgrading, a larger SSD will help as well, where you can easily maintain suffcient free space so that Xcode and the OS can do their work properly. Keep several tens of GB free space on your drive.
Crucial is a good source for ram, and iFixit has terrific videos that walk you thru the process to install.
16 GB is a recommended minimum, but get more if you can afford it...Xcode loves more physical ram, and while you're upgrading, a larger SSD will help as well, where you can easily maintain suffcient free space so that Xcode and the OS can do their work properly. Keep several tens of GB free space on your drive.