tombenner / nui

Style iOS apps with a stylesheet, similar to CSS
MIT License
3.76k stars 460 forks source link

Create Dedicated Graphics Engine #34

Open tombenner opened 11 years ago

tombenner commented 11 years ago

This has already begun in a small sense with NUIGraphics. The next big step might be to support a box model that supports properties like margin, padding, border-*, box-shadow, and use this for all UI elements. Setting up support for custom graphics allows for many other applications, too, of course.

If anyone has thoughts on what the most valuable features would be for this, feel free to chime in.

kaishin commented 11 years ago

I'm not sure about a dedicated box model at this point, but I highly see the benefits of a graphics engine and would love to contribute.

The features I think matter most are border, background (multiple?), box-shadow (with inset support), text-shadow, text-color and border-radius.

Legoless commented 10 years ago

I would love to see features like this implemented, but please do not bring the entire mess that is CSS into NUI. Each property you add, the steeper is the learning curve.

eonist commented 8 years ago

I have a Dedicated Graphics Engine:

https://github.com/eonist/swift-utils#graphicskit-️

img