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

DLRadioButton in cocoatouch Framework #140

Open
23hassine1 opened this issue Jun 15, 2018 · 1 comment
Open

DLRadioButton in cocoatouch Framework #140

23hassine1 opened this issue Jun 15, 2018 · 1 comment

Comments

@23hassine1
Copy link

hello every one I am trying to add radio and square buttons to a cocoaTouch Framework manually since I'll be using .xcodeproject I have copied DLRadioButton.h and DLRadioButton.m into my project, when I import DLRadioButton this error is displayed no such module"DLRadioButton" I have tried building, cleaning and nothing, any suggestion is appreciated

@redcapua
Copy link

redcapua commented Dec 3, 2018

To import Objective-C code into Swift you have to create "-Bridging-Header.h"

Instructions are here:
https://developer.apple.com/documentation/swift/imported_c_and_objective-c_apis/importing_objective-c_into_swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants