Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Go to our ShoppingListTableViewController.swift file and update one line inside the didSelectAdd method. "

A block of code is set as follows:

html, body, #map { height: 100%;  margin: 0; padding: 0}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

@IBAction func didSelectAdd(_ sender: UIBarButtonItem) {  requestInput(title: "Shopping list name",    message: "Enter name for the new shopping list:", handler: { listName ...

Get Hands-On Full-Stack Development with Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.