Working with Alamofire in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
Alamofire is an elegant networking library written in Swift. You use it to make HTTP requests in your iOS apps. In this tutorial, we're going to discuss how you can use Alamofire for HTTP networking! The post Working with Alamofire in Swift appeared first on LearnAppMaking ..read more
Visit website
The Ultimate Guide to Operators in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
Operators in Swift are tiny symbols that produce a result. In this tutorial, we're diving deep into Swift's operators, including precedence and associativity, and even write our own custom operators. The post The Ultimate Guide to Operators in Swift appeared first on LearnAppMaking ..read more
Visit website
The Nil-Coalescing ?? and Ternary Conditional :? Operators in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
In this tutorial, we're going to discuss how you can use the nil-coalescing operator and the ternary conditional operator in Swift. They're interesting bits of syntactic sugar, and they can help you write more concise, readable code. Let's get started! The post The Nil-Coalescing ?? and Ternary Conditional :? Operators in Swift appeared first on LearnAppMaking ..read more
Visit website
Subscript Syntax in Swift Explained
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
You use a subscript in Swift to quickly access the member elements of collections. It's a powerful feature of the Swift Programming Language, because the syntax for subscripts is super concise. Let's find out how it works! The post Subscript Syntax in Swift Explained appeared first on LearnAppMaking ..read more
Visit website
Play With Code: Binary Search in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
Binary search is a simple algorithm that lets you search an array for a specific value. In this tutorial, we're going to code a binary search algorithm from scratch in Swift. It's good practice, and you'll learn some interesting tidbits about Swift along the way! The post Play With Code: Binary Search in Swift appeared first on LearnAppMaking ..read more
Visit website
Error Handling with Try and Catch in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
You use 'do', 'try', 'catch' and 'throw' to handle errors and exceptions in Swift. Error handling gives you greater control over unexpected scenarios that might occur in your code. Let's find out how that works! The post Error Handling with Try and Catch in Swift appeared first on LearnAppMaking ..read more
Visit website
Scope and Context Explained in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
The concept of scope states that, if you've declared a variable or function in one "place" of your code, you cannot use it elsewhere. It's a subtle rule in programming. But that's not all there is to it. Let's find out how scope works in Swift! The post Scope and Context Explained in Swift appeared first on LearnAppMaking ..read more
Visit website
Opaque Types and ‘some’ in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
Opaque types are an important feature of Swift. With the "some" keyword, which denotes an opaque type, you can "hide" the concrete return type of a computed property or function. Let's find out how that works! The post Opaque Types and ‘some’ in Swift appeared first on LearnAppMaking ..read more
Visit website
Escaping Closures in Swift Explained
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
A closure is said to "escape" a function when it's called after that function returns. In Swift, closures are non-escaping by default. What are escaping closures, anyway? And what do you use @escaping for? Let's find out! The post Escaping Closures in Swift Explained appeared first on LearnAppMaking ..read more
Visit website
Guard Statement Explained in Swift
LearnAppMaking » Swift Tutorials
by Reinder de Vries
3y ago
The guard statement in Swift helps you return your functions early, if a condition isn't met. In this tutorial we'll discuss what "guard" is, and how you can use it in practical iOS development. Let's get started! The post Guard Statement Explained in Swift appeared first on LearnAppMaking ..read more
Visit website

Follow LearnAppMaking » Swift Tutorials on FeedSpot

Continue with Google
Continue with Apple
OR