Giter VIP home page Giter VIP logo

material-components-ios-codelabs's Issues

[103 ObjC] TypographyScheme comment references ColorScheme

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

Password validation error doesn't disappear

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) }

MDC-103 iOS, Step 3: Syntax error

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)

Requires XCode 9.3

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

Typo in MDC-103 step 8

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

Signing error when running Shrine MDC-01 Swift Starter

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?

textField border color difference

hi, I have a question as below:
(please do not mind the larger font size, just for good look.

captured picture in Login view, MDC-103 tutorial,

2018-05-09 15 26 01

and my finished below, please have a notice on textfield border color,

simulator screen shot - iphone 8 plus - 2018-05-09 at 15 29 06


what did I miss something about textfield border setting?

syntax error

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

[MDC103] Swift Step4 wrong theme

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.

Simulator Screen Shot - iPhone XR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.