RegisterAttribute.IsStubClass Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether the Objective-C class is a stub class. Objective-C stub classes are sometimes used when bridging Swift to Objective-C.
public bool IsStubClass { get; set; }
member this.IsStubClass : bool with get, set
Property Value
Remarks
Stub classes can be identified because they include SWIFT_RESILIENT_CLASS in the generated Objective-C header.
Example Objective-C type declaration:
SWIFT_RESILIENT_CLASS("_TtC16MySwiftFramework11MySwiftType")
@interface MySwiftType : SwiftTypeFromDifferentSwiftFramework
@end