Reputation: 9119
I copied the examples from firebase.com but I'm getting an error:
I can't get my code to recognize my text dictionary and save it.
Upvotes: 1
Views: 848
Reputation: 834
So I believe you are referencing a modified version of the following version from the firebase ios docs:
Consider declaring the newText
variable as AnyObject
like so:
var newText: AnyObject = ["test1": gracehop]
Upvotes: 1