title: How to place toolbar above (or below) scrolling tableview
body: <p><strong>ENVIRONMENT:</strong> <ul>
  <li>Xcode 7.3.1</li>
  <li>iOS 9.3</li></ul>
  <strong>OBJECTIVE:</strong><ul><br>
  A scrollable table view with a toolbar (or distinct buttons) in a fixed location (either above or below) relative to the scrolling table.</ul>
  <strong>STORYBOARD:</strong><ul>
  Originally I just had the tableview and added a toolbar to it, however the toolbar is sitting within the tableview.<br>
  I later found this option for the Bottom Bar: Opaque Toolbar, but cannot figure out how to utilize it / move my toolbar into the space provided (which looks like what I want)<ul>
  <img src="https://dl.dropboxusercontent.com/u/21776252/scroll_00.png" alt="storyboard"></ul></ul>
  <strong>CURRENT RESULTS:</strong><ul>
  If I only have a few cells, e.g.: 5 or 10, then the results are “okay”, but not “great”:<ul>
  <img src="https://dl.dropboxusercontent.com/u/21776252/scroll_01.png" alt="okay"></ul></p>
  
  <p>However, if I have a large number of cells, e.g.: 20, then the problem I was trying to avoid is immediately apparent:<ul>
  <img src="https://dl.dropboxusercontent.com/u/21776252/scroll_02.png" alt="bad"></ul></ul>
  <strong>QUERY:</strong>
  <li>Can I accomplish what I want from within the Xcode UI?<ul>
  <li>If so, can someone provide some pointers / steps that I need to take to do so?</li></ul></li>
  <li>Or do I need to do this within the Swift code?<ul>
  <li>Again, pointers / steps / generic code example gratefully appreciated.</li></ul></li><br/><br/>
  <hr>
  <strong><em>WRT 2016-09-15 Edit in Answer #1</em></strong><br/></p>
  
  <blockquote>Embed the initial View Controller (the one with the buttons) in an `UINavigationController`.</blockquote>
  
  <p>I don't see how to do that, as the only thing I seem to be able to embed within the navigation controller is a <strong>Tab Bar Controller</strong><ul>
  <img src="https://dl.dropboxusercontent.com/u/21776252/scroll_03.png" alt="embed"></ul></p>
  
  <blockquote>If not already created, make a `UITableViewController` class and link it to your Table View Controller.</blockquote>
  
  <p>I already have <code>class ExistingLocationsViewController: UITableViewController { ... }</code> (and a <code>class ExistingLocationTableViewCell: UITableViewCell { ... }</code>) linked, I believe, appropriately<br/></p>
  
  <blockquote>Add this code to the class in order to make the Toolbar appear and disappear when you are viewing the Table View:<br/><pre>
      import UIKit
      class ViewController: UITableViewController {
          override func viewDidLoad() {
              super.viewDidLoad()
              navigationController?.isToolbarHidden = false
          }
          override func viewWillDisappear(_ animated: Bool) {
              navigationController?.isToolbarHidden = true
          }
      }</pre>
  This should be all you'll have to do. If you want to edit the toolbar make it visible while you are editing it and afterwards hide it again.</blockquote>
  
  <p>FYI, in my Xcode, iOS version, the property appears to be named <code>toolbarHidden</code>  (<em>not</em> <code>**isT**oolbarHidden</code>)
  <hr>
  <strong><em>ANOTHER APPROACH (2016-09-17)</em></strong><br>
  Going back a step (or two), I noticed an option with the Table View Controller and tried to make use of it, but it didn't seem to work. See image (and text within) for details:<ul>
  <img src="https://dl.dropboxusercontent.com/u/21776252/scroll_04.png" alt="embed"></ul><br/><br/>
  When I run the app, it doesn't seem to make any difference (again, see image):<ul>
  <img src="https://dl.dropboxusercontent.com/u/21776252/scroll_05.png" alt="embed"></ul><br/><br/>
  Am I doing something wrong?, or completely misunderstanding the Xcode interface?</p>