Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKevin Gonzales
4,638 Pointsno Image Type
When I go to image set, I only see scale factors where Image type is in this video. In addition when you click on that you get Multiple, single vector and vector with override as options. Did things change ? what should I do now? or did I just not follow the step properly?
5 Answers
frezy stone
3,658 PointsGo to "Images.xcassets" > select the images > "Scale Factors" > then choose "single vector" and it'll be goood. :). This course has been done with a previous version of Xcode. That is why you don't see it as it is in the teacher's video.
frezy stone
3,658 PointsI think that "multiple" allows you to put any type of image such as jpeg, png, ....(to be short, it is like a default setting), and the other options are just specific options about the type of image that you have such as vectors for example. When you use those, you don't need to have different sizes, Xcode will adjust the images by itself on any devices. It is very convenient.
Kevin Gonzales
4,638 Pointsoh okay, so vectors are usually the best choice? Why would you ever choose multiple then? or what is its advantages?
frezy stone
3,658 PointsYes, vectors are the best choice. It saves you to resize the image for each device. It all depends on the images that you have. Let's say that you designed images for your app to jpeg or png format for example, with these type of image you will need to use "multiple".In the other hand, if you designed as vectors, you will have to change the scale factors to "single vector". I prefer to use multiple because I'm not thsat good at making vector image.
Kevin Gonzales
4,638 PointsOh ok so Vector is a file type lol I thought it was just a setting. By chance do you know what you can use to create a Vector Image? When programming independent apps, Vector Image types sound more resourceful than Jpeg
frezy stone
3,658 PointsActually Vector itself is not a type but vector images are of type ".pdf". To create a vector image, you can use the famous Photoshop, Sketch 3. you can use also Affinity Designer (available on the Appstore at $49.99 but you can head on their website and get the trial version for free to see if it will fit your expectations). There is a bunch of good vectors application on the Appstore and that I know, these 3 I listed above are well rated for vector assets. Yes Indeed, you are right. Vectors image are more resourceful than jpeg.
Kevin Gonzales
4,638 Pointsoh ok. Thank you so much for the help!
andye
3,461 PointsFor the record if you're making Vector images you will want to use Adobe Illustrator not Adobe Photoshop. That is if you go the Adobe route.
frezy stone
3,658 PointsYou're welcome. By the way, if you find Sketch 3 interesting, they have UIDesign courses here at Treehouse.
Kevin Gonzales
4,638 PointsKevin Gonzales
4,638 Pointsoh ok cool thanks! I used left it in multiple but ill change it now. Also what is the difference between all the options? example: multiple and single vector?