BWDB SQLite wrapper for iOS ARC issues

拥有回忆 提交于 2019-11-29 17:40:03

I don't know if you picked up BWDB from the Lynda training class or some other source, but I tried it and subsequently shifted to FMDB another wrapper which is more complete and, incidentally, is already ARC-enabled. If you're not wed to BWDB, you might want to check out FMDB.

If you want to stick with BWDB, you might just flag it as non-ARC in your target settings' "Build Phases" by double clicking on BWDB.m file in the "Build Phases" and specify -fno-objc-arc. There's no need to convert to ARC if you don't want to. You can generally use non-ARC code in your ARC project this way. See the "Can I opt out of ARC for specific files?" section of the Transitioning to ARC FAQ.

Roger Pingleton

Within the past few weeks Lynda.com has released an updated version of Bill Weinman's course, entitled, iOS SDK and SQLite: Building Data-Driven Apps.

This new version addresses the ARC issues. I have compiled it using ARC and it compiles just fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!