I’m examining the Swift interface exposed by my Objective-C API, and I discovered that one class has two properties mysteriously missing. Here’s the start of the Obj-C interface:
@interface CBLAttachment : NSObject /** The owning document revision. */ @property (readonly) CBLRevision* revision; /** The owning document. */ @property (readonly) CBLDocument* document; /** The filename. */ @property (readonly, copy) NSString* name; /** The MIME type of the contents. */ @property (readonly, nullable) NSString* contentType; and here’s the equivalent part of the translated Swift interface, as shown in the Xcode 7.3(beta) assistant pane: public class CBLAttachment : NSObject { /** The owning document revision. */ /** The owning document. */ public var document: CBLDocument { get } /** The filename. */ /** The MIME type of the contents. */ public var contentType: String? { get } Note that `revision` and `name` are missing. * If I rename either property in the .h file and save, the Swift interface then shows that property. * If I change the type (like from NSString* to int), nothing happens. * I have another class with an identical `name` property, which does appear in the Swift interface. Anyone seen anything like this? Should I file a bug report against Xcode? —Jens
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com