add logic.
Merge branch 'master' of github.com:taktamur/ios-samples