C gurus! I need your help! I have the following block of code that I used to modify an image to make it Oval shaped with a colored border. It works perfect. Now, I have 13 other images to make and don't want to have to type this out for each one. I am sure it would be much easier to store them into an array and pass into a function, but I am tripping up on how exactly to that.
CALayer *A = [img1 layer];
[A setMasksToBounds:YES];
[A setCornerRadius:31.0];
[A setBorderWidth:2.5];
[A setBorderColor:[[UIColor blueColor] CGColor]];
I am hoping someone can teach me and help to turn this into a functional learning experience! Thanks for your help.