title: Share code between projects in Xcode
body: <p>I made a generic app, and from that app, I use different images to make different apps (same app, different images).</p>
  
  <p>My idea until now has been every time I was generating a new app, I copied the code and changed the images (and sometimes some lines of code). But every time I change something in the main app, I have to change it in all the sub-apps.</p>
  
  <p>I've been thinking about using target for this (every time I create a new one, I use a new target with a new folder images linked to it), but I'm not sure about this as I never worked with targets before.</p>
  
  <p>Is this the best approach?</p>
  
  <p>And if it is, how is the best way of doing it? I created a new target inside my project, but it creates a whole new project inside of it, with its owns classes.</p>