-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81426e2
commit f1e4537
Showing
24 changed files
with
663 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**EXTENSION** | ||
|
||
# `WindowSceneGroup` | ||
|
||
## Methods | ||
### `windows()` | ||
|
||
Get the windows described by the group. | ||
- Returns: The windows. | ||
|
||
### `update(_:)` | ||
|
||
Update the windows described by the group. | ||
- Parameter storage: The window's storage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
**PROTOCOL** | ||
|
||
# `WindowSceneGroup` | ||
|
||
A structure conforming to `WindowScene` can be added to an app's `scene`. | ||
|
||
## Properties | ||
### `body` | ||
|
||
The group's content. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
**STRUCT** | ||
|
||
# `Window` | ||
|
||
A structure representing a simple window type. | ||
|
||
Note that multiple instances of a window can be opened at the same time. | ||
|
||
## Properties | ||
### `id` | ||
|
||
The window's identifier. | ||
|
||
### `content` | ||
|
||
The window's content. | ||
|
||
### `open` | ||
|
||
Whether an instance of the window type should be opened when the app is starting up. | ||
|
||
## Methods | ||
### `init(id:open:content:)` | ||
|
||
Create a window type with a certain identifier and user interface. | ||
- Parameters: | ||
- id: The identifier. | ||
- open: The number of instances of the window type when the app is starting. | ||
- content: The window's content. | ||
|
||
### `createWindow(app:)` | ||
|
||
Get the storage for the window. | ||
- Parameter app: The application. | ||
- Returns: The storage. | ||
|
||
### `createGTUIWindow(app:)` | ||
|
||
Get the window. | ||
- Parameter app: The application. | ||
- Returns: The window. | ||
|
||
### `getViewStorage(window:)` | ||
|
||
Get the storage of the content view. | ||
- Parameter window: The window. | ||
- Returns: The storage of the content of the window. | ||
|
||
### `update(_:)` | ||
|
||
Update a window storage's content. | ||
- Parameter storage: The storage to update. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.