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 only supports iOS 8.

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

+3


source to share


1 answer


Since it RealmSwift

has to be allocated as a dynamic framework, there is no real way to use it in iOS 7. Realm Objective-C should work just fine in Swift, albeit with a less "natural" feel.



+4


source







All Articles