                              completion: CocoaBarAnimationCompletionClosure?) {
         
         self.showAnimated(animated,
-                          duration: duration.rawValue,
+                          duration: duration.value,
                           layout: layout,
                           populate: populate,
                           completion: completion)

public typealias CocoaBarPopulationClosure = (layout: CocoaBarLayout) -> Void
public typealias CocoaBarAnimationCompletionClosure = (animated: Bool, completed: Bool, visible: Bool) -> Void

public enum DisplayDuration: Double {
    case Short = 2.0
    case Long = 4.0
    case ExtraLong = 6.0
}

public class CocoaBar: UIView, CocoaBarLayoutDelegate {

                                   completion: CocoaBarAnimationCompletionClosure?) {
        
        CocoaBar.showAnimated(animated,
                              duration: duration.value,
                              layout: layout,
                              populate: populate,
                              completion: completion)
