# ferroui_ios

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-ios/

**module** · [`ferroui-ios`](/docs/0.5.0/api/ferroui-ios/) · v0.5.0

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/iOS/FerroUI.iOS/lib.rs#L1)

## Contents

- [`IosPlatformOptions`](/docs/0.5.0/api/ferroui-ios/platform/struct-iosplatformoptions/) — struct
- [`IosRenderingMode`](/docs/0.5.0/api/ferroui-ios/platform/enum-iosrenderingmode/) — enum
- [`FerroView`](/docs/0.5.0/api/ferroui-ios/ferro_view/struct-ferroview/) — struct

## Availability

Extracted for `aarch64-apple-ios`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
