A split view controller manages the presentation of two child view controllers in a two-column layout also called a master-detail interface.
The view controller displayed in the left column is called the primary (master) view controller and the view controller on the right side is called the secondary (detail) view controller. Actions by the user in the master view controller change what is displayed in the detail view controller.
At this years WWDC Apple announced that Xcode 11 will contain support for using Swift packages through the Swift Package Manager. This is great news for developers of Apple platforms as it will allow us to create, publish, add, remove and manage dependencies straight from Xcode. Let us have a look at how to work with this exciting new feature.
Last week at WWDC Apple announced a lot of exciting new features and frameworks. One of my favorites was the introduction of diffable data sources for
UICollectionView. Let us dive right in and see how it can be used in combination with
Unit testing is a great tool to ensure the quality and reliability of your code.
A good test suite gives you confidence that your code does what it intends to do and that you will not introduce any bugs in your app when introducing a new feature or refactoring. Let us have a look at some tips and best practices to keep in mind when creating such a test suite.
The main advantage that
UICollectionView has over
UITableView is that you have full control over its layout. If you are used to working with
UITableView you can get up to speed with
UICollectionView fast as a big part of the API looks quite familiar to that of
UITableView and the build in layout is great for most use cases. However the exiting part of creating custom layouts will be new and can sometimes get quite complex.