Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-11359] Swift 5 on Xcode 10.3 never call func dropInteraction(_ interaction: UIDropInteraction, performDrop session: UIDropSession) #53760

Closed
swift-ci opened this issue Aug 23, 2019 · 5 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-11359
Radar None
Original Reporter haithngn (JIRA User)
Type Bug
Status Closed
Resolution Invalid
Environment

Xcode 10.3 Final

Swift 5

iOS 12.x/11.4

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 59282cd3529e013bc1f004632dfa1ebc

Issue Description:

Hi there,

I'm now facing with Drag & Drop issue on Swift 5/Xcode 10.3.

The method func dropInteraction(_ interaction: UIDropInteraction, performDrop session: UIDropSession) never get called.

In Swift 4/Xcode 9.4 it worked fine.

@belkadan
Copy link
Contributor

This sounds like SR-10257. Can you see if the issue reproduces in the Xcode 11 betas?

You should be able to explicitly mark the method @objc to work around the problem.

@swift-ci
Copy link
Collaborator Author

Comment by Nguyen Thanh Hai (JIRA)

Unfortunately, it still does not work @belkadan

I tried:

  • Append @objc annotation.

  • Switch Compilation Mode: Incremental/Whole Module.

  • Implement these methods in separated class files.

  • Switch schemes Debug/Release

  • Followed any suggestion in the https://bugs.swift.org/browse/SR-10257

@belkadan
Copy link
Contributor

Can you attach your project, then, so we can look into the issue?

@swift-ci
Copy link
Collaborator Author

Comment by Nguyen Thanh Hai (JIRA)

Our project too large @belkadan, Can I attach the Swift Classes or can you create a private channel for uploading the whole project?

@belkadan
Copy link
Contributor

If you're okay with sharing it with Apple, you can file it at https://feedbackassistant.apple.com.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants