• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Datatypes still not recognized after adding bridging header...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Datatypes still not recognized after adding bridging header...


  • Subject: Re: Datatypes still not recognized after adding bridging header...
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 20 Feb 2015 10:27:17 -0600

On 19 Feb 2015, at 9:59 PM, Peters, Brandon <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden


References: 
 >Datatypes still not recognized after adding bridging header... (From: "Peters, Brandon" <email@hidden>)

  • Prev by Date: checking for app store receipts
  • Next by Date: -beginSheet:modalForWindow:modalDelegate:didEndSelector
  • Previous by thread: Datatypes still not recognized after adding bridging header...
  • Next by thread: NSPredicateEditor's date picker doesn't use user's date format
  • Index(es):
    • Date
    • Thread