Skip to content
An example app used for tutorial demonstrations on darjeelingsteve.com
Swift
Branch: master
Clone or download

readme.md

Counties Sample App

The Counties sample app is the host for iOS and Apple Watch tutorials hosted on darjeelingsteve.com. The areas of development covered are as follows:

Advanced Multi-window UIs on iPadOS with Drag & Drop and State Restoration

Adaptive UI

Support for advanced multi-window user interfaces on iPadOS.

Adaptive User Interfaces with UIStackView and UICollectionView

Adaptive UI

This tutorial demontrates how to create user interfaces that adapt between different user interface environments using modern APIs.

Continuity for Apple Watch and iPhone with Handoff

Allowing Handoff of tasks from Apple Watch to iPhone is detailed in this post.

Continuity for iPhone and iPad with Handoff

Adding Handoff from iPhone to iPad, and vica versa. This is very simple once Handoff from Aple Watch to iPhone has been implemented.

Indexing App Content with Core Spotlight

Adaptive UI

Here we detail how to add an application's data set to the on-device Spotlight Search index to allow the user to search the app's content from the iOS system search UI.

Simplifying UICollectionView Usage With UICollectionViewDiffableDataSource

Both UICollectionView and UITableView received significant updates at WWDC 2019, one of which was a new way to supply said views with the data that they display. This article goes in to the detail of refactoring a view controller conforming to UICollectionViewDataSource to using a UICollectionViewDiffableDataSource instead.

Spotlight Search Enhancements in iOS 10

Adaptive UI

This tutorial details the process of allowing your app to continue Spotlight searches that the user initiates in the system search UI. This involves directly querying the Spotlight index, something which only became possible in iOS 10.

Supporting 3D Touch “Peek and Pop”

Here we learn how to add 3D Touch Peek and Pop navigation to the app. As well as the navigation, we also see how to add shortcut action items for the "Peek" stage of the navigation.

Supporting 3D Touch Application Shortcuts

Adding 3D Touch Application Shortcuts is easy, as we see in this tutorial.

You can’t perform that action at this time.