Symbols (or icons) are an essential part of any app. Luckily, when developing for Apple platforms, we have the amazing collection of SF symbols at our disposal. But even with over 6000 symbols already available, sometimes the one you need doesn't exist yet. We'll go over how to create a custom symbol in Sketch.
In this post, we'll take a look at how we can create a configurable button with pre-defined states. We'll add four different states and update the button state in the code.
You likely have a lot of views in your app that display a label and a value with a space in between using an HStack. Did you know there's a LabeledComponent view that does exactly that but in fewer lines of code? No need to create custom components.
Discover how to use SwiftUI's ContentUnavailableView to effortlessly handle empty views in your app. It's easy to use, customizable, and has a pre-defined view for an empty search state. Available in iOS 17.0+.
When developing apps in SwiftUI, we're given a set of components that allow us to support both light and dark modes without a lot of work. But, there might be occasions where you want a different dark mode color for your app. Like dark blue.
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.