I want to pass ITSwitch from obj-c to swift. https://github.com/iluuu1994/ITSwitch.git
at ITSwitch.m
@property (readonly, strong) CALayer *rootLayer;
therefore, in a quick entry, I write:
var rootLayer:CALayer?
but the code gives me this error:
Use of module 'CALayer' as a type
What does the error mean? How can i solve this?
swift calayer
galilio
source share