-
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, error free and easy to use. Plus it’s…
-
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 the text. But is this code effective? Now imagine that we want to print thousands of statements,…
-
Fixing “This Class is not Key Value Coding-Compliant for the Key” Error In Xcode
Today, we are going to fix the most common mistakes that people make when they’re new to iOS development. This error takes place when we work with user interface while adding or deleting the elements. To make things easier we are going to first replicate the error, then analyze and finally fix it. Ready? Let’s go.…
-
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 manage our data. They are extremely useful for storing ordered…
-
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 in the console area. The Selector might…
-
Web Apps vs. Native Apps: Which is the Better Option?
In this article, we are going to take a look at different types of technologies behind the mobile applications and do a little bit of comparison from a developer standpoint. Because choosing the right platform for your next application is a crucial step in every company’s success. Therefore we are going to compare different platforms and…
-
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 this technology while developing their own personal apps for fun. Therefore, I…
-
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 data like this in a…
Got any book recommendations?