Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code in swift readme will not compile #18

Open
elements-of-boredom opened this issue May 3, 2015 · 0 comments
Open

code in swift readme will not compile #18

elements-of-boredom opened this issue May 3, 2015 · 0 comments

Comments

@elements-of-boredom
Copy link
Contributor

I'm not sure if its due to Swift 1.2 however in step 12 the below code results in "Cannot assign to the result of this expression"
rev["check"] = !wasChecked
I believe rev.properties["check"] = !wasChecked is either what was meant to be, or now needs to be.

Also in step 13, when properties is declared it needs to be explicitly declared as a Dictionary or by default its created as NSDictionary and requires casting when passed into doc.putProperties

zgramana added a commit that referenced this issue May 20, 2015
Updated README.md for Swift, issue #18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant