On 19 Feb 2015, at 9:59 PM, Peters, Brandon <bap...@my.fsu.edu> wrote:
> I added a bridging header so that I could use the FMDB Objective-C code in > Swift. However, the compiler still says it cannot recognize the datatype. > Under Swift Compiler -> Code Generation I added the bridging header there. Is > there something else I am missing? I am running Xcode 6.3 beta on 10.10.2. Are you compiling FMDB as a separate module, or folding it into the target compilation phase? Can you show us the bridging header (which implies you’ve added FMDB in-target)? Are you importing the FMDB module into your Swift source (if a separate module)? Does Swift not-recognize all of the FMDB classes, or just some? Or is “the datatype” something other than an FMDB-defined class? Beyond this, I’d be getting into things from the Using Swift with Cocoa and Objective-C document. — F _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com