Hi,
Thanks for your reply.
Yes. i have difficulty in adding new swift file in my project.
Once i add a new swift view controller in my objective C Project, it asked me to add bridging file.
I added it.
And then , I imported "MyProjectName-Swift.h" in my ObjectiveC File.
When i build the project, it fails and shows errors
" '#pragma clang attribute pop' with no matching '#pragma clang attribute push' "
" Expected 'language' , 'definedin' or generatedDeclaration " in "MyProjectName-Swift.h"
Pls help to solve this issue
Topic:
Programming Languages
SubTopic:
Swift
Tags: