Skip to content

Commit cda0f37

Browse files
committed
feedback applied from Jake and Max
1 parent e8cde4b commit cda0f37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/PackageManagerDocs/Documentation.docc/IntroducingPackages.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ Learn to create and use a Swift package.
44

55
## Overview
66

7-
A package consists of Swift source files, including the `Package.swift` manifest file.
7+
A package consists of a `Package.swift` manifest file along with source files, resources, and other assets.
88
The manifest file, or package manifest, defines the package's name and its contents using the PackageDescription module.
99

1010
Each package declares `Products`, a list of what the package produces.
1111
Types of products include libraries, executables, and plugins:
1212

13-
- A library defines a module that can be imported by other Swift code.
13+
- A library defines a module that can be imported by other code.
1414
- An executable is a program that can be run by the operating system.
1515
- A plugin is executable code that the Swift Package Manager may use to provide additional commands or build capabilities.
1616

17-
The package can also declare `Dependencies`, most frequently other swift packages that provide modules you use.
17+
The package can also declare `Dependencies`, most frequently other Swift packages that provide modules you use.
1818
Dependencies can also provide macros, plugins, or reference system or binary (non-source) dependencies.
1919

2020
Each product is made up of one or more `Targets`, the basic building block of a Swift package.
@@ -27,7 +27,7 @@ Swift organizes code into _modules_.
2727
Each module specifies a namespace and enforces access controls on which parts of that code can be used outside of that module.
2828

2929
A program may have all of its code in a single module, or it may import other modules as _dependencies_.
30-
Aside from the handful of system-provided modules, such as Darwin on OS X or GLibc on Linux, most dependencies require code to be downloaded and built in order to be used.
30+
Aside from the handful of system-provided modules, such as Darwin on macOS or Glibc on Linux, most dependencies require code to be downloaded and built in order to be used.
3131

3232
Extracting code that solves a particular problem into a separate module allows for that code to be reused in other situations.
3333
For example, a module that provides functionality for making network requests could be shared between a photo sharing app and a program that displays the weather forecast.

0 commit comments

Comments
 (0)