DLRadioButton icon indicating copy to clipboard operation
DLRadioButton copied to clipboard

DLRadioButton in cocoatouch Framework

Open 23hassine1 opened this issue 6 years ago • 1 comments

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

23hassine1 avatar Jun 15 '18 07:06 23hassine1

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

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

redcapua avatar Dec 03 '18 22:12 redcapua