I am experimenting with a few things for a new UI in one of my apps. I'm wondering, what is the most efficient way to add UI elements like a gradient background (keeping in mind both the size of the app as well as speed/memory consumption).
Would I be better off just creating the elements in something like Inkscape or Illustrator, and then loading them in via UIImage>UIIMageView? Or would it be best to use CGGradient or CAGradientLayer?
Also, I wonder about these kinds of things quite often and I'm wondering if someone could explain how I could test these kinds of things for myself (speed, memory consumption, overall performance).