Skip to content

ios

fn application_main #

fn application_main(argc int, argv &&char, delegate_class_name string) int

Start the UIKit application run loop.

fn color #

fn color(hex u32) macos.Id

Create a UIColor from a hex value (0xRRGGBB).

fn color_alpha #

fn color_alpha(hex u32, alpha f64) macos.Id

Create a UIColor from a hex value with alpha.

fn index_path #

fn index_path(row int, section int) macos.Id

Create an NSIndexPath for a row in a section.

fn index_path_row #

fn index_path_row(index_path macos.Id) int

Get the row index from an NSIndexPath.