Documentation
The documentation for any programming language is an indispensable resource, and Swift’s is no exception.
Open the documentation that shipped with Xcode by clicking Help → Documentation and API Reference at the top (Figure 9.3).
Figure 9.3 Help menu
A new window will open. In the search bar at the top, type in “Array” and hit Return on your keyboard. This will open the documentation for Swift’s Array type, as in Figure 9.4.
Figure 9.4 Opening the documentation
Get Swift Programming: The Big Nerd Ranch Guide 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.