-
Notifications
You must be signed in to change notification settings - Fork 279
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
registerHandlerClass function is not there? #111
Comments
@borek2 I'm assuming that the header is in swift syntax because it was run through a Swift conversion? It looks like that converter made an error on interpreting the How is DLK being imported? With an umbrella header import you should be able to leave this as Objective C syntax, no? |
Thanks for the quick reply @chrismaddern ! I have added DeepLinkKit as a static library now (to use the Objective C syntax as you proposed), and it still gives problems. The actual function is there now, but i am not able to get a reference to it. With some trial and error (I am not very skillful in Objective-C) i noticed the following: This is the line that gives problems:
When i use another class in instead of Sorry if it sounds a little vague, i only program in Swift so Objective C is sometimes a little vague to me. Might this problem have something to do with xCode 8? |
Again it might be my lack of knowledge of Objective C, though in my understanding within the code DPLRouteHandler is both a protocol and a class? It is declared as a protocol in the file |
+1, In the same seat as @borek2. |
@doohoo @borek2 It looks likely that there may have to be an interface change and bump to We'll take a look in the early week and try to get something out asap! In the meantime, if either of you find a sensible interface change that works, feel free to fork / share. |
@chrismaddern Will look into it! Thanks for the help! |
I'm in the same situation. Hope you're able to sort it out asap 👍 |
Hi @borek2 , thanks for reporting the issue.
|
Awesome! Thanks so much! I will be testing this tomorrow @pantuspavel |
It seems to work 👍 Thanks @pantuspavel |
…ift3_interface #111 - registerHandlerClass:forRoute: interface is generated for Swift 3
Anyone got this working using Pods? |
@doohoo Hi!
|
We restored fix branch, so you can try:
|
@pantuspavel it didn't go to well. Basically get:
Thanks for your time and help. |
Hehe, something is messup. Will check it out 👀 . Thanks. |
@pantuspavel just went for the |
No problem! |
Sorry this took so long. The change is available now in 1.2.2 |
I have been upgrading to swift 3 for the passed hours i have put everything to work, except for DeepLinkKit. I am not able to find the function
registerHandlerClass
anymore. The weird thing is it is in theDPLDeepLinkRouter.h
but when i command click on DeepLinkKit within my own code i get the following:I am not sure that this is a problem I have or this is a problem in the pod. I have deleted the pods, deleted Podfile.lock, deleted derived data, cleaned my project, everything, but it still doesn't show up. Does anyone know what to do?
The text was updated successfully, but these errors were encountered: