Creating and managing files
So far on our tour of Xcode we've been looking at and fiddling with all of the files that were automatically created when we started the project. Now we're going to take a look at the different types of resources that are used in a typical Xcode project and how to create, import, and manage them.
Resource types
While the number of resource types that Xcode can handle is quite large, there are only three resource types that you'll need to know about for most use cases. These are the Swift file, the Storyboard, and the Asset Catalog. We've already seen an example of all three resource types, but before we continue we should get a better understanding of what they are used for and how they work.
A Swift source file is a text ...
Get Learning Xcode 8 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.