I'm using xcode 7 and swift to write swift code and objective-c together. I I encounted Receiver "Swift_Class" for class message is a forward declaration
SwiftCode.swift source file
----------------------------------------
class SwiftCode: NSObject {
func someFunction() {
}
}
Objective-CCode.m source file
----------------------------------------
..
SwiftCode *someSwiftCode = [ [SwiftCode alloc] init] <- failed here
Does someone can help me, thanks in advance