Weak Linking in Swift

I’m dealing with a scenario where there is an Objective-C class that I am weakly linking:

__attribute__((weak_import))
@interface MyClass : NSObject @end

I’m also using this class in my Swift code:

  • Objective C Delegate declaration
  • How to change the NSPopover's arrow head position?
  • Hide Red Recording Status Bar In iOS App When Not Recording
  • How to efficiently use Autolayut and Auto-Resizing in same target?
  • ios8 UIModalTransitionStylePartialCurl doesn't work properly
  • iOS 6 - can i return data when i unwind a segue?
  • let myObject : MyClass = MyClass()
    

    However, this always crashes when run in swift_getObjCClassMetadata, even if I’m only casting an object that’s already of type MyClass

    let myObject : MyClass = otherObj as? MyClass
    

    Is there any way to successfully cast to, or utilize these classes from Swift?