xcode - How to turn iOS framework into module -
i have ios framework created in set 'project' scope, i.e. don't want make public , have been happily including project in other apps share same framework. i've started using swift new project. linked existing framework , added custom view 1 of view controllers in interface builder. app seems compile, link , run fine, , custom view shows fine too. when create iboutlet swift file, of sudden complains use of undeclared type custom class , won't compile anymore. if try import myframework complains can't find such module.
so question is, how convert project scoped framework module , how make class visible in swift? ib seems have no issues , app linking , running fine. won't let me access class inside swift code. please help!
in yourproject-bridging-header.h,
#import <yourframework/yourframework.h>
Comments
Post a Comment