Contributions
Article
Many modern iOS apps are connected to the internet.
When you need to download or upload data, URLSession is the solution.
Together with other types, URLSession not only transfers data over a network but also groups transfers together.
When you need to download or upload data, URLSession is the solution.
Together with other types, URLSession not only transfers data over a network but also groups transfers together.
Article
Conditionals are a fundamental part of programming in Swift.
The first conditional statement you learn is the if statement. It’s not the only one, though, nor is it the most used.
Another example is a guard statement. Guard statements are often much more common than if statements.
The first conditional statement you learn is the if statement. It’s not the only one, though, nor is it the most used.
Another example is a guard statement. Guard statements are often much more common than if statements.
Article
URLs are omnipresent in today’s world, and iOS apps are no exception.
The URLs you use in Swift can identify different resources. The most common examples are web content, local files, and REST API endpoints.
The way you handle a URL in Swift depends on two things. The resource it identifies and how you manage the resource in the architecture of your app.
The URLs you use in Swift can identify different resources. The most common examples are web content, local files, and REST API endpoints.
The way you handle a URL in Swift depends on two things. The resource it identifies and how you manage the resource in the architecture of your app.
Article
Arrays are the most commonly used data type in Swift and other programming languages. You will often use arrays to organize your app’s data as they are the most versatile data structure.
Article
The ternary operator is a conditional operator that you can use to write complex conditions using just one line of code. It is straightforward to use and powerful.
In this article, I will highlight the most common use cases of the ternary operator in Swift. I will also review the advantages and disadvantages of writing conditions using the ternary operator instead of if-else statements.
In this article, I will highlight the most common use cases of the ternary operator in Swift. I will also review the advantages and disadvantages of writing conditions using the ternary operator instead of if-else statements.
Article
Switch statements compare specific values against different cases and execute the block of code associated with the first matching case. You can achieve the same result using an if statement with multiple else clauses, but switch statements are easier to read and understand at a glance.
Article
To be able to do anything interesting, a Swift program needs to take decisions based on whether some condition is true or not. This is done through conditionals.
Swift has several conditionals. The most common one is the if statement, which we will cover in this article.
Swift has several conditionals. The most common one is the if statement, which we will cover in this article.
Article
Learning how to program is not an easy task. But it is straightforward to get started with it by following a very simple Swift tutorial.
The very first program everyone writes is called Hello World. It teaches you the basics of creating and running a program in any language.
The very first program everyone writes is called Hello World. It teaches you the basics of creating and running a program in any language.
Article
Most modern iOS apps need to run code asynchronously.
Asynchronous code can be suspended and resumed later, allowing your app to keep its UI responsive while working on long tasks, like performing network requests to a REST API.
You often run asynchronous code in parallel to make the best use of resources like the cores on your device’s CPU or internet bandwidth.
Asynchronous code can be suspended and resumed later, allowing your app to keep its UI responsive while working on long tasks, like performing network requests to a REST API.
You often run asynchronous code in parallel to make the best use of resources like the cores on your device’s CPU or internet bandwidth.
Article
Becoming an iOS developer gives you access to highly paid jobs. Sadly, the internet is full of advice that can sabotage your career. In this step-by-step guide, you’ll learn what you need and what you should avoid to become an iOS developer and kickstart your career.