material-components / material-components-ios-codelabs Goto Github PK
View Code? Open in Web Editor NEWCodelabs for Material Components for iOS (MDC-iOS)
License: Apache License 2.0
Codelabs for Material Components for iOS (MDC-iOS)
License: Apache License 2.0
The TypographyScheme initialization comment on Line 78 of ApplicationScheme.m refers to an MDCSemanticColorScheme object.
// Instantiate a MDCSemanticColorScheme object and modify it to our chosen colors
_typographyScheme =
[[MDCTypographyScheme alloc] initWithDefaults:MDCTypographySchemeDefaultsMaterial201804];
The bug seems to originate in the instructions, which have the wrong wording as well.
https://codelabs.developers.google.com/codelabs/mdc-103-objc/index.html?index=..%2F..index#3
The validation for the password field needs an else block to clear the error if it was in the error state already.
if (...) { passwordTextFieldController.setErrorText("Password is too short", errorAccessibilityValue: nil) } else { passwordTextFieldController.setErrorText(nil, errorAccessibilityValue: nil) }
In Apply the colors to the home screen
wrong
MDCAppBarColorThemer.applySemanticColorScheme(ApplicationScheme.shared.colorScheme, to:self.appBar)
fixed
MDCAppBarColorThemer.applyColorScheme(ApplicationScheme.shared.colorScheme, to: self.appBarViewController)
Minor typo: the HomeViewController.m
is Obj-C style, use HomeViewController.swift
instead.
This project requires XCode 9.3 because the iOS deployment target is set to 11.3, but the Codelabs computers only have XCode 9.2 installed. So you should drop the target to 9.2
Linking with a go/ link doesn't work. Update the link in point 3 on https://codelabs.developers.google.com/codelabs/mdc-101-swift/#2
https://codelabs.developers.google.com/codelabs/mdc-103-swift/ says it covers shadow elevation but doesn't have those details anywhere in text.
In the MDC-103 step 8 with brightness: Brightness.light
you changed the status bar from black to pink, but it's written:
Now the products scroll horizontally in a woven-inspired pattern. Also, the status bar (time and network at the top) is now black. That's because we changed the AppBar's brightness to light, brightness: Brightness.light
It should be:
Now the products scroll horizontally in a woven-inspired pattern. Also, the status bar (time and network at the top) is now pink. That's because we changed the AppBar's brightness to light, brightness: Brightness.light
When I use the - (void)addChip:(MDCChipView *)chip function in MDCChipField and "showChipsDeleteButton" is true, I was expecting it to put the delete button on my new chip.
Signing for "MaterialComponents-MaterialIcons_ic_chevron_right" requires a development team. Select a development team in the Signing & Capabilities editor.
Adding my own apple ID and Personal Team did not work.
How to proceed?
This line on MDC-104 iOS in the "Add filtering" section is not correct
Catalog.categoryFilter = filter
The line should be
[Catalog productCatalog].categoryFilter = filter;
Thanks,
Yuval
in "Change the typeface of the login screen" section
codelab page
wrong
MDCButtonTypographyThemer.applyTypographyScheme(typographyScheme,
to: cancelButton)
fix
MDCTextButtonColorThemer.applySemanticColorScheme(colorScheme, to: self.cancelButton)
when i apply wrong code,cancel button theme is the same as next button.
https://codelabs.developers.google.com/codelabs/mdc-103-flutter/index.html
The MDC-103 Flutter codelab states that the branch to us is this.
git clone https://github.com/material-components/material-components-flutter-codelabs.git
cd material-components-flutter-codelabs
git checkout 102-starter_and_101-complete
The correct branch is 103-starter_and_102-complete
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.