Alloc Method to Choose Between Regular and Phone


/ Published in: Objective C
Save to your folder(s)

This method will alloc the current class unless the device is a phone (also defined here). Then it will try to alloc the class with the suffix "Phone."

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.