IosDsImages

interface IosDsImages : DsImages

iOS-specific contract for design system image assets. Image keys generated or defined on iOS must implement this interface to resolve to bundle asset names.

Properties

Link copied to clipboard
val DsImages.uiImage: UIImage

Resolves and loads this DsImages key to a native iOS UIImage instance from our bundle.

Functions

Link copied to clipboard
@Composable
actual fun DsImages.toCoilModel(): Any

Resolves the DsImages asset to a platform-specific model suitable for third-party image loading libraries (such as Coil, Kamel, etc.) without introducing direct library dependencies into the design system.

@Composable
expect fun DsImages.toCoilModel(): Any

Resolves the DsImages asset to a platform-specific model suitable for third-party image loading libraries (such as Coil, Kamel, etc.) without introducing direct library dependencies into the design system.

actual fun DsImages.toCoilModel(): Any

Resolves the DsImages asset to a platform-specific model suitable for third-party image loading libraries (such as Coil, Kamel, etc.) without introducing direct library dependencies into the design system.

Link copied to clipboard
abstract fun toImageName(): String

Maps the image key to its corresponding iOS bundle asset name.