-
-
Notifications
You must be signed in to change notification settings - Fork 740
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
Xcode 6 / Swift incompatibility #36
Comments
Hi. Anyway, it will be useful, if you provide more information about your issue: p.s. |
I am seeing the same bug. I'm able to compile if I insert "#import <UIKit/UIKit.h>" into the files that throw this error. However, when I do something like
The code runs without an error but doesn't show the view. I have checked that the self.view has bounds equal to the size of the screen. I'm still debugging, but thought I should share this. |
@schmatz Thanks for info. Get in touch with updates of your research! |
Hey, guys. I implement test project on Swift. You can check it out in branch @schmatz Indeed, on iPhones swift code works well. But on iPads picker doesn't shows (only in swift project). @amayasov according your topic question - I think the problem is lack of |
@amayasov I fix import problem. Now you can use this project in swift |
Now Swift example merged to |
@skywinder, Thanks. We've downgraded to objective-c, so it is not a problem for us any more :) But thank you anyway for your support. |
Can you make one single .h file which imports all relevant files? In swift you have to use a bridging header to import .h files and I would have to import each single file of your library. @skywinder |
I update header |
Hi Petr,
I don't know if it is a real issue or perhaps i'm doing something wrong, but I was not able to integrate this cocoapod with my swift project. Basically after you install a pod to the project and add reference to the bridge header of the project, it fails to compile on all the UI (eg. UIView) class references inside .h files within a pod, complaining that it is unknown type. Do you know what could cause such a behavior, is it a bug in podspec? It there anything you can suggest for me to look at?
PS> I didn't find a place to post questions, so posting it as an issue which very well could turn not to be
Thanks,
Artem
The text was updated successfully, but these errors were encountered: