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

[UIKit] Update bindings to Xcode 11 Beta 5#6717

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
dalexsoto merged 1 commit intodotnet:xcode11fromdalexsoto:alex-uikit-b5
Aug 6, 2019

Conversation

@dalexsoto
Copy link
Member

No description provided.

rolfbjarne reacted with thumbs up emoji
@dalexsotodalexsoto added this to thexcode11 milestoneAug 6, 2019
@dalexsotodalexsoto added the note-highlightWorth calling out specifically in release notes labelAug 6, 2019
@monojenkins
Copy link
Collaborator

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

@dalexsoto
Copy link
MemberAuthor

Breaking changes expected on new type


[Export ("activityItemsConfigurationMetadataForKey:")]
[return: NullAllowed]
NSObject GetActivityItemsConfigurationMetadata (NSString activityItemsConfigurationMetadataKey);
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have an enum for this keys? Use a smart enum, expose the string one as an advance one.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

You can't because this is a protocol :)

NSItemProvider [] ItemProvidersForActivityItemsConfiguration { get; }

[Export ("activityItemsConfigurationSupportsInteraction:")]
bool GetActivityItemsConfigurationSupportsInteraction (NSString activityItemsConfigurationInteraction);
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have an enum for this and then expose the string one for advance users?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

You can't because this is a protocol :)

[Export ("activityItemsConfigurationPreviewForItemAtIndex:intent:suggestedSize:")]
[return: NullAllowed]
NSItemProvider GetActivityItemsConfigurationPreview (nint index, NSString activityItemsConfigurationPreviewIntent, CGSize suggestedSize);

Copy link
Contributor

Choose a reason for hiding this comment

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

In all the methods, or most of them we haveGetActivityItemsConfiguration then either preview or metadata. Can we just use GetMetadata and GetPreview?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

You can't because this is a protocol :) Also I think the name is important because this is a protocol and can be implemented by several, also I think this avoids a round trip to documentation

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

and also goes by hand with the propertyItemProvidersForActivityItemsConfiguration

Copy link
Contributor

Choose a reason for hiding this comment

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

Meh.. I'm going to accept it because Swift uses the same.. but what a horrible name.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

And swift uses the same

optional func activityItemsConfigurationPreviewForItem(at index: Int,                                                 intent: UIActivityItemsConfigurationPreviewIntent,                                          suggestedSize: CGSize) -> NSItemProvider?

@dalexsotodalexsoto merged commitd883feb intodotnet:xcode11Aug 6, 2019
@dalexsotodalexsoto deleted the alex-uikit-b5 branchAugust 6, 2019 11:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@VincentDondainVincentDondainAwaiting requested review from VincentDondain

@rolfbjarnerolfbjarneAwaiting requested review from rolfbjarnerolfbjarne is a code owner

@spouliotspouliotAwaiting requested review from spouliot

1 more reviewer

@mandel-macaquemandel-macaquemandel-macaque approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

note-highlightWorth calling out specifically in release notes

Projects

None yet

Milestone

xcode11

Development

Successfully merging this pull request may close these issues.

3 participants

@dalexsoto@monojenkins@mandel-macaque

[8]ページ先頭

©2009-2025 Movatter.jp