Is your header public?
Select the header file in the project explorer. Then in the section on the right in xcode, you’ll notice there is a dropdown next to the target. Change that from “project” to “public”. This worked for me.
More Related Contents:
- How to to take time as input OS X
- Convert NSDate to NSString
- How do I add 1 day to an NSDate?
- IBOutlet and IBAction
- Call Swift function from Objective-C class
- How to control the line spacing in UILabel
- What’s the _ underscore representative of in Swift References?
- How to use a Objective-C #define from Swift
- Cannot access property on Swift type from Objective-C
- how to check screen size of iphone 4 and iphone 5 programmatically in swift
- How to prevent circular reference when Swift bridging header imports a file that imports Hopscotch-Swift.h itself
- Split an NSString to access one particular piece
- Are Swift variables atomic?
- Swift readonly external, readwrite internal property
- How do you call an Objective-C variadic method from Swift?
- How do I weak link frameworks on Xcode 4?
- How to create class methods that conform to a protocol shared between Swift and Objective-C?
- How to pass object with NSNotificationCenter
- How to use Objective-C CocoaPods in a Swift Project
- Converting to Swift 3 renamed my own Objective-C method
- Swift native base class or NSObject
- How to stop unwanted UIButton animation on title change?
- Xcode 6 Swift code completion not working
- How can I add forward class references used in the -Swift.h header?
- Can a Swift Optional Int (Int?) be exposed to Objective-C via bridging?
- Swift – Objective-C load class method?
- Can Objective-C code call Swift class extensions?
- How to declare a constant in swift that can be used in objective c
- Creating an NSDateFormatter in Swift? [closed]
- Swift: Class Prefix Needed?