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

Getting a warning about using x++

It seems that x++ is deprecated and slated to be removed in Swift 3. The suggested code is +=1

This was in relation to this video: https://teamtreehouse.com/community/video:46622 but the question/comment wasn't added there.

Yep. I've been getting the same warning in my coding ventures. How sad. Now I'll have to separate some of my x++ or ++x statements into two statements. I've always liked how much information was encapsulated by those three little characters.