Before marking this duplicate please note that I have already looked into this question How can I import Swift code to Objective-C?enter link description here but this is about importing a library,
I want to know if I can write code blocks of swift in objective C project. Or perhaps add new files/classes within the same project instead of making a separate library of swift then importing the library.
For example we can write C code in objective C in .mm files, is there a similar way to incorporate swift code in the objective C code ?