n.insertController();
navBarController.backButton.insertController();
navBarController.searchButton.insertController();
navBarController.searchInput.insertController();
navBarController.cancelSearch.insertController();

function createSheetController(i) {
  const sheetTitle = "Sheet " + i;
  const sheetController = new swim.SheetController().set({
    title: sheetTitle,
    searchable: i % 2 !== 0,
  });
  const sheetView = sheetController.sheet.attachView();
  sheetView.dismiss(false);
  const headerView =