-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor FXIOS-7451 [v120] Add building blocks docc (#16834)
- Loading branch information
Showing
8 changed files
with
13 additions
and
10 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
4 changes: 2 additions & 2 deletions
4
...Kit/Sources/ComponentLibrary/Documentation.docc/Building Blocks/ActionButton.md
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# ``ComponentLibrary/ActionButton`` | ||
|
||
TODO with FXIOS-7451 | ||
A convenience button class to add a closure as an action on a button instead of a selector. | ||
|
||
## Overview | ||
|
||
TODO with FXIOS-7451 | ||
The `ActionButton` is a subclass of the `ResizableButton`. The purpose of this class is only to be able to use a closure as an action, which is sometimes more conveniant than having a selector. |
10 changes: 8 additions & 2 deletions
10
...t/Sources/ComponentLibrary/Documentation.docc/Building Blocks/FadeScrollView.md
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 |
---|---|---|
@@ -1,7 +1,13 @@ | ||
# ``ComponentLibrary/FadeScrollView`` | ||
|
||
TODO with FXIOS-7451 | ||
A scroll view that adds a fade at top or bottom when it scroll to indicate more content is available to user. | ||
|
||
## Overview | ||
|
||
TODO with FXIOS-7451 | ||
The `FadeScrollView` is a subclass of the `UIScrollView`. This scroll view adds a gradient layer either at it's top, bottom or both depending of how much content there is to scroll. This indicates to the users that more content is available. This can be particularly useful with dynamic type since content often overflow with bigger font sizes. There is no configuration to be made to this scroll view, you can use it as an ordinary one. | ||
|
||
## Illustration | ||
|
||
> This image are illustrative only. For precise examples of iOS implementation, please run the SampleApplication. | ||
![The FadeScrollView on iOS](FadeScrollView) |
4 changes: 2 additions & 2 deletions
4
.../Sources/ComponentLibrary/Documentation.docc/Building Blocks/ResizableButton.md
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# ``ComponentLibrary/ResizableButton`` | ||
|
||
TODO with FXIOS-7451 | ||
This class is a button that enables resizing with dynamic type. | ||
|
||
## Overview | ||
|
||
TODO with FXIOS-7451 | ||
The `ActionButton` is a subclass of the `UIButton` which enables resizing with dynamic type. This is a building block component for developement purpose, and isn't the designer component in itself. See ``PrimaryRoundedButton`` and ``SecondaryRoundedButton`` for the designer button components. The `buttonEdgeSpacing` shouldn't normally be adjusted and be kept as is. | ||
|
Binary file added
BIN
+63.6 KB
...serKit/Sources/ComponentLibrary/Documentation.docc/Resources/FadeScrollView.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+59.9 KB
...t/Sources/ComponentLibrary/Documentation.docc/Resources/FadeScrollView~dark.png
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