Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Playlist Browser with Swift Building the Master and Detail Views Displaying Playlist Information

B Towers
B Towers
1,813 Points

I thought vectors were supposed to scale? Why doesn't the original icon image scale upwards?

In the Images.xassets, both icon and largeIcons for the various images look exactly the same when you click on them and observe the Utilities panel/Attributes inspector.

What gets me is the height/width both say "Any". I even messed around, kept the playlist!.icon and just modified the image view to be Aspect Fit as opposed to top.

And I think in a previous video the instructor said the image would scale since they are vector images, and the aspect fit + regular icon size looks decent, maybe a little blurry, I can't tell.

Is there something hidden with the largeIcon that I can't see?

Nathan F.
Nathan F.
30,773 Points

I'm actually curious about this too. I assume we must instruct the assets to scale. Pasan Premaratne or Amit Bijlani , could you tell us what's going on with the vector images?