This is a common question for lots of people.
The swift files are made available to Objective C world with [SwiftName]-swift.h so anybody can go in there and c their objective declaration for their swift counterparts.
so to use this will simply import the header files in objective c class
likewise in-order to consume objective c objects in swift world we'll just mention those things in bridging header thats all and its immediately available to swift world.
so I wondered where the objective files are stored in swift syntax so that it can be used in swift world.
these files can be found when you make following selection in xcode
Navigate -> Jump to generated files
The swift files are made available to Objective C world with [SwiftName]-swift.h so anybody can go in there and c their objective declaration for their swift counterparts.
so to use this will simply import the header files in objective c class
likewise in-order to consume objective c objects in swift world we'll just mention those things in bridging header thats all and its immediately available to swift world.
so I wondered where the objective files are stored in swift syntax so that it can be used in swift world.
these files can be found when you make following selection in xcode
Navigate -> Jump to generated files
No comments:
Post a Comment