     open override func viewDidLoad() {
         checkTableView(preferredStyle)
         
+        #if os(iOS)
         NotificationCenter.default.addObserver(self, selector: .willAppear, name: Notification.Name.UIKeyboardWillShow, object: nil)
         NotificationCenter.default.addObserver(self, selector: .willDisappear, name: Notification.Name.UIKeyboardWillHide, object: nil)
+        #endif
         NotificationCenter.default.addObserver(self, selector: .contentSizeChanged, name: NSNotification.Name.UIContentSizeCategoryDidChange, object: nil)
         
         tableView.estimatedRowHeight = 44

        tableView.contentInset = UIEdgeInsets.zero
    }
}



private extension Selector {
    static let contentSizeChanged = #selector(InputCellsViewController.contentSizeChanged)
    
    #if os(iOS)
    static let willAppear = #selector(InputCellsViewController.keyboardWillAppear(notification:))
    static let willDisappear = #selector(InputCellsViewController.keyboardWillDisappear(notification:))
    #endif
}

public class InputCellsSection {
