Imanou Petit's repositories
Margins-And-Safe-Area
13 examples with big coloured squares to understand margins and safe area in UIKit (iOS 11)
TextKit-CircularTextView
Display text in a circle using UITextContainer's exclusionPaths property
Save-and-read-JSON-from-Playground
Save and read JSON from Playground
UIViewDragAndDropApp
Drag a UIView from its superView and drop it to another UIView
CollectionView-Columns-Examples
Four examples that show how to set a specific number of cells per row in a UICollectionView (using autoresizing cells, Auto Layout or Spring and Struts)
HeaderAndSupplementaryViews
A basic implementation of UITableViewHeaderFooterView in a UITableViewController and of UICollectionReusableView in a UICollectionViewController
CollectionViewStretchyHeaders
A collection view with a stretchy header
ContainerTransition
Animate addChildViewController transitions using transition(from:to:duration:options:animations:completion:) or UIViewControllerContextTransitioning
Left-and-right-panel-interactive-custom-presentation
This sample code shows how to use a custom presentation controller to create a custom (interactive) view controller presentation
LinkTextViewCell
Detect Data in UITextView inside a UITableViewCell
RotateGradients
6 ways to manage rotation for UIViews that have gradients
TextKit-ColumnTextViewApp
Draw a view that contains two columns of text
TextKit-MovingExclusionPath
Two examples that show how to add a UIView or UIImageView in UITextView and make it draggable accordingly with text using UITextContainer's exclusionPaths property
UIPageCollectionViewController
Bind a UICollectionView with a UIPageViewController (Swift 4)
CAShapeLayerExamples
Examples of CALayer / CAShapeLayer animations
CustomPageViewApp
A view controller that binds a UIPageViewController childViewController and a UISegmentedControl
LeftAlignedCollectionViewCellsApp
A UICollectionViewController with headers and left aligned cells
NavigationControllerTransitioningApp
Custom UINavigationController animations & interactions
PopoverDemo
Auto-resizing popover controllers
ScaledModalTransitionApp
A custom transition that scales and fades to present or dismiss a modal view controller
UICollectionView-and-autoresizing-cells
Create a UICollectionView that has a single column and autoresizing cells (using Auto Layout)
UICollectionViewCompositionalLayout-1
Different kind of Layouts
ViewControllerPresentation
Playground for trying out all presentation styles. Seeing them live gives a much better understanding than reading the documentation.