Nobody
24a0ffbd03
Annotate various Delegate protocols as NS_SWIFT_UI_ACTOR
...
PiperOrigin-RevId: 708413470
2024-12-20 13:33:55 -08:00
Jeff Verkoeyen
187f99a6f4
[ActionSheet] Delete flaky test.
...
PiperOrigin-RevId: 609118090
2024-02-21 14:12:50 -08:00
Jeff Verkoeyen
6eecf87910
[ActionSheet] Remove defunct tests.
...
These tests broke when upgrading to Xcode 15.0.1. We do not support this component anymore; UIMenu should be used instead.
PiperOrigin-RevId: 606824408
2024-02-13 19:28:18 -08:00
Janette James
8e490b68d2
Use UIViewController to override trait collection
...
PiperOrigin-RevId: 535048989
2023-05-24 18:19:00 -07:00
Nobody
cc509d193f
Fixed up imports and nullability for ActionSheet
...
PiperOrigin-RevId: 495443445
2022-12-14 16:10:29 -08:00
Randall Li
236bae8987
[Dialogs/ActionSheets] Change deprecation warning to point at guidance and added " 🕘 Schedule time to migrate" message.
...
PiperOrigin-RevId: 491724402
2022-11-29 13:39:21 -08:00
Nobody
3713e0d61e
Add void to functions in C missing parameters to fix -Wstrict-prototypes warnings.
...
This warning became more strict after updates in the clang compiler.
The error message that this change fixes is:
```
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
```
PiperOrigin-RevId: 472723024
2022-09-07 07:52:30 -07:00
Jeff Verkoeyen
b2bbd50350
Mark all To Be Deprecated APIs as Deprecated.
...
PiperOrigin-RevId: 460478209
2022-07-12 09:13:52 -07:00
Jeff Verkoeyen
59d63b221c
[ActionSheet] Annotate all APIs as To Be Deprecated.
...
PiperOrigin-RevId: 458353262
2022-06-30 18:01:28 -07:00
Cody Weaver
3a935e0d96
[ActionSheet] Clean up constraints for ActionSheet cell
...
PiperOrigin-RevId: 450475283
2022-05-23 10:47:30 -07:00
Jeff Verkoeyen
a20491bb2d
[ActionSheet] Annotate all APIs as To Be Deprecated.
...
Also removed all public documentation.
PiperOrigin-RevId: 436991658
2022-03-24 07:45:35 -07:00
Wenyu Zhang
b457b13005
Internal change.
...
PiperOrigin-RevId: 417635153
2021-12-21 09:32:05 -08:00
Jeff Verkoeyen
bf756d71b6
[ActionSheet] Enforce the supported minimum OS policy at build time.
...
PiperOrigin-RevId: 406341576
2021-10-29 06:03:31 -07:00
Jeff Verkoeyen
c34de39e30
Internal change.
...
PiperOrigin-RevId: 397316843
2021-09-17 07:45:01 -07:00
Jeff Verkoeyen
ec44b12ee9
Internal change
...
PiperOrigin-RevId: 394725753
2021-09-03 11:44:01 -07:00
Nobody
e6fefe659c
[ActionSheet] Move PostNotificiation announcement for the MDCActionSheetController into viewDidAppear so that it doesnt alert the user then the component gets loaded but not shown
...
PiperOrigin-RevId: 386526222
2021-07-23 14:02:22 -07:00
Cody Weaver
9e15d4d1ad
[ActionSheet] Make sure MDCActionSheetController's delegate implements the actionSheetControllerDidDismiss delegate method before calling it.
...
PiperOrigin-RevId: 383867081
2021-07-09 09:56:21 -07:00
Cody Weaver
afd83e4c90
[ActionSheet] Inform delegate when action sheet is dismissed via Z-Gesture when VoiceOver is enabled.
...
PiperOrigin-RevId: 383731163
2021-07-08 15:52:30 -07:00
Alyssa Weiss
22faa4d34a
Remove mdc_adjustsFontForContentSizeCategory from MDCActionSheet.
...
PiperOrigin-RevId: 377064703
2021-06-02 08:30:54 -07:00
Alyssa Weiss
377a73f6a8
Internal change
...
PiperOrigin-RevId: 372353231
2021-05-06 08:56:51 -07:00
Alyssa Weiss
057d1b2024
Have MDCActionSheetController conform to UIContentSizeAdjusting protocol, and implement adjustsFontForContentSizeCategory.
...
PiperOrigin-RevId: 372206277
2021-05-05 14:25:45 -07:00
Nobody
1405e19429
Inform the delegate that the action sheet is dismissed when the dismissal is issued from the accessibility gesture.
...
PiperOrigin-RevId: 366940774
2021-04-05 22:44:26 -07:00
Cody Weaver
1524182f7c
[ActionSheet] Allow clients to get the view associated with a given action.
...
PiperOrigin-RevId: 366489478
2021-04-02 12:15:47 -07:00
Jeff Verkoeyen
1abdf16760
Optimizing imports
...
PiperOrigin-RevId: 357185990
2021-02-12 07:36:41 -08:00
Jeff Verkoeyen
8ce743ce8a
Optimizing imports
...
PiperOrigin-RevId: 357185751
2021-02-12 07:33:30 -08:00
Jeff Verkoeyen
791596b851
[ActionSheet] Update all test and example files to match conventions.
...
PiperOrigin-RevId: 334822431
2020-10-01 08:54:27 -07:00
Jeff Verkoeyen
ab1ea86eef
[ActionSheet] Flatten the unit tests into a single directory.
...
This aligns with our test directory organizational conventions.
PiperOrigin-RevId: 334808133
2020-10-01 07:21:20 -07:00
Jeff Verkoeyen
fbb1f20aa2
Internal change
...
PiperOrigin-RevId: 332151481
2020-09-16 21:01:21 -07:00
Andrew Overton
378fab16a8
[ActionSheet] Remove reference to beta
...
PiperOrigin-RevId: 328730876
2020-08-27 07:11:35 -07:00
Andrew Overton
225cd3c0cb
[BottomSheet] Ensure transition controller pass-through accessors work following presentation controller initialization
...
PiperOrigin-RevId: 326304121
2020-08-12 13:49:59 -07:00
Bryan Oltman
f75ff1a02f
Add checks for existence of UIPointerInteraction class to avoid iOS 13 beta crashes
...
PiperOrigin-RevId: 323838787
2020-07-29 12:10:16 -07:00
Andrew Overton
07c46757cc
Replace material.io API doc links with links to the relevant header f…
...
This PR replaces API links containing "/api-docs/" with links to suitable header files in GitHub because the site previously linked to is being taken down and replaced with something that won't handle API docs.
Closes https://github.com/material-components/material-components-ios/pull/10045
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10045 from andrewoverton:replace-mio-api-docs-with-github-links 0d6e56cc11d0c147366a4f6cde829d8b51567ecc
PiperOrigin-RevId: 323424362
2020-07-27 13:09:23 -07:00
Andrew Overton
a5d83de736
[ActionSheet] Delete MDCActionSheetTypographyThemer
...
PiperOrigin-RevId: 321590607
2020-07-16 10:14:04 -07:00
Andrew Overton
e4805f0c2c
[ActionSheet] Delete MDCActionSheetColorThemer
...
PiperOrigin-RevId: 321431638
2020-07-15 13:53:40 -07:00
Andrew Overton
742c7b3da7
[ActionSheet] Delete MDCActionSheetThemer and MDCActionSheetScheme
...
PiperOrigin-RevId: 321392126
2020-07-15 10:48:45 -07:00
Andrew Overton
1bca00af2f
[ActionSheet] Rename ActionSheet assets
...
PiperOrigin-RevId: 321383766
2020-07-15 10:13:06 -07:00
Andrew Overton
4cc338ac65
[ActionSheet] Fix broken links
...
PiperOrigin-RevId: 318266998
2020-06-25 07:25:55 -07:00
Yarden Eitan
b98382a762
[ActionSheet] Add alert anouncement for voiceover users.
...
Similarly to how UIActionSheet announces "Alert" for voiceover users, we imitate the behavior here for MDCActionSheetController.
PiperOrigin-RevId: 316851432
2020-06-17 02:35:34 -07:00
Rob Moore
386ba00322
[ActionSheet] Mark title as accessibility .header
...
The Action Sheet's title acts as a header for the modally-presented sheet.
This is an important indicator for users to know that new content is presented
with a heading and for accessibility systems (e.g., so header rotors work).
PiperOrigin-RevId: 316115398
2020-06-12 09:14:35 -07:00
Bryan Oltman
e5f4e3fcb0
[ActionSheet] Add actionSheetControllerDismissalAnimationCompleted method to MDCActionSheetControllerDelegate.
...
This function notifies MDCActionSheetController delegates that the (user-triggered) dismissal animation has completed and the action sheet is no longer on the screen.
PiperOrigin-RevId: 314974453
2020-06-05 12:27:52 -07:00
Nobody
abde17e493
internal change
...
PiperOrigin-RevId: 313628801
2020-05-28 11:45:52 -07:00
Nobody
70716800b8
Internal change
...
PiperOrigin-RevId: 312085611
2020-05-18 16:41:12 +00:00
Andrew Overton
0a36a3a12b
[MDC-iOS] Fix broken links
...
This CL fixes some longstanding and some newly broken links.
PiperOrigin-RevId: 311351416
2020-05-13 10:09:44 -07:00
Cody Weaver
b9822411b9
[MDC/ActionSheet] Support setting image later in lifecycle
...
This allows clients to set the image property on an MDCActionSheetAction later in the lifecycle of the action. Particularly after an ActionSheet has been presented. We only set the `actionSheet` property in `viewWillAppear` since clients can use the same action on multiple action sheets. This change will make it so that the action sheet on screen will be updated.
Alternatively I could have done KVO but I felt that was more overhead than just having a custom setter.
PiperOrigin-RevId: 309470766
2020-05-01 14:10:37 -07:00
Cody Weaver
d30de4507c
[MDC/ActionSheet] Add test showcasing how when an Action's image is set it does not update an ActionSheet.
...
Currently MDCActionSheetController does not support having clients add an image to an action after it has been displayed. This commit showcases that is not supported via the snapshot test. This requires a change in the MDCActionSheetAction header to allow the image to be readwrite.
PiperOrigin-RevId: 309443045
2020-05-01 11:37:25 -07:00
Wenyu Zhang
a3381717f7
Fix the bazel BUILD files and snapshot that were restored unintentionally.( #9983 )
2020-04-29 11:00:00 -04:00
Jeff Verkoeyen
92254ea119
Rename all icons to an ic_<#name#> convention.
...
PiperOrigin-RevId: 308232277
2020-04-24 04:33:51 -07:00
Cody Weaver
31bdbe56e1
[MDC/ActionSheet] Pull MDCActionSheetActions into their own file
...
In order to follow conventions of having all types being in their own files we are removing the actions from the controller. This is similar to #9926 .
PiperOrigin-RevId: 307893348
2020-04-22 14:06:07 -07:00
Randall Li
0100cfe414
[MDC-iOS/BottomSheet] Fix dismissOnDraggingDownSheet behavior
...
The bottom sheet incorrectly allowed the sheet to be drag dismissed when `dismissOnDraggingDownSheet` was set to NO.
This change permits the gesture to dismiss to begin but prevents it from actually closing the sheet.
https://github.com/material-components/material-components-ios/issues/9723
Closes https://github.com/material-components/material-components-ios/pull/9885
PiperOrigin-RevId: 307802500
2020-04-22 06:21:26 -07:00
Dave MacLachlan
ebac2a8eb7
As of iOS 9/macOS 10.11 (circa 2015) removing objective C objects from the NSNotificationCenter in - (void)dealloc. is no longer required (the classic example is: [[NSNotificationCenter defaultCenter] removeObserver:self] but there are several variations).
...
In many cases this is the only thing being done in - (void)dealloc, so we can remove the whole thing.
PiperOrigin-RevId: 307663440
2020-04-21 13:00:30 -07:00