Creating iOS apps to use design patterns