 
     override open var tintColor: UIColor? {
         didSet {
-            for item in formatBarItems {
+            for item in items {
                 item.tintColor = tintColor
             }
         }


    open var disabledTintColor: UIColor? {
        didSet {
            for item in formatBarItems {
                item.disabledTintColor = disabledTintColor
            }
        }

import UIKit


// MARK: - FormatBar
//
open class FormatBar: UIView {

    open weak var formatter: FormatBarDelegate?


    open var items = [FormatBarItem]() {
        willSet {
            for item in items {
                item.removeFromSuperview()
            }
        }
        didSet {
            for item in items {
                configureButtonStyle(item)
                configureButtonAction(item)
            }
