Commit f1e6a3d
Shrine refactor header page into it's own file (#1157)
* Extracts header code into method removing repetition
* [AppBar] Header stack view in AppBarController (#1121)
Since the header stack view is going to be laid out with auto layout, it should be inited with a CGRectZero. Doing it with self.view.bounds creates a tiny loop since the view is not loaded yet.
* [ThumbTrack] Remove extra UIColor categories (#1122)
* Pull the functionality of UIColor+MDC into MDCThumbTrack.
MDCThumbTrack is now the only class using this behaviour, so three extra files have been removed now that they are no longer necessary.
* Fixed colon alignment.
* [Ink] Add nonnull to the MDCInkTouchController initializer (#1123)
* Specify `nonnull` on the MDCInkTouchController initializer.
This is a quick change since the initializer was never returning nil to begin with.
* Update Shrine to use the nonnull MDCInkTouchController initializer.
* Formatted all Objective-C sources with clang-format. (#1133)
* [Scripts] Add scripts for "prepping" and cleaning the library/catalog/demo apps. (#1130)
* Changed build_all to echo the xcodebuild command it is executing.
* Added a clean_all script.
* Added a prep_all script.
* Updated README.md with new scripts.
* Change Travis CI to use the new `prep_all` script.
* Added a script to format Objective-C sources with clang-format. (#1132)
* Added comment about Travis CI's 10.1 device bug. (#1135)
* Removed the private/Color subspec. (#1128)
* [Catalog] Center views in the Buttons (Swift and Storyboard) demo (#1126)
* Center the Storyboard button demo.
This uses an outer container to set up a view which is 50% the screen width (to allow for the other half of the button demo), and then an inner container to vertically and horizontally center the buttons.
* Center the buttons added programatically.
* Weakify strongify asynchronously dispatched snackbar view dismissal (#1136)
* Update the button’s custom title color when the tint color changes. (#1134)
* Add travis_wait prefixes on long-running commands.
* Render Snackbar labels correctly for RTL (#1137)
* Change the MDCInteractionTest deployment target to 8.0. (#1131)
* Turn `inkController` into a lazy var. (#1139)
This removes the need for storing it as an optional.
* [ProgressView] Backward animation support (#1138)
* Add backward progress animation mode support.
This allows users to animate the progress view backward if they are giving it progress which is lesser than the current value.
* Demonstrate the backward progress animation support.
* Update the assets for the progress view.
* Change ProgressViewExample with new enum name.
* Updated enum names.
* Update with new enum names.
* Added script to install SwiftLint. (#1143)
* Ran scripts/format_all. (#1141)
* [Scripts] SwiftLint integration (#1129)
* Integrate SwiftLint in the Catalog.
* Update the disabled SwiftLint rules.
* Reference a local swiftlint.yml symlink.
This prevents us from getting warnings about code style violations from the other demos.
* Fix SwiftLint violations in the Catalog and Components.
* Ignore the `third_party` directory when running the linter.
We should not have to deal with warnings in code we may not be able to fix easily.
* Integrate SwiftLint into Shrine.
Additionally, fix a number of warnings introduced.
* Run SwiftLint on Travis.
* Enable many of the previously disabled rules and correct them.
* Fix control statement violations from SwiftLint.
* Update README.md
* Ignore "error" from already-installed brew packages.
* [FlexibleHeader] - Update tests so as not to have 0 in contentSize (#1146)
* Fixed broken links to versions.md.
* Added component changes to CHANGELOG.md.
* Added API diff, determined new version number is 20.0.0.
* Bumped version number to 20.0.0.
* Tell `brew install` to stop failing if swiftlint is already installed.
* Changed clean script to force-clean Xcode projects. (#1144)
* Fix SwiftLint warnings (#1149)
* Exclude catalog/third_party from SwiftLint.
* Added line length to .swiftlint.yml
* Fixed SwiftLint warnings with some minor refactors.
* Install SwiftLint via the install_contributor_tools script. (#1145)
* Install SwiftLint via the install_contributor_tools script.
* Exclude catalog/third_party from SwiftLint.
* Added line length to .swiftlint.yml
* Fixed SwiftLint warnings with some minor refactors.
* Revert "Fixed SwiftLint warnings with some minor refactors."
This reverts commit 2c19802.
* Revert "Added line length to .swiftlint.yml"
This reverts commit 12a6781.
* Revert "Exclude catalog/third_party from SwiftLint."
This reverts commit 8a00ad8.
* [Collections] Added custom Storyboard cell to the Storyboard example. (#1152)
* [Feature highlight] Dynamically size inner highlight (#1151)
* Use instance based inner radius
* Warning re ios sim
* Scale outer highlight to encircle inner highlight
* Dont scale innerhighlight pulsing with inner highlight size
* Reset highlight example supplemental:
* Build fix: CGFloat casts missing from MDCFeatureHighlightView.m.
* More SwiftLint fixes for unit tests and example apps. (#1154)
* ClangFormat changes.
* Added swiftlint to scripts/format_all.`
* Fix scripts/lint_all to work from any directory.
* Fixed swiftlint invocation.
* Remove the checks for force casting (! operator).
* Some fixes.
* More Swift fixes.
* [Snackbar] Message View Styling. (#1120)
* Snackbar Message View Styling.
* Small alteration to how colors are generated for the unit tests.
* Not styling the snack bar in the init method.
* Default styling for background views.
* Remove overriding the styling in init.
* Looks like swiftlint is already installed by default on travis-ci
boxes. Trying this as an experiment.
* Trying this?
* Cant get unit tests to pass as there’s no window to add the message
view to with logic tests.
* Fixed Shrine compilation.
* [AppBar] - Added Modal Presentation App Bar Example (#1153)
* ModalAppBar - Added additional AppBar example to display modal AppBar vc example
* ModalAppBar - Added swift modal example
* ModalAppBar - Updated naming
* ModalAppBar - Updated swift example
* ModalAppBar - Indentions and removed setting nil to title property
* Moves the initialization of the header page into separate file
* Moves the initialization of the header page into separate file1 parent ebef419 commit f1e6a3d
File tree
4 files changed
+107
-71
lines changed- demos/Shrine
- Shrine.xcodeproj
- Shrine
4 files changed
+107
-71
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
268 | 271 | | |
269 | 272 | | |
270 | 273 | | |
| 274 | + | |
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 22 | | |
33 | 23 | | |
34 | 24 | | |
| |||
87 | 77 | | |
88 | 78 | | |
89 | 79 | | |
90 | | - | |
| 80 | + | |
91 | 81 | | |
92 | 82 | | |
93 | 83 | | |
94 | 84 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
144 | 89 | | |
145 | 90 | | |
146 | 91 | | |
| |||
191 | 136 | | |
192 | 137 | | |
193 | 138 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | 139 | | |
204 | 140 | | |
205 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
0 commit comments