简体   繁体   中英

Using Realm with Swift on iOS 7

I have an app written in Swift that supports iOS 7. I want to use Realm for my database, but according to their documentation the Swift library supports iOS 8 only.

I don't want to write Objective-C code in my app. Is there any way around this?

由于RealmSwift必须作为动态框架分发,因此在iOS 7上没有真正的方法可以使用它RealmSwift Objective-C在Swift中应该可以正常工作,尽管它具有较少的“原生”感觉。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM