Skip to content
Ahmed Fathi Bekhit edited this page Oct 2, 2017 · 8 revisions

Framework

NotchToolkit

Enabling developers to use the iPhone X notch space in creative ways


Overview

The NotchToolkit framework is built using Apple's UIKit to create a UIView with UICollectionView subview that tracks the iPhone X notch in all orientations. The view and collection view can be configured using variables supported in the framework.

Topics

Classes

class NotchToolbar

The NotchToolbar is the class that handles the initialization and configuration of the NotchBar, initializing the protocols, and triggering protocols when an events are changed.

class NotchBar

The NotchBar is the class that handles drawing the notch bezier path, mode, height, background color, corner radii, animation intervals, and the visibility of the view.

Protocols

protocol NotchToolbarDelegate

The NotchToolbarDelegate protocol defines the methods that handle events related to device orientation changes and tool icons selection.

Reference

NotchToolkit Enumerations

NotchToolkit Docs

Classes

Protocols

Enumerations

enums

Clone this wiki locally