Enumeration Enums In Swift Explained Sometimes we need to create our own data types for certain parts of our app. That’s where Enumerations come in handy. But what are the other benefits of Enum? The Swift Enum gives us the possibility to model a certain number of options, to make our code type-safe,
Swift For Loop In Swift Explained Many times when you’re creating the App, you will find yourself needing to repeat pieces of code. For instance, if we want to print “Hello World” five times, we could simply write a print statement five times. It will definitely print out
Swift Arrays In Swift Explained If you’re working with many pieces of data it would be hard to manage them with simply constants and variables. In that case, Arrays can make our life easier. Do You Want to Learn How? Arrays are one of three collection types available in the Swift programming to
Swift Fixing "Unrecognized Selector Sent To Instance" Error In Xcode One of the most common errors in Xcode is “Unrecognized Selector Sent To Instance“. Today I will try to explain the reason why we get this error and most importantly how to fix it. But before we start investigating the code, we should better understand the error message
Swift Xcode For Windows: The Best Alternatives To Develop iOS Apps One of the most common questions that I get on BeCodable, is how to start an iOS development on Windows, which I think is very important since there are a lot of people who don’t have a Mac computer. However, everyone wants to get involved in
Swift Tuples In Swift Explained For most of the time you will be working with the single pieces of data, but sometimes data in your apps come in pairs or triplets. For example, imagine if you have a set of x, y, and z coordinates on a 3D grid. In Swift, you can represent related