TabularData was introduced in iOS 15 and can be used to load data from csv or json
format into a DataFrame to explore and manipulate. This is not Python Pandas, but it
does provide some basic functionality for exploring data and is fast and efficient.
In this article, the data on the deaths from Covid is loaded, …
Many shapes can be created with Path in SwiftUI. Shapes and paths can be combined to
create more complex shapes or patterns. This article shows how to create simple
shapes and how to create a view of the back of a card with different patterns.
Form view is used in SwiftUI to present a collection of user input controls, such as
text fields and toggle buttons to gather information from the user. Forms are
frequently used in settings screens and data entry screens. This article walks
through displaying text, toggle buttons, pickers and steppers in a SwiftUI …
Modal views are views that are presented over the main application and prevent
interaction with the views behind until the modal view is dismissed. There are
different types of modal views available in SwiftUI, each designed for a particular
function. This article shows the use of Sheets, Alerts, Action Sheets and …
Pie charts are widely used in the business world and the mass media. There is some
criticism of the use of pie charts as it can be difficult to compare sector sizes,
however they can be useful when the number of sectors is small. In this article we
walk through how to create a pie chart in SwiftUI using path.addArc …
Most mobile apps contain more than one screen, so navigation from one screen to
another is necessary. A typical implementation is to have a list of items where
tapping on a single item will navigate to a detailed page for that item. SwiftUI
framework provides NavigationView and NavigationLink for this purpose.
A list is used in SwiftUI to present rows of data in a single column. This was
previously done using UITableView in UIKit. Use of the list container in SwiftUI
simplifies the amount of code to create a simple list of items as well as allowing
custom layout of the rows in the list.
Circular rings are used frequently to show progress on a particular task or project.
There has been a lot more awareness and discussion on closing activity rings since
the introduction of the Apple watch. In this article we will create a circular
progress indicator with the percentage complete displayed in the center.
Animations can be used to give an App character and help bring the App to life. They
can be used to explain how an app works, enhance navigation between screens or simply
direct a user's attention. In this article we show how to animate the change of a
shape from a triangle to a square or a circle.
Images can be used in a variety of ways to create engaging and entertaining iOS Apps.
Images can be used as backgrounds, icons, buttons and to improve content. This article
shows how to add an image in Xcode and goes through some of the display modifiers
to use to control the image display.