Skip to content

Commit 8ca4051

Browse files
committed
Merge branch 'release-0.2.0'
2 parents 6f5420c + c645c51 commit 8ca4051

File tree

122 files changed

+8415
-1085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+8415
-1085
lines changed

.arcconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"load": ["clang-format-linter"],
33
"phabricator.uri" : "http://codereview.cc/",
4-
"repository.callsign" : "MDC"
4+
"repository.callsign" : "MDC",
5+
"arc.land.onto.default" : "develop",
6+
"git.default-relative-commit" : "origin/develop"
57
}

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## Master
2+
3+
##### Breaking
4+
5+
##### Enhancements
6+
7+
##### Bug Fixes
8+
9+
## 0.2.0
10+
11+
##### Enhancements
12+
13+
* [MDCButton] Component added. [Randall Li](https://github.com/randallli), [Adrian Secord](https://github.com/ajsecord)
14+
* [MDCSlider] Add support for interface builder to MDCSlider. [Ian Gordon](https://github.com/ianegordon)
15+
* [MDCFlexibleHeader] Add contentView and custom shadow layers. [Junius Gunaratne](https://github.com/jgunaratne)
16+
* [MDCSwitch] Autolayout demo app. [Ian Gordon](https://github.com/ianegordon)
17+
* [MDCFlexibleHeader] Component added. [Jeff Verkoeyen](https://github.com/jverkoey)
18+
* [Catalog] Add "catalog by convention" experiment. [Jeff Verkoeyen](https://github.com/jverkoey)
19+
* [MDCSwitch] Switch from IBInspectable to UI_APPEARANCE_SELECTOR. [Ian Gordon](https://github.com/ianegordon)
20+
21+
##### Bug Fixes
22+
23+
* [CocoaPods] Remove private_header_files from podspec. [Jeff Verkoeyen](https://github.com/jverkoey)
24+
* [Pesto] Fixes to Pesto example app. [Junius Gunaratne](https://github.com/jgunaratne)
25+
* [MDCInk] Update background opacity timing to match web implementation of ink. [Junius Gunaratne](https://github.com/jgunaratne)
26+
* [MDCInk] Darken default ink to 12% opacity. [Adrian Secord](https://github.com/ajsecord)
27+
* [MDCInk] Make sure completion block is fired after ink animation completes [Junius Gunaratne](https://github.com/jgunaratne)
28+
29+
## x.x.x
30+
31+
This is a template. When cutting a new release, rename "master" to the release number and create a
32+
new, empty "Master" section.
33+
34+
##### Breaking
35+
36+
##### Enhancements
37+
38+
##### Bug Fixes
39+
40+
* This is a template description
41+
[person responsible](https://github.com/...)
42+
[#xxx](github.com/google/material-components-ios/issues/xxx)

Catalog.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build_tests/CocoapodsObjCApp/Podfile.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
PODS:
22
- material-components-ios (0.1.0):
3+
- material-components-ios/Buttons (= 0.1.0)
4+
- material-components-ios/FlexibleHeader (= 0.1.0)
35
- material-components-ios/Ink (= 0.1.0)
46
- material-components-ios/PageControl (= 0.1.0)
57
- material-components-ios/private (= 0.1.0)
@@ -10,6 +12,12 @@ PODS:
1012
- material-components-ios/SpritedAnimationView (= 0.1.0)
1113
- material-components-ios/Switch (= 0.1.0)
1214
- material-components-ios/Typography (= 0.1.0)
15+
- material-components-ios/Buttons (0.1.0):
16+
- material-components-ios/Ink
17+
- material-components-ios/ShadowElevations
18+
- material-components-ios/ShadowLayer
19+
- material-components-ios/Typography
20+
- material-components-ios/FlexibleHeader (0.1.0)
1321
- material-components-ios/Ink (0.1.0)
1422
- material-components-ios/PageControl (0.1.0)
1523
- material-components-ios/private (0.1.0):
@@ -38,6 +46,6 @@ EXTERNAL SOURCES:
3846
:path: ../../
3947

4048
SPEC CHECKSUMS:
41-
material-components-ios: b1e1bc101fe89ed301cdfeb479597d90b1fcf911
49+
material-components-ios: ceb1a78b45aa87ce45d8d52eff3451392e57a920
4250

4351
COCOAPODS: 0.39.0

build_tests/CocoapodsSwiftApp/Podfile.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
PODS:
22
- material-components-ios (0.1.0):
3+
- material-components-ios/Buttons (= 0.1.0)
4+
- material-components-ios/FlexibleHeader (= 0.1.0)
35
- material-components-ios/Ink (= 0.1.0)
46
- material-components-ios/PageControl (= 0.1.0)
57
- material-components-ios/private (= 0.1.0)
@@ -10,6 +12,12 @@ PODS:
1012
- material-components-ios/SpritedAnimationView (= 0.1.0)
1113
- material-components-ios/Switch (= 0.1.0)
1214
- material-components-ios/Typography (= 0.1.0)
15+
- material-components-ios/Buttons (0.1.0):
16+
- material-components-ios/Ink
17+
- material-components-ios/ShadowElevations
18+
- material-components-ios/ShadowLayer
19+
- material-components-ios/Typography
20+
- material-components-ios/FlexibleHeader (0.1.0)
1321
- material-components-ios/Ink (0.1.0)
1422
- material-components-ios/PageControl (0.1.0)
1523
- material-components-ios/private (0.1.0):
@@ -38,6 +46,6 @@ EXTERNAL SOURCES:
3846
:path: ../../
3947

4048
SPEC CHECKSUMS:
41-
material-components-ios: b1e1bc101fe89ed301cdfeb479597d90b1fcf911
49+
material-components-ios: ceb1a78b45aa87ce45d8d52eff3451392e57a920
4250

4351
COCOAPODS: 0.39.0

build_tests/classes/objective_c/MDCBuildTestViewController.m

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,23 @@
1616

1717
#import "MDCBuildTestViewController.h"
1818

19+
#import <MaterialButtons.h>
20+
#import <MaterialInk.h>
1921
#import <MaterialPageControl.h>
20-
#import <MaterialSlider.h>
2122
#import <MaterialScrollViewDelegateMultiplexer.h>
23+
#import <MaterialShadowElevations.h>
2224
#import <MaterialShadowLayer.h>
25+
#import <MaterialSlider.h>
2326
#import <MaterialSpritedAnimationView.h>
2427
#import <MaterialTypography.h>
25-
#import <MaterialInk.h>
2628

2729
@implementation MDCBuildTestViewController
2830

2931
- (void)viewDidLoad {
3032
[super viewDidLoad];
3133
self.view.backgroundColor = [UIColor whiteColor];
3234

33-
// Testing build and linking so all we need to do is touch the component objects.
35+
// Testing build and linking so all we need to do is touch the component objects.
3436
#pragma mark Slider
3537

3638
MDCSlider *slider = [[MDCSlider alloc] initWithFrame:CGRectMake(0, 0, 100, 27)];
@@ -45,12 +47,12 @@ - (void)viewDidLoad {
4547
#pragma mark Ink
4648

4749
NSAssert([[MDCInkTouchController alloc] initWithView:self.view],
48-
@"Expecting to find a valid object for MDCInkTouchController.");
50+
@"Expecting to find a valid object for MDCInkTouchController.");
4951

5052
#pragma mark ScrollViewDelegateMultiplexer
5153

5254
NSAssert([[MDCScrollViewDelegateMultiplexer alloc] init],
53-
@"Expecting to find a valid object for slider.");
55+
@"Expecting to find a valid object for MDCScrollViewDelegateMultiplexer.");
5456

5557
#pragma mark ShadowLayer
5658

@@ -59,7 +61,7 @@ - (void)viewDidLoad {
5961
#pragma mark SpritedAnimation
6062

6163
NSAssert([[MDCSpritedAnimationView alloc] init],
62-
@"Expecting to find a valid object for MDCSpritedAnimationView.");
64+
@"Expecting to find a valid object for MDCSpritedAnimationView.");
6365

6466
#pragma mark PageControl
6567

@@ -69,6 +71,9 @@ - (void)viewDidLoad {
6971
pageControl.center = CGPointMake(100, 145);
7072
NSAssert(pageControl, @"Expecting to find a valid object for MDCPageControl.");
7173

74+
#pragma mark Buttons
75+
76+
NSAssert([[MDCButton alloc] init], @"Expecting to find a valid object for MDCButton.");
7277
}
7378

7479
@end

build_tests/classes/swift/MDCBuildTestViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,8 @@ class MDCBuildTestViewController: UIViewController {
5454
pageControl.center = CGPointMake(100, 145);
5555
assert(pageControl.isKindOfClass(MDCPageControl), "Expecting to find a valid object for MDCSpritedAnimationView");
5656

57+
// MARK: Buttons
58+
assert(MDCButton.init().isKindOfClass(MDCButton), "Expecting to find a valid object for MDCButton");
59+
5760
}
5861
}

0 commit comments

Comments
 (0)