How to add .swift file into existing Objective-c project and make access to objective-c file
            Asked
            
        
        
            Active
            
        
            Viewed 727 times
        
    1 Answers
-1
            
            
        - Create .swiftfile supposenewSwiftController.swift
- automatically bridging file get appeared allow it to be created.
- add #import "ProjectName-Swift.h"into implementation .m file where you want to access your newly created.swiftfile.
- go to project target - Build Setting -> search for Defines module and set it to YES
 
    
    
        LinusGeffarth
        
- 27,197
- 29
- 120
- 174
 
    
    
        NSurajit
        
- 413
- 4
- 10
