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 trial

iOS

The code in video does not compile. It said "Cannot convert value of type "String" to expected argument type "Int" "

The code in video does not compile. It said "Cannot convert value of type "String" to expected argument type "Int" " same thing happen to "if let" too. Im using Xcode 9.2 did something changed?

Jhoan Arango
Jhoan Arango
14,575 Points

Hello,

Can you show us your code ? this way we can see where is wrong.

1 Answer

What is the video?