Enums are a data type that allow you to define your own values and work with them in a type-safe way. In this article, we'll create a TabView and utilize enums to define the data we need, in a type-safe way.
SwiftCharts framework makes it easy to add charts to your app and display the data to your users in a visually pleasing way. In this article, we'll design a custom chart to display weight tracking data over a period of one week. We'll utilize line chart and area chart to make our graph look more stylish.
Swift Algorithms is an open source package of sequence and collection algorithms. It contains many generic algorithms found in other popular programming languages. In this post, we'll take a look at how to implement the .chunked() algorithm to chunk an array of data and display it in your UI.
In SwiftUI, you can use Link to let the user open a website in their default web browser. But sometimes you want them to stay in your app; to read privacy policy or similar. In that case, you have different options to present web content without the user ever leaving your app.
Card-like designs are seen often in UIs. Usually, a view with a white background, rounded corners, and a dark shadow that makes the view look like a card on top of another view. It gives a nice look to different view components and separates parts of UI.
Oftentimes, when developing your apps, you create a specific button style with different labels and actions to keep your UI consistent across different screens. You'll learn how to create a button view you can reuse across your app instead of having to create a new one every time.
Implementing network connectivity monitor doesn't require a lot of code. But it can mean a lot between a happy and a frustrated user.