MDCChipCollectionViewCell

@interface MDCChipCollectionViewCell : UICollectionViewCell

/*
 The chip view.

 The chip's bounds will be set to fill the collection view cell.
 */
@property(nonatomic, nonnull, strong, readonly) MDCChipView *chipView;

/*
 Animates the chip view every time the bounds change. Defaults to NO.

 Set this to YES to animate chip view when it resizes. If the chip view changes size upon selection
 this should be set to YES.
 */
@property(nonatomic, assign) BOOL alwaysAnimateResize;

/*
 Creates an MDCChipView for use in the collection view cell.

 Override this method to return a custom MDCChipView subclass.
 */
- (nonnull MDCChipView *)createChipView;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, nonnull, strong, readonly) MDCChipView *chipView
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL alwaysAnimateResize
  • Undocumented

    Declaration

    Objective-C

    - (nonnull MDCChipView *)createChipView;