 
 	var image:UIImage? {
 		get {
-			return imageView.image
+			return _image
 		}
 		set {
-			imageView.image = newValue
+			_image = newValue
 			setNeedsLayout()
 		}
 	}


class CenteredImageView : UIView {

	private (set) var imageView:UIImageView!

	required override init(frame: CGRect) {

				// just center image
				imageView.frame = CGRect(center: bounds.center, size: image.size).integerRect
			}

			imageView.image = image.imageByScalingToSize(imageView.frame.size, scale: 0)
		}
	}

