Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[xcode11] [AVKit] bindings for all platforms#6748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@joconte
Copy link
Contributor

@jocontejoconte commentedAug 10, 2019
edited
Loading

diff :
https://github.com/xamarin/xamarin-macios/wiki/AVKit-iOS-xcode11-beta1
https://github.com/xamarin/xamarin-macios/wiki/AVKit-iOS-xcode11-beta2
https://github.com/xamarin/xamarin-macios/wiki/AVKit-macOS-xcode11-beta1
https://github.com/xamarin/xamarin-macios/wiki/AVKit-tvOS-xcode11-beta1

I had to refactor some of the actual code because of the fact that some interfaces are now available to macOS and were inside aif !MONOMACblock.

I don't know which names I should choose for the events.

It builds 😄

@spouliot
Copy link
Contributor

build

@monojenkins
Copy link
Collaborator

Build failure
Build failed or was aborted

🔥Build failed 🔥

@spouliot
Copy link
Contributor

build

@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
⚠️API Diff (from PR only) (🔥 breaking changes 🔥)
ℹ️Generator Diff (please review changes)
🔥Test run failed 🔥

Test results

1 tests failed, 90 tests passed.

Failed tests

  • introspection/Mac Modern/Debug: Failed (Test run failed.)

@VincentDondainVincentDondain self-assigned thisAug 26, 2019
- Personal preference but I like `[TV (13,0)]` better than `[TV (13, 0)]` (more concise).- As much as possible try to minize diff changes. For instance if there was a `[NoTV]` and now new availability attributes are needed, add them on a new line.  This was the original `[NoTV]` is unchanged, not critical in this case but we'd still be able to blame the original author, finally that reduces the amount of changes to review in the PR.- Fix some { that go on the same line for types (mono coding guideline).
- Fix Mac introspection test (one inline .ctor was incorrectly marked as !MONOMAC)- Use and abuse of using statements to avoid !MONOMAC ifdefs at all costs.  These ifdefs are just painful and make the code hard to read (very error prone). It is much simpler to add [NoMac] everywhere and have the right using in place.
Type Changed: AVKit.AVRoutePickerViewModified properties:public ~virtual~ IAVRoutePickerViewDelegate Delegate { get; set; }
@VincentDondain
Copy link
Contributor

build

@monojenkins
Copy link
Collaborator

Build success
Build succeeded
API Diff (from stable)
ℹ️API Diff (from PR only) (please review changes)
ℹ️Generator Diff (please review changes)
Test run succeeded

src/avkit.cs Outdated

[TV(13,0),NoiOS,NoWatch,NoMac]
[Export("nextChannelInterstitialViewControllerForPlayerViewController:")]
UIViewControllerNextChannelInterstitialViewController(AVPlayerViewControllerplayerViewController);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

lack of verb/action: prefix withGet


[iOS(12,0),NoTV,NoWatch,NoMac]
[Export("playerViewController:willBeginFullScreenPresentationWithAnimationCoordinator:"),EventArgs("AVPlayerViewFullScreenPresentationWillBegin")]
voidWillBeginFullScreenPresentation(AVPlayerViewControllerplayerViewController,IUIViewControllerTransitionCoordinatorcoordinator);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

please check/test if12,0 is correct (a bit tricker for delegates)


[iOS(12,0),NoTV,NoWatch,NoMac]
[Export("playerViewController:willEndFullScreenPresentationWithAnimationCoordinator:"),EventArgs("AVPlayerViewFullScreenPresentationWillEnd")]
voidWillEndFullScreenPresentation(AVPlayerViewControllerplayerViewController,IUIViewControllerTransitionCoordinatorcoordinator);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

same

src/avkit.cs Outdated

[TV(13,0),NoiOS,NoWatch,NoMac]
[Export("previousChannelInterstitialViewControllerForPlayerViewController:")]
UIViewControllerPreviousChannelInterstitialViewController(AVPlayerViewControllerplayerViewController);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

prefix withGet

- Play it safe and don't use [iOS (12,0] availability. After all it was added in Xcode 11, sounds like it was private in Xcode 10. People can still use the API on earlier versions if they really need to and changing this later wouldn't be a breaking change.- Use verbs where we missed them.
@VincentDondain
Copy link
Contributor

build

@monojenkins
Copy link
Collaborator

Build success
Build succeeded
API Diff (from stable)
ℹ️API Diff (from PR only) (please review changes)
ℹ️Generator Diff (please review changes)
Test run succeeded

Copy link
Member

@dalexsotodalexsoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM 👍

@joconte
Copy link
ContributorAuthor

@VincentDondain Thanks a lot

@VincentDondain
Copy link
Contributor

Thank you@joconte I had nothing to do, it was all there 😊

All green, merging

joconte reacted with hooray emoji

@VincentDondainVincentDondain merged commitdab13aa intodotnet:xcode11Aug 28, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dalexsotodalexsotodalexsoto approved these changes

@rolfbjarnerolfbjarnerolfbjarne approved these changes

+4 more reviewers

@spouliotspouliotspouliot approved these changes

@mandel-macaquemandel-macaquemandel-macaque approved these changes

@VincentDondainVincentDondainVincentDondain approved these changes

@whitneyschmidtwhitneyschmidtwhitneyschmidt approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@VincentDondainVincentDondain

Labels

communityCommunity contribution ❤note-highlightWorth calling out specifically in release notes

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

8 participants

@joconte@spouliot@monojenkins@VincentDondain@rolfbjarne@dalexsoto@mandel-macaque@whitneyschmidt

[8]ページ先頭

©2009-2025 Movatter.jp