Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Asad Chishty
    Asad Chishty
    422 Points

    Since ++ is no longer in Swift, can this video be skipped? I tried x =+1 instead of ++ and xCode keeps giving me errors

    Posted November 7, 2016 5:27am by Asad Chishty
    Asad Chishty
    422 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    2 Answers

  • Ethan Cheong
    Ethan Cheong
    5,058 Points

    new items swift 2.0 to 3.0

    Posted October 29, 2016 4:23am by Ethan Cheong
    Ethan Cheong
    5,058 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    1 Answer

  • Nick King
    Nick King
    2,926 Points

    Did Apple remove Unary operators in Swift 3?

    Posted October 19, 2016 4:17am by Nick King
    Nick King
    2,926 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    1 Answer

  • Andrew Doumith
    Andrew Doumith
    1,392 Points

    Unary Operators in Swift 3

    Posted October 11, 2016 5:51pm by Andrew Doumith
    Andrew Doumith
    1,392 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    1 Answer

  • Kristen Turner
    Kristen Turner
    925 Points

    Comparison Operation passes code challenge but receives error in Swift

    Posted October 10, 2016 4:41am by Kristen Turner
    Kristen Turner
    925 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    2 Answers

  • Jeongeui Ji
    Jeongeui Ji
    3,761 Points

    It says that ++ has been removed from Swift 3... What operator do I have to type to make the same result? Thanks

    Posted October 5, 2016 9:13am by Jeongeui Ji
    Jeongeui Ji
    3,761 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    1 Answer

  • rocco matteo
    rocco matteo
    117 Points

    Its been removed in swift 3

    Posted September 23, 2016 8:13pm by rocco matteo
    rocco matteo
    117 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    1 Answer

  • Akos Turi
    Akos Turi
    7,517 Points

    so just to make this simple, in SWIFT 3 the right answer would be to the first part of the Code Challenge is:

    Posted September 22, 2016 2:08pm by Akos Turi
    Akos Turi
    7,517 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    0 Answers

  • Gerardo Gomez
    Gerardo Gomez
    1,845 Points

    Unary Operators 3 mins in ++levelScore is no go!!

    Posted September 16, 2016 12:22am by Gerardo Gomez
    Gerardo Gomez
    1,845 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    1 Answer

  • raphael zamorano segura
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    raphael zamorano segura
    Front End Web Development Techdegree Student 1,147 Points

    what about the ternary operators?

    Posted September 8, 2016 4:20am by raphael zamorano segura
    .a{fill-rule:evenodd;}techdegree
    raphael zamorano segura
    Front End Web Development Techdegree Student 1,147 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    0 Answers

  • Tomas Salas
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Tomas Salas
    Front End Web Development Techdegree Graduate 37,934 Points

    Not Operator. Didn't understand the function and the theory of it.

    Posted August 14, 2016 7:38pm by Tomas Salas
    .a{fill-rule:evenodd;}techdegree seal-36
    Tomas Salas
    Front End Web Development Techdegree Graduate 37,934 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    2 Answers

  • simondumalski
    simondumalski
    3,875 Points

    ++ and -- Operator Removed in Swift 3

    Posted July 13, 2016 4:35pm by simondumalski
    simondumalski
    3,875 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    3 Answers

  • Katie Blount
    Katie Blount
    3,043 Points

    caution sign

    Posted June 15, 2016 5:30pm by Katie Blount
    Katie Blount
    3,043 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    2 Answers

  • Apoorva S
    Apoorva S
    998 Points

    Why do i see an error: "No += candidates produce the expected result type 'Int' " for the following?

    Posted June 15, 2016 8:21am by Apoorva S
    Apoorva S
    998 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    2 Answers

  • Trent Porter
    Trent Porter
    611 Points

    ++ operation being removed in Swift 3.

    Posted May 18, 2016 4:41pm by Trent Porter
    Trent Porter
    611 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    3 Answers

  • Al Hughes
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Al Hughes
    iOS Development Techdegree Student 786 Points

    Trouble understanding the concept of this scenario.

    Posted May 9, 2016 3:04am by Al Hughes
    .a{fill-rule:evenodd;}techdegree
    Al Hughes
    iOS Development Techdegree Student 786 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    2 Answers

  • Edward Bromley
    Edward Bromley
    3,353 Points

    Deprecation of ++ and --

    Posted February 2, 2016 8:37pm by Edward Bromley
    Edward Bromley
    3,353 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    1 Answer

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Not sure why this is wrong

    Posted October 18, 2015 6:31pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • iOS
    • Swift 2.0 Basics
    • Swift Operators
    • Unary Operators

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord