Question: My model comes from Core Data.
My beans have images stored in the model as NSData.

To display my images, I need to do :

```
[UIImage imageWithData:bean.imageData] 

```

Is it OK if I do that everywhere ? I mean, from view #1 I display image by creating [UIImage imageWithData:], then I go on view #2 where I need to display the same image, but I only pass the bean between the 2 views, so I recreate the UIImage with [UIImage imageWithData].

I am wondering whether it takes too many CPU or memory if I do this... Do I need to manage a cache myself ? I think this might be quite common use case with CoreData so is there a common pattern to handle this ?

Answer: 
The problem is that you're trying to transform an `inline` element - this isn't possible.

You'll [need to change](http://jsfiddle.net/88g5P/42/) the display value of the glyphicon to inline block. 

---

Here are the details from the [CSS Transforms Module](http://www.w3.org/TR/css-transforms-1/#transformable-element):

**transformable element**

> 
> A transformable element is an element in one of these categories: 
> 
> 
> 

* an element whose layout is governed by the CSS box model which is either a block-level or atomic inline-level element, or whose display property computes to table-row, table-row-group, table-header-group, table-footer-group, table-cell, or table-caption [CSS21]
* an element in the SVG namespace and not governed by the CSS box model which has the attributes transform, ‘patternTransform‘ or gradientTransform [SVG11]`
you need to override the icon's display setting, since the rotation won't work on inline elements

```
.widgetbox [class*="icon-"] {

     ...

     display:block;
}

```