In this post, I’ll illustrate how to apply color to specified black-masked-image. Please go through the code to understand implementation.
Open Xcode and create a new project from the View-based Application template. Add some existing image you want to use in application to Resources folder (Add->Existing Files…), in tutorial I use image named storm-at-sea.jpg. Open YouProjectName_ViewController.xib in Interface builder, add … Continue reading
Masking an image enables a developer to create images with irregular shapes dynamically. Masking is often used to create a user interface that is more compelling and less boring. Take for example the following example … Following code … Continue reading