开发者

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 vi开发者_JAVA百科ew 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?

Custom color pattern to use in Interface Builder


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜