Programming in Swift - Part 8: Part 1: Core Concepts: | Ray Wenderlich

Learn what the concept of scope means in Swift, and how it applies to if statements.

This is a companion discussion topic for the original entry at

I understand the the way it looks but don’t quite have a grasp on the logic behind it. a simple statement np but taking it and throwing in different operators puts me in the umm state. I understand the individual ones

Do you have an example of an if statement you find confusing? If so I’d be glad to walk through it with you.

This topic was automatically closed after 166 days. New replies are no longer allowed.