     
     let tableView = UITableView()
     var designCells:[UITableViewCell]?
-    var designFont:UIFont?
+    var designFont:UIFont? {
+        didSet{
+            if Thread.isMainThread {
+                demoFontLabel.font = designFont
+            }else{
+                DispatchQueue.main.async {
+                    self.demoFontLabel.font = self.designFont
+                }
+            }
+        }
+    }
     var property:String?
     var selectedCell:DesignViewCell?
     var delegate:FontSelectorViewControllerDelegate?
+    var demoFontLabel = UILabel()
 
     override func viewDidLoad() {
         super.viewDidLoad()

        }
        tableView.reloadData()
        
        // Do any additional setup after loading the view.
        let doneButton = UIBarButtonItem(barButtonSystemItem: .done, target: self, action: #selector(doneClick))
        self.navigationItem.rightBarButtonItem = doneButton

}

class FontList:UITableViewController {
    
    
    
    var selectedFontFamily:String?
    var selectedFont:String?
