56 Commits

Author SHA1 Message Date
Nobody
7b8b54a3cf [MDCButton] titleFontForState: return value is never null, mark as nonnull.
PiperOrigin-RevId: 425549752
2022-02-01 00:14:07 -08:00
Randall Li
502bc5d910 Ran a Swift formatter
PiperOrigin-RevId: 395947664
2021-09-10 09:48:14 -07:00
Jan Philipp Sachse
8ebb509555 Add MDCNavigationBarTitleViewLayoutBehaviorCenterFit.
This new option keeps the navigation bar's title view at its intrinsicContentSize's width.

PiperOrigin-RevId: 375701202
2021-05-25 07:39:12 -07:00
Jeff Verkoeyen
b3fa42005b Optimizing imports
PiperOrigin-RevId: 356966407
2021-02-11 07:12:37 -08:00
Jeff Verkoeyen
d7ff705337 Drop support for iOS 9.
PiperOrigin-RevId: 326015653
2020-08-11 07:21:40 -07:00
Cody Weaver
fdf87c5995 [MDC/ColorScheme] Remove usage of init within MDC.
We recommend using `initWithDefaults` and we should follow the recommendation. This change removes all usage of `init` within MDC components in order to let us remove that initializer from the public surface.

PiperOrigin-RevId: 302958447
2020-03-25 13:36:51 -07:00
Jeff Verkoeyen
23878968f4 [NavigationBar] Remove default insets for leading titles.
After this change, the default behavior for MDCNavigationBar's titleInsets property will be dynamic. In leading mode, the default insets will be 0,0,0,0, while in centered mode the title insets will continue to be 0,16,0,16. If the titleInsets property is explicitly set then the explicitly set value will be preferred indefinitely.

PiperOrigin-RevId: 301632853
2020-03-18 11:41:35 -07:00
Cody Weaver
60c60f288c
[NavigationBar] Add MaterialElevation support. (#8115)
Adds conformance to MDCElevatable and MDCElevationOverriding to
MDCNavigationBar.

Closes #8016
2019-07-29 20:47:46 -07:00
Robert Moore
8dcf1e4a56
[*] Remove RTL snapshot method overrides. (#7996)
With #7986, most snapshot tests began overriding a method that had nearly the
same behavior.
2019-07-22 21:11:17 -07:00
Cody Weaver
3d9d2db94d
[NavigationBar] Add traitCollectionDidChange block. (#7918)
The navigation bar needs an API so clients can hook-in to trait collection changes. This additionally passes the navigation bar as a parameter so clients can modify the flexible header within the block.

Closes #7919
2019-07-15 12:43:00 -07:00
Yarden Eitan
3b4bc76524
[NavigationBar] Adds the Ripple behavior to NavigationBar. (#7602)
## Related links
* Bug: Closes #7379 
* Ripple: [Ripple](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple)

## Introduction
This PR allows enabling the Ripple Behavior for [`MDCNavigationBar`](https://github.com/material-components/material-components-ios/tree/develop/components/NavigationBar) by way of `MDCButtonBar` by enabling the ripple behavior of the internal `MDCButton`s. This behavior is an opt in flag property added to MDCNavigationBar, `enableRippleBehavior`.  This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines. We are also marking any of the Ink APIs ToBeDeprecated as part of the [Deprecation Policy](cb6b8e9599/contributing/deprecation_policy.md (step-4-add-a-comment-to-the-api-indicating-that-it-will-be-deprecated)).

## Videos
| Before | After |
| - | - |
|![oldRipple](https://user-images.githubusercontent.com/4066863/59468585-707e9980-8e00-11e9-8eb4-f6709ea3af94.gif)|![newRipple](https://user-images.githubusercontent.com/4066863/59468588-72e0f380-8e00-11e9-992f-9fecc8383dd7.gif)|
2019-06-15 17:53:35 -04:00
Robert Moore
225decbfb0
[Buttons] Fix fallback behavior for Dynamic Type. (#7514)
The `titleFontForState:` API did not correctly reflect the rendered font
when no explicit fonts were set via the MDCButton APIs. As a result,
calling `updateTitleFont` internally could result in a different font
being returned than what was displayed.

Moving the "fall back" and Dynamic Type behavior into the
`titleFontForState:` method allows more consistent behavior (reduces the
risk of deviations) and corrects the APIs to reflect what is rendered.
This change should result in no visible changes to clients (the rendered
fonts should remain the same), but will result in non-`nil` results
being returned from `titleFontForState:` to correctly reflect the
rendered font for a given state.

Part of #7492
2019-05-30 10:25:13 -04:00
featherless
f60a0b6a59
[NavigationBar] Add rectFor*Item APIs. (#7504)
These two new APIs make it possible to get the frame of the leading and trailing item views in a navigation bar. These APIs are primarily intended for use when needing to present popover or contextual elements that point to the views for individual navigation bar items.

Closes https://github.com/material-components/material-components-ios/issues/7248
2019-05-28 16:10:38 -04:00
featherless
aa62eeb107
[NavigationBar] Fix bug where titleView would disappear. (#7310)
Closes https://github.com/material-components/material-components-ios/issues/7207

Context
-------

UINavigationBar will attempt to steal a navigationItem's titleView property for its own use, even if the navigation bar is not visible. Our own MDCNavigationBar also wants to show the titleView instance but we can't stop UINavigationBar from stealing the titleView.

To protect against this behavior, MDCNavigationBar implements a "sandbag swap" of the titleView when it's assigned. UINavigationBar ends up stealing the sandbag away, while our MDCNavigationBar keeps an internal reference to the desired titleView.

Before this fix
---------------

The sandbag view would be swapped the first time titleView is assigned. If the same titleView was assigned to the navigationItem again, however, we would not swap it with a sandbag. The result is that navigationItem.titleView would be pointing at the actual view (not the sandbag) when UINavigationBar comes around to steal the titleView. The result is that the titleView would disappear from MDCNavigationBar.

After this fix
--------------

We now assign the sandbag view on every assignment, regardless of whether the view is the same or not.

I wrote a test to simulate the theft behavior of UINavigationBar. I verified that the test failed before this patch and that it passes after this patch. I also verified the original bug with the internal client's code and example.
2019-05-01 19:37:34 +03:00
featherless
a71a338460
[NavigationBar] Add titleView tests. (#7309)
These tests will help validate the fix for https://github.com/material-components/material-components-ios/issues/7207
2019-05-01 17:44:39 +03:00
Andrew Overton
b38372192f
Update to Swift 4.2 (#7166)
This PR updates the Swift version to 4.2.

Partially resolves #6874.
2019-04-17 16:59:02 -04:00
ianegordon
861cebe7e1 Revert "[Typography] Dynamic Type 2.0 (#6733)" (#6848)
This reverts commit 648f2499e80a02de28a545a223cc50f00c715097.
2019-03-12 16:36:54 -04:00
Robert Moore
b1cab54a4f
[NavigationBar] Add basic Snapshot tests. (#6821)
Includes leading/trailing items, titleView, and RTL.

Fixes #6811
2019-03-11 21:40:05 -04:00
ianegordon
648f2499e8
[Typography] Dynamic Type 2.0 (#6733)
Next iteration of our Dynamic Type.

Mimics Apple's new APIs. (UIFontMetrics)
Adds MDCFontScalar to attach curves.
Adds UIFont category to expose fontScaledForCategory methods.
Adds new MDCTypographyScheme with scalable fonts.
Adds sample to demonstrate new curves.
2019-03-08 16:15:24 -05:00
Robert Moore
800188a649
{clang-format} Format the components. (#6347)
This is a follow-up to https://github.com/material-components/material-components-ios/pull/6027

```
find components \( -name "*.h" -or -name "*.m" \) | xargs clang-format -i
```
2019-01-23 11:08:43 -05:00
Robert Moore
de31d9f2e0 [NavigationBar] Remove duplicate test helper. (#6196)
A bad merge resulted in a duplicated test helper method. Continuous builds are
failing.

Follow-up to #6136
2019-01-08 10:54:21 -05:00
Cody Weaver
59164eae27 [NavigationBar] Refactor tests to not repeat the same code multiple times (#6136)
### Context
In working on #6118  I noticed some of the test had the same setup in the _Given_ section.  This duplication of code reduces the readability of the code and the test added in #6118 will also use this function to further reduce the duplication of _Given_ in the tests.
### The problem
Some of the test had the same _Given_.
### The fix
Move the duplicate code to it's own function to improve readability and make it so test later can be simpler.
### Related bug
This was noticed when working on #6133
2019-01-07 16:59:30 -05:00
Cody Weaver
aa2d3908f5
[NavigationBar] Add inset property for title view (#6118)
### Context
Currently navigation bar has the horizontal padding of 16 on both sides as a constant. A client may meed to have a spacing of 8 on both sides, 24 on both sides or 20 on one side and 0 on the other. Currently the docs say "_The title view's width will equal the navigation bar's width minus any space consumed by the leading and trailing buttons._" - MDCTitleViewLayoutBehaviorFill but if the titleBehavior is set to this value then it fills the navigation bar's width _minus 32_ minus any space consumed by the leading and trailing buttons. 
### The problem
In MDCTitleViewLayoutBehaviorFill it doesn't _Fill_ the navigation bar and isn't customizable.
### The fix
Expose the UIEdgeInset value that is used to layout the titleView.
### Related bug
Closes #6133
2018-12-28 08:28:31 -08:00
Robert Moore
03f3351ad5
Global replace of single-precision floats with CGFloat casts. (#5718)
Replacing all non-integral, single-precision floating point literals with double-precision values explicitly cast to CGFloat.  For example, `0.1f` should become `(CGFloat)0.1`.

Regex used:
```
([0-9]*\.)([0-9]*?)([1-9]+)([0-9]*?)[fF]
```

PiperOrigin-RevId: 220683126
2018-11-12 10:50:01 -05:00
Robert Moore
675235ed05
{Tests} Deallocate test objects at the end of tests. (#5397)
Deallocating many of the properties created for each unit test. Since all
XCTestCase instances survive until the end of the test suite, any properties
created for a test will be preserved as well. This frees up around 3.7 MB
(~6%) of memory from the entire test suite, as measured on my desktop.

|Before|After|
|----|----|
|![test-objcs-before](https://user-images.githubusercontent.com/1753199/46813473-c3b9bd00-cd44-11e8-990c-28dff4ab5ad2.png)|![test-objcs-after](https://user-images.githubusercontent.com/1753199/46813481-c7e5da80-cd44-11e8-90e4-2e6d532ebbfb.png)|

See also: https://qualitycoding.org/xctestcase-teardown/

Closes #5395
2018-10-12 08:33:58 -04:00
featherless
32fe4e191a
[NavigationBar] Update layout when button bar sizes change. (#4992)
Prior to this change, changing the title of a button would often result in the button's label being clipped because the navigation bar was not updating its button bar frames when needed.

After this change, the navigation bar makes use of 471936b842e7473e51b5dc02df619a7e67a0c5b2 to react to changes in the intrinsic content size of the button bar.

## Before

| Before changing title | After changing title |
|:----------|:------------|
| ![simulator screen shot - iphone x - 2018-08-31 at 16 20 30](https://user-images.githubusercontent.com/45670/44934442-d51dab80-ad3a-11e8-9313-056e135de150.png) | ![simulator screen shot - iphone x - 2018-09-07 at 09 29 39](https://user-images.githubusercontent.com/45670/45221807-9d55bd00-b280-11e8-92c4-07e0bc409d64.png) |

## After

| Before changing title | After changing title |
|:----------|:------------|
| ![simulator screen shot - iphone x - 2018-08-31 at 16 20 30](https://user-images.githubusercontent.com/45670/44934442-d51dab80-ad3a-11e8-9313-056e135de150.png) | ![simulator screen shot - iphone x - 2018-08-31 at 16 20 32](https://user-images.githubusercontent.com/45670/44934447-d64ed880-ad3a-11e8-9c67-67e50995fce0.png) |

Closes https://github.com/material-components/material-components-ios/issues/1717
2018-09-10 16:17:23 -04:00
Robert Moore
ed819a8304
[NavigationBar] Tint leading, trailing button bars. (#5064)
To prepare for tinting the leading and trailing button bar items in the
Bottom App Bar, the MDCNavigationBar should support an API that allows
separate tint colors for the leading and trailing button bar items.

**Extreme Example**

<img width="374" alt="screen shot 2018-09-07 at 11 23 02 pm" src="https://user-images.githubusercontent.com/1753199/45249812-024afa80-b2f5-11e8-920b-c32dccd8d3a5.png">

Part of #3928
2018-09-08 23:24:02 -04:00
featherless
2181084272
[automated] Standardize our open source license stanza to what Xcode generates. (#4985)
Removes the need to copy-paste stanzas from other files anymore as we'll rely on #4478 to generate the correct stanza for us instead.

This was an automated change generated by running a find-and-replace regular expression:

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

 Licensed under the Apache License, Version 2\.0 \(the "License"\);
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at

 http://www\.apache\.org/licenses/LICENSE-2\.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

```
/\*
Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

Licensed under the Apache License, Version 2\.0 \(the "License"\);
you may not use this file except in compliance with the License\.
You may obtain a copy of the License at

http://www\.apache\.org/licenses/LICENSE-2\.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
See the License for the specific language governing permissions and
limitations under the License\.
\*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
 Licensed under the Apache License, Version 2\.0 \(the "License"\);
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at
 http://www\.apache\.org/licenses/LICENSE-2\.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

```
// Copyright $1-present the Material Components for iOS authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
```
2018-08-31 12:13:07 -04:00
featherless
059cbfaebb
[NavigationBar] Add uppercasesButtonTitles API for modifying title casing behavior. (#4936)
This allows an owner of a navigation bar to configure the title casing behavior for both the leading and trailing button bars.

Closes https://github.com/material-components/material-components-ios/issues/2968
2018-08-29 10:22:05 -04:00
featherless
56e8c4fd27
[NavigationBar] Add a flag that makes it possible to set any font size. (#4879)
This new flag allows a client to remove the 20pt font size restriction on MDCNavigationBar. This restriction was somewhat arbitrary and could cause problems with accessibility for certain font families.

Prior to this change, any font set on MDCNavigationBar would be restricted to 20pt size.

After this change, if the allowAnyTitleFontSize property is enabled on an MDCNavigationBar instance, then the font will be used directly and no sizes will be enforced.

This is required to support internal needs to set a navigation bar title font size of 18.
2018-08-24 13:36:28 -04:00
Randall Li
5df5229171 Revert "[NavigationBar] Remove restriction for 20pt fonts. (#4851)"
This reverts commit 2c3f97a98f20645d780aa1b3bccd78646f224059.
2018-08-22 12:45:25 -04:00
featherless
2c3f97a98f
[NavigationBar] Remove restriction for 20pt fonts. (#4851)
This restriction is somewhat arbitrary and could cause problems with accessibility for certain font families.

Prior to this change, any font set on MDCNavigationBar would be restricted to 20pt size.

After this change, the font will be used directly and no sizes will be enforced.

This is required to support internal needs to set a navigation bar title font size of 18.
2018-08-21 09:29:20 -04:00
featherless
de0d57e8e3
[NavigationBar] Remove NSCoding support. (#4560)
Closes https://github.com/material-components/material-components-ios/issues/3944
2018-07-16 08:33:49 -04:00
featherless
c7ee146de2
[NavigationBar] Add a titleViewLayoutBehavior API. (#4371)
This property allows a client to configure the title view layout behavior to be one of either "fill" or "center". The fill behavior is the default and existing behavior, which sets the title view's frame to fill the available navigation bar space. The center behavior will always attempt to center the title view within the navigation bar's bounds.

The center behavior is desired by teams in the simple cases of when they want their title view to be centered within the navigation bar as best as possible. This is also the default behavior of UINavigationBar.

Closes https://github.com/material-components/material-components-ios/issues/1650

### Screenshots

"Fill" behavior:

![simulator screen shot - iphone se - 2018-06-06 at 09 13 03](https://user-images.githubusercontent.com/45670/41040247-d71e762c-6969-11e8-8584-f86c0c6fe514.png)

"Center" behavior:

![simulator screen shot - iphone se - 2018-06-06 at 09 11 53](https://user-images.githubusercontent.com/45670/41040226-cb1bc244-6969-11e8-815b-145e2e40b98b.png)

"Center" behavior in RTL languages:

![simulator screen shot - iphone se - 2018-06-06 at 10 39 37](https://user-images.githubusercontent.com/45670/41045233-f9fc3948-6975-11e8-9e9d-48ca5ed7342c.png)
2018-06-06 13:32:57 -04:00
featherless
e5679888fe
[NavigationBar] Add umbrella headers for all extension targets. (#3471)
Also updated all imports to make use of the umbrella headers.

Pivotal story: https://www.pivotaltracker.com/story/show/157045283
2018-04-24 15:57:24 -04:00
featherless
bd05a69c88
[NavigationBar] Fix the surface variation themer's text/icon colors to match spec. (#3416)
For the variant themer, text is supposed to be onSurface @ 87% opacity, while icons are onSurface @ 54% opacity.

Closes pivotal story: https://www.pivotaltracker.com/story/show/156934328
Closes pivotal story: https://www.pivotaltracker.com/story/show/156934114

Before:

![simulator screen shot - iphone se - 2018-04-19 at 21 04 58](https://user-images.githubusercontent.com/45670/39065696-aa4df430-44a0-11e8-897f-3bc71b8b4c7e.png)

After:

![simulator screen shot - iphone se - 2018-04-19 at 21 04 03](https://user-images.githubusercontent.com/45670/39065699-ad47ffaa-44a0-11e8-9a40-e2d2cb92f908.png)
2018-04-20 15:15:23 -04:00
featherless
8d3f54246e
[NavigationBar] Add a stateful buttons title color API. (#3415)
This API allows a client to customize the title color for buttons for a given control state.

Related to https://www.pivotaltracker.com/story/show/156934328

Screenshot shows a button with a custom normal and highlighted state. The button on the left is highlighted.

![simulator screen shot - iphone se - 2018-04-19 at 19 51 59](https://user-images.githubusercontent.com/45670/39024065-786db638-440c-11e8-97e8-f6bf3e6c2af7.png)
2018-04-20 13:41:13 -04:00
featherless
610d1ab58a
[NavigationBar] Add an API for customizing button fonts. (#3412)
Pivotal story: https://www.pivotaltracker.com/story/show/156769836
2018-04-19 19:55:21 -04:00
featherless
6b2de0f3a3
[NavigationBar] Add surface variant theme. (#3376)
![simulator screen shot - iphone 8 plus - 2018-04-16 at 20 40 39](https://user-images.githubusercontent.com/45670/38842189-9ed9c6a2-41b6-11e8-9149-08f945c673d2.png)

Pivotal story: https://www.pivotaltracker.com/story/show/156826560
2018-04-17 08:02:09 -04:00
featherless
d259ebed7d
[NavigationBar] Fix bug where system font traits would be lost. (#3360)
### Context

When setting a font on MDCNavigationBar, we force the font to have a size of 20.

### Prior to this change

We were enforcing the font size by using an older UIFont API - fontWithName:size:. This API does not preserve font descriptor attributes from the provided font, it only preserves the font name and size.

This was resulting in the loss of an important system font descriptor attribute, namely `NSCTFontUIFontDesignTrait` which was set to `NSCTFontUIFontDesignDefault`. This font attribute affects the kerning of fonts when displayed on screen.

### After this change

We are now using the iOS 7 API - fontWithDescriptor:size:. This API preserves all of the underlying font descriptor attributes.

The result of this change is an intentional visual change.

As part of this behavioral change, I've also updated the related unit tests to enforce this behavior in the future.

To see a visual depiction of the change in behavior, open the following two screenshots and flip between them:

Before this fix:
![lossy](https://user-images.githubusercontent.com/45670/38755649-8a172a22-3f34-11e8-9f53-15ca6789e351.png)

After this fix:
![notlossy](https://user-images.githubusercontent.com/45670/38755654-8d998fa0-3f34-11e8-8112-49e3d4b7d76e.png)

Visual delta:
![difference](https://user-images.githubusercontent.com/45670/38755656-91d02f5c-3f34-11e8-8032-36d3ffc8f52e.png)
2018-04-13 16:25:17 -04:00
Mohammad Cazi
8e83dcf343
[NavigationBar] typography implementation. (#3304)
* Navigation Bar Typography Themer implementation.
Tests and example added.

* fixing merge conflict mistake and tests.
2018-04-10 11:01:51 -04:00
Mohammad Cazi
bc3b4e871b
Forcing Font size now does save the right FontName for every case. (#3299)
* Forcing Font size now does save the right FontName for every case.

* typo.

* can't expose a private header.

* mdc_weight should not be used.

* tests are up and running.

* fixing the tests. no support for weight on iOS 8.

* Document why we switched to fontWithName:size.
2018-04-09 16:37:05 -04:00
featherless
38595c6509
[NavigationBar] Implement a semantic color scheme color themer API. (#3267)
Also added unit tests and updated a couple examples to make use of the new themer APIs.

Pivotal story: https://www.pivotaltracker.com/story/show/156169509

[Delivers #156169509]

![simulator screen shot - iphone x - 2018-04-06 at 11 36 09](https://user-images.githubusercontent.com/45670/38430240-b810f8b4-398e-11e8-9583-e871a5e5542d.png)
2018-04-09 11:27:53 -04:00
Mohammad Cazi
b0aaa07cb2
[MDCNavigationBar] Exposing typography API. (#3217)
* Extracting Accessibility out of FeatureHighlightViewController to a mutator.
Tests added.
Example updated.

* Revert "Extracting Accessibility out of FeatureHighlightViewController to a mutator."

This reverts commit 0b5433ebf86366087b240c4dc4992a0603fa73e0.

* Expose title font as a property.

* Updating the documentation.

* Deprecating titleTextAttributes since we are using titleFont property now.

* Add tests for title font property.

* revert deprecation for this PR., update the doc to explain the behavior when using both titleFont and titleTextAttributes.

* Adding more documentation for the behavior of titleTextAttributes and titleFont together.

* Note for deprecation.

* documentation tweeks.
2018-04-04 15:35:10 -04:00
Robert Moore
8ea0d77f72
[NavigationBar] Add Accessibility method tests (#2721)
Extending test coverage to include accessibility tests
2017-12-14 19:58:54 -05:00
Robert Moore
8f1eb74490
[NavBar, ButtonBar] Add NavBar tests, fix ButtonBar KVO (#2713)
* [NavBar, ButtonBar] Add NavBar tests, fix ButtonBar KVO

ButtonBar was not correctly setting up KVO when it was created with an NSCoder (restored from an
archive). In that case, dealloc would generate an exception and crash.  Instead of writing to the
backing iVar during initWithCoder:, the ButtonBar should call through to its setter instead.  This
is less safe (because the subclass may not be initialized) but guarantees observing the objects it
is restoring.

Added a simple NavBar encoding test.
2017-12-14 06:49:05 -05:00
Robert Moore
5879c18c26
[ButtonBar, NavigationBar] Add BUILD file for kokoro (#2598)
* [ButtonBar, NavigationBar] Add BUILD file for kokoro

ButtonBar ColorThemer depends on NavigationBar
NavigationBar depends on ButtonBar
2017-12-11 17:49:26 -05:00
Will Larche
8c5350de31 [All] Formatting. (#1269) 2017-03-22 12:18:15 -04:00
Justin Shephard
95d71cfaac [Project] Clear warnings within project (#1205)
* [Project] - Clear warnings within project

* [Project] - Clean errant code
2017-02-14 18:53:02 -05:00
Justin Shephard
c3d3bd34af [NavigationBar] - Added Accessibility Mutator (#1109)
* [NavigationBar] - Added Accessibility Enforcer to Navigation Bar. Updated Podspec to include MDFTextAccessibility to MDCNavigationBar

* [NavigationBar] - Added unit tests and updated examples

* [NavigationBar] - Updated doc comment

* [NavigationBar] - Updated naming convention of mutator

* [NavigationBar] - Updated examples

* Update and rename NavigationBarAccessibilityEnforcerTestColorTest.swift to NavigationBarAccessibilityMutatorTestColorTest.swift
2017-02-10 15:07:04 -05:00