Category archives: Swift

  • Learning to code has become increasingly popular for students in schools. It's not a surprise as organizations like code.org are providing stats and resources so students can take advantage of a big career opportunity. However, educators are not always equipped to teach students computer programming. And, even though there are currently more resources than ever to learn coding, the resources can be difficult to understand and/or do not relate to creating apps for mobile devices. That is why we at Expressive Solutions are interested in teaching Swift - in an easy to understand manner - for creating iOS apps. The following document currently has 5 lesson plans that include information and scripts for teaching Swift to students using a collaborative method:   Swift for Students: Lesson Plans[...]

  • // Use two forward slashes for a single-line comment /* Use a forward slash followed by an asterisk to start a multi-line comment. To end the multi-line comment, use an asterisk followed by a forward slash. */ /* Did you know it's also possible to nest comments in Swift? /* You can nest comments by starting a multi-line comment, then starting another. */ Finally, close the last (two) comments */ These examples demonstrate how to write different types of comments in Swift. As you might be aware, Swift is a new OS X and iOS programming language announced this week at WWDC. After hearing the announcement, I immediately wanted to check it out because I enjoy coding iOS apps, even though I’m only a beginner (experienced programmers write a large majority of the code in our company’s[...]