Realm-cocoa: RLMNotificationToken in swift bridging header

Created on 10 Sep 2015  路  2Comments  路  Source: realm/realm-cocoa

Hey,

I tried to implement Realm based on the Example "TableView". Unfortunately I get always the following error.

screen shot 2015-09-10 at 13 04 26

"Declaration of 'RLMNotificationToken' must be imported from module 'Realm.RLMRealm' before it is required"

I tried it with the pods "Realm" und with "RealmSwift" but I get for both version the same error.
Any idea??

Most helpful comment

Ok I had to set the property to private to avid xcode to bridge this property for Objective C

All 2 comments

Ok I had to set the property to private to avid xcode to bridge this property for Objective C

You saved me :)

Was this page helpful?
0 / 5 - 0 ratings