How to use Realm on Swift Playground?

So, I'm pretty new to Xcode, but I read the documentation on how to import third-party frameworks into the playground in Xcode 7.1.1, as well as the documentation on how to get started with Realm using the Dynamic Framework installation method.

At this point, I have a workspace containing an iOS project, two .framework folders needed for Realm, and a Playground project. I created a workspace without errors.

I realized that some Realm examples on the playground would be a great way, but simple:

import RealmSwift

leads to the error "There is no such module" RealmSwift ". What am I missing?

+4
source share
2

Realm Cocoapods.

- Cocoapods librairies, , . , , .

+4

: Realm Swift Swift Playgrounds. zm ( direct download).


Realm Swift Playgrounds: https://github.com/realm/realm-cocoa/issues/938

+2

Source: https://habr.com/ru/post/1617479/


All Articles