9 Commits

Author SHA1 Message Date
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
Yarden Eitan
7e7fd73742 fix typo in header file 2019-02-26 09:36:22 -05:00
Wenyu Zhang
d199a1cedf
[ChipTextField] add touch delegate methods into MDCChipTextField (#6317)
Currently MDCChipTextField doesn't have ability to handle touch interaction, this PR adds a MDCChipTextFieldDelegate for supporting touch delegate methods.
2019-02-22 15:33:48 -05:00
Wenyu Zhang
6f26784f86
[ChipTextField] Use MDCChipTextFieldScrollView to replace leftView functionality for flexibility and extensibility (#6686) 2019-02-22 11:07:34 -05:00
Galia Kaufman
0930e198ad
[ChipTextField] A new MDCChipTextField component in Alpha (#6623)
MDCChipTextField is a MDCTextField subclass. It supports adding and removing chips, by typing or pressing the delete button.
2019-02-20 21:15:42 -05:00
Rob Moore
b7ed9ca3ce Revert "[ChipTextField] A new MDCChipTextField component in Alpha (#6035)"
This reverts commit 5b4435319fab0c99914b1ec8a962ac2ffb2fd436.
2019-01-16 10:58:50 -05:00
Rob Moore
c768b53528 Revert "[ChipTextField] Use MDCChipTextFieldScrollView to replace leftView functionality for flexibility and extensibility (proof of concept) (#6167)"
This reverts commit b6d752d52c3feba0fbf9505c876070c907aa2e99.
2019-01-16 10:58:44 -05:00
Wenyu Zhang
b6d752d52c
[ChipTextField] Use MDCChipTextFieldScrollView to replace leftView functionality for flexibility and extensibility (proof of concept) (#6167)
This PR is dependent on https://github.com/material-components/material-components-ios/pull/6035. And there is no new API change on MDCChipTextField class level.

This PR is meant to solve the problem mentioned in https://github.com/material-components/material-components-ios/pull/6035 -> "Enabling scrolling of the Chips and the remaining alignment issues will be resolved in followup PRs." 
The issues it solves:
(1) Alignment (a way to adjust it also)
(2) clear button
(3) the coupling issue with apple's leftView in the original PR.

Screenshots:
![simulator screen shot - iphone xs - 2019-01-02 at 11 30 50](https://user-images.githubusercontent.com/8836258/50601363-f249be80-0e81-11e9-8afc-515322a22e52.png)
![simulator screen shot - iphone xs - 2019-01-02 at 11 30 54](https://user-images.githubusercontent.com/8836258/50601366-f4138200-0e81-11e9-9869-27d70871a957.png)
![simulator screen shot - iphone xs - 2019-01-02 at 11 30 57](https://user-images.githubusercontent.com/8836258/50601370-f544af00-0e81-11e9-88f1-7da072b1d5b9.png)
2019-01-09 13:28:45 -05:00
Galia Kaufman
5b4435319f
[ChipTextField] A new MDCChipTextField component in Alpha (#6035)
MDCChipTextField is a MDCTextField subclass. It supports adding and removing chips, by typing or pressing the delete button.
2019-01-07 13:43:52 -05:00