iOS example app code cleanup.
Merge pull request #100 from kovpas/master

iOS example app code cleanup.
fix attribute chaining example