ios - Why won't Objective C classes autocomplete in swift? (updated) -


i importing objective c classes in bridging header file swift:

bridging header

#import "mycustomclass.h" 

in swift class, trying use code:

var x = mycustomclass() x.myfunmethod() 

however, before run/build "use of unresolved identifier" errors @ above 2 lines. furthermore, cannot use autocomplete type out x.myfunmethod(). once run/build, errors go away , app runs normal.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -