AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.