FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferroui_ios

    module · ferroui-ios · v0.5.0

    module ferroui_ios
    

    ferroui-ios

    The platform of FerroUI for iOS: a UIView that hosts a top-level, the application delegate with the single-view lifetime, the dispatcher on the run loop of the main thread, the render timer on a display link, Metal or OpenGL ES graphics over the layer of the view, touch, key and scroll input, text input from the keyboard of the system, the settings of the system, the safe area and the screens. docs/porting/ios-platform.md has the design, the file table and the stages.

    The platform calls UIKit, Core Animation, Metal and EAGL through the objc2 family of crates; nothing of it is written in Objective-C. Everything that touches UIKit exists on iOS only. What is logic and not a call into the system (the options, the translation of touches, the safe area, the geometry of a screen, the insets manager, the lifetimes' contracts) builds on every system, and the dispatcher builds on every Apple system (it needs Core Foundation and libdispatch only): that is what the tests of the crate run on the development machine.

    View source

    Contents

    Availability

    Extracted for aarch64-apple-ios, aarch64-apple-darwin. Cargo features are listed in the crate index.