flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
600 stars 40 forks source link

implement UIImage(named: String) #185

Closed ephemer closed 6 years ago

ephemer commented 6 years ago

Type of change: feature

Motivation

The most common way of loading images programatically on iOS is with the API UIImage(named: String). That API doesn't require including a file extension or the @2x (etc) modifier to get the correct image type for your current screen settings.

We want to be able to use this API in our apps too.