Data access object design for iOS