我想在我現有的目標C項目中使用我的新ViewController.swift文件。在目標C文件中導入ViewController.swift
下面是SWIFT文件代碼
import UIKit
class TutorialViewController: UIViewController{
}
下面是Objective C的代碼
#import "TutorialViewController-Swift.h" //"TutorialViewController-Swift.h" file not found
我無法導入SWIFT代碼。我已經按照this的所有步驟操作
請讓我知道,我在哪裏犯錯。它僅適用於NSObject類嗎?
在此先感謝