Abramodj
Abramodj

Reputation: 5879

Custom color pattern to use in Interface Builder

I guys,

you surely know about the color grouped tableview background color(see the screenshot below) or the view flipside background color. You can find them in Interface Builder, and they are a sort of "pattern colors".

Is there a way to create a custom "pattern-color", and use it with IB? enter image description here

Upvotes: 2

Views: 1360

Answers (1)

AechoLiu
AechoLiu

Reputation: 18368

I think what you want is + (UIColor *)colorWithPatternImage:(UIImage *)image, which come from this apple doc. I remember some document mentioning about IB plug-in, but I has no experiment about custom IB plug-in.

As for me, I will use category syntax to extent custom color pattern for project.

Upvotes: 2

Related Questions