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 trialAnthony Albertorio
22,624 PointsExplain downcasting and upcasting, and the rest of the video as if to a 5 year old.
Pasan introduces too many new concepts without taking the time to explain them in this video. He moves too quickly and assumes that we know what he is talking about.
Can some one explain downcasting and upcasting to a 5 year old? Can someone explain what he is doing and why, I am confused in literally the whole video.
None of the answer I have seen in the forums have been of any help to understand down casting and upcasting simply.
1 Answer
Jhoan Arango
14,575 PointsHey Anthony: I had the same question a few weeks ago. Someone took the time to explain it to me, even tho I am not 100% clear when to use down casting other than in segues, this helped me a lot in understanding the concept. Here is the link to my question.
It may help you a bit.
Eduardo Scodino
5,083 PointsEduardo Scodino
5,083 PointsNo, it didn't help a bit. It helped a lot! :)
Jhoan Arango
14,575 PointsJhoan Arango
14,575 PointsGood, also I recommend reading the iBook on swift, it actually made a lot of sense to me, and now I understand it 100%
Good luck