update docs with macos platform
This commit is contained in:
parent
4441c5ac08
commit
a8abbd4caa
@ -3,3 +3,4 @@
|
||||
- [david-swift](https://github.com/david-swift)
|
||||
- [Greg Cotten](https://github.com/gregcotten)
|
||||
- [Zev Eisenberg](https://github.com/ZevEisenberg)
|
||||
- [Jay Wren](https://github.com/jrwren)
|
||||
|
||||
@ -29,6 +29,12 @@ targets: [
|
||||
]
|
||||
```
|
||||
|
||||
4. On macos you may need to set the platform version. Add the following after `name: "HelloWorld",`:
|
||||
|
||||
```swift
|
||||
platforms: [.macOS(.v10_15)],
|
||||
```
|
||||
|
||||
## Create the App
|
||||
1. Navigate to `Sources/main.swift`.
|
||||
2. An app that uses the _Adwaita_ framework has a structure that conforms to the `App` protocol. The `scene` property returns one or more windows which provide content for display. An `@main` attribute marks it as the entry point of the app.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user