     
     /// Set title padding scale to view left and right tiltle / view
     var titlePaddingScale: CGFloat = 0.8 {
-        didSet {
-            reloadData()
-        }
+        didSet { reloadData() }
     }
     
     /// Show all item in picker view, once set true titlePadding will not work here
     var showAllItem = false {
-        didSet {
-            reloadData()
-        }
+        didSet { reloadData() }
     }
     
     /// Set title text color for MBPicker View
     var titleAttributes: MBPickerViewTitleAttribute! = MBPickerViewTitleAttribute.defaultAttribute() {
-        didSet {
-            reloadData()
-        }
+        didSet { reloadData() }
     }
     
     /// Select a specific item in MBPickerView

    
    /// Set to manupate and configure data set for pikcer view
    weak var dataSource: MBPickerViewDataSource? {
        didSet{
            reloadData()
        }
    }
    
    /// Reload data, it will call all the data source

    /// Calculate item width along with scale padding
    fileprivate var cellWidth: CGFloat {
        if showAllItem {
            return pickerCollectionView.bounds.width/CGFloat(itemCount)
        }
        return max(pickerCollectionView.bounds.width - (titlePadding*2), 0)
    }
