Tag: swift

Kotlin When Vs. Swift Switch

Comparing control flow statements in Kotlin and Swift

Dev

Control flow statements like Kotlin’s when and Swift’s switch statements are used to break up typical top-to-bottom flows of code execution.

Ivan Garza
Sep 29, 2022 ⋅ 5 min read
Building Forms In Swift UI Guide

Building forms with SwiftUI: A comprehensive guide

Dev

Learn to build forms with SwiftUI, a framework that allows developers to build user interfaces using declarative code.

Sneh Pandya
Sep 12, 2022 ⋅ 9 min read
Swift Logo With Rollercoaster in Background

Using UIPickerView in Swift forms: Tutorial with examples

Dev

Let’s explore how to use UIPickerView in Swift forms to provide users with a selection of data choices presented in a wheel format.

Rudrank Riyam
Jul 25, 2022 ⋅ 8 min read
How To Use DateFormatter In Swift

How to use DateFormatter in Swift

Dev

DateFormatter allows us to accurately represent dates and times in formats that are understood by different environment, overall increasing the accessibility of your application.

Matthew Croak
Jun 28, 2022 ⋅ 4 min read
Swift Logo

Adding GIFs to your iOS app with FLAnimatedImage and SwiftUI

Dev

Learn how to easily add animated GIFs to your iOS apps using a performant engine, FLAnimatedImage by Flipboard, and SwiftUI.

Rudrank Riyam
Jun 28, 2022 ⋅ 8 min read
Creating Gradient Borders In Swift

Creating gradient borders in Swift

Dev

When it comes to frontend development, the clearer the UI, the better. A border can enhance UI elements by providing more depth and personality.

Matthew Croak
Jun 14, 2022 ⋅ 4 min read
Swift Logo Over a Clear Sky

How to create a custom, collapsible sidebar in SwiftUI

Dev

Sidebars in mobile apps provide users with top-level navigation. In this article, you’ll learn how to create a custom sidebar using SwiftUI.

Rupesh Chaudhari
May 30, 2022 ⋅ 8 min read
Mobile Phone Icon

How to add SwiftUI to a UIKit project

Dev

This tutorial demonstrates how to add a SwiftUI screen to a UIKit project, showing that it’s possible to use both in a single application.

İrem Karaoğlu
May 26, 2022 ⋅ 4 min read
Swift Logo

Simplify JSON parsing in Swift using Codable

Dev

In this article, we’ll investigate simplifying JSON parsing in Swift using Codable. We’ll also review several practical JSON use cases.

Rudrank Riyam
May 24, 2022 ⋅ 11 min read
Swift Logo

Creating custom operators in Swift

Dev

Operators are one of the basic constructs of any programming language. Here are the operators Swift ships with and how to create operators.

Neel Bakshi
May 19, 2022 ⋅ 7 min read
Swift Logo

Mastering typealias in Swift

Dev

In this article, we review some basic and advanced examples of the typealias function in Swift, which can help make code more readable and easier to maintain.

Rudrank Riyam
May 6, 2022 ⋅ 6 min read
Swift Logo

Easily handle JSON in Swift with SwiftyJSON

Dev

This MacOS demo shows how to easily handle JSON in Swift with SwiftyJSON, as well as how to handle type issues.

İrem Karaoğlu
Mar 31, 2022 ⋅ 3 min read