Swift Tutorial: Classes vs. Structures


When creating a model in Swift, developers often have to choose between two main options. Structures or Classes, and some times even both. In this blog post, I will be explaining the difference between the two and when and how to use them.

Both Structures and Classes have a lot in common, such as defining properties for storing values, extending to expand their functionality, and conforming to protocols to provide standard functionality. Let us touch on the main difference that sets them apart: Structures are value types, while Classes are reference types.

Kotlin and Java: Where Do They Fit In?

On May 17th of this year at the Google I/O keynote, the Google Android team announced that Kotlin is now the official Language for Android development. Developers have been using Kotlin to build Android apps in previous years but Google just announced first-class support for it. Now let me give a brief history of Kotlin.

Kotlin is basically a statically typed programming language that runs on the JVM that was first announced in July 2011 but was released to the public in February 2016. It was called "Project Kotlin," and it was created by a team of JetBrains programmers based in Saint Petersburg, Russia. In fact, the name Kotlin comes from Kotlin Island in Saint Petersburg.