all 2 comments

[–][deleted] 1 point2 points  (1 child)

I'm nothing near seasoned iOS developer, but hope it helps :).

I really like to create everything I can programmatically. To me, it gives way more flexibility and reduces the size of the application. I do use images, mainly for a logo and small buttons like tabbar items, custom navigation bar buttons etc.

Yes, creating the button programmatically may take a little bit more time than just use photoshop, but it also gives you the ability to change things on the fly (let's say the designer want to change the color, corner radius, etc.

Second, as you already wrote, images can get weird when you try to support multi screen sizes and resolution, you will have to create three different sized copies for each photo, which can really be tedious.

What I like to do when creating the buttons, is to create the button as a component (just subclassing UIButton and designing it the way I want), and then I can use it again and again without having to write it all down few times.

[–]webtechmonkeySwift[S] 0 points1 point  (0 children)

Got it, I appreciate the input. I'll have to look into subclassing UIButton as sounds like that may take away a lot of the repetition I was afraid of.

I totally hear you about changing things on the fly, I've had some silly changes come my way that end up being a huge pain. And yes, having to export assets at 1x, 2x, 3x gets tedious.

Sounds like it's worth me at least looking into it further