You must put @objc(SwiftClassName)
above your swift class.
Like:
@objc(SubClass)
class SubClass: SuperClass {...}
More Related Contents:
- Bold & Non-Bold Text In A Single UILabel?
- In Swift, how can I declare a variable of a specific type that conforms to one or more protocols?
- #warning: C-style for statement is deprecated and will be removed in a future version of Swift [duplicate]
- How do you add an in-app purchase to an iOS application?
- Base64 Decoding in iOS 7+
- Why do I get iOS linker errors with my static libraries?
- Xcode not automatically creating bridging header?
- Global constants file in Swift
- iOS detect if user is on an iPad
- When to use @objc in Swift?
- How to set back button text in Swift
- Drop-Down List in UITableView in iOS
- Get UTC time and local time from NSDate object
- Enable Camera and Mic access in wkwebview
- Best way to parse URL string to get values for keys?
- How to change the tint color of the clear button on a UITextField
- Moving views with constraints
- Swift 3.1 deprecates initialize(). How can I achieve the same thing?
- UILabel with text of two different colors
- How to Insert the UITextView into UIAlertview in iOS
- Swift equivalent to `[NSDictionary initWithObjects: forKeys:]`
- How can I programmatically determine if my app is running in the iphone simulator?
- How to know that if the only visible area of a .png is touched in Xcode
- Format UILabel with bullet points?
- Get current iPhone device timezone date and time from UTC-5 timezone date and time iPhone app?
- Confused about Orthographic Projection of camera in SceneKit
- import swift class in objective-c, -Swift.h file not found
- Hide the status bar in ios 9
- How to manage cookies with UIWebView in Swift
- How do I do weak linking in Swift?