title: How to add Material Design Button in iOS swift app?
body: <p>I have read the manual (<a href="https://material.io/develop/ios/components/buttons/" rel="nofollow noreferrer">https://material.io/develop/ios/components/buttons/</a>), but still have not understood how to do it.</p>
  
  <pre><code>class FloatingButtonController: UIViewController {
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      let floatingButton = MDCFloatingButton()
      floatingButton.setImage( UIImage(named: "plus"), for: .normal)
      floatingButton.backgroundColor = .white
      floatingButton.setElevation(ShadowElevation(rawValue: 6), for: .normal)
      floatingButton.addTarget(self, action: #selector(btnFloatingButtonTapped(floatingButton:)), for: .touchUpInside)
      self.view.addSubview(floatingButton)
  }
  
  @objc func btnFloatingButtonTapped(floatingButton: MDCFloatingButton){
      floatingButton.collapse(true) {
          floatingButton.expand(true, completion: nil)
      }
  }
  }
  </code></pre>
  
  <p>My project on the screen. As you can see - the button is missing on the screen. When you click on a blank screen errors appear.</p>
  
  <blockquote>
    <p>Button touch target does not meet minimum size guidlines of (48, 48). Button: >, Touch Target: {0, 0}</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/2K6x7.png" rel="nofollow noreferrer">Screenshot of my project</a></p>
  
  <p>Tell me, please, what am I doing wrong? And how do I get the job right?</p>