Fixed warnings associated with designated initializers.
Added iOS example project.