2013年7月18日

实现不规则形状的按钮

摘要: 用到了四个文件:UIImage+ColorAtPixel.hUIImage+ColorAtPixel.mOBShapedButton.hOBShapedButton.m作者:Ole Begemann 1 /* 2 Copyright (c) 2009 Ole Begemann 3 4 Permission is hereby granted, free of charge, to any person obtaining a copy 5 of this software and associated documentation files (the "Software") 阅读全文

posted @ 2013-07-18 16:46 许木木 阅读(642) 评论(0) 推荐(0) 编辑

如何创建一个渐变背景色的按钮

摘要: 通过NVUIGradientButton 类来实现,作者:Nicolas Verinaud 1 // 2 // NVUIGradientButton.h 3 // 4 // Created by Nicolas Verinaud on 20/06/12. 5 // Copyright (c) 2012 nverinaud.com. All rights reserved. 6 // 7 8 #import 9 10 typedef enum {11 NVUIGradientButtonStyleDefault = 1,12 NVUIGradientButtonStyl... 阅读全文

posted @ 2013-07-18 15:16 许木木 阅读(559) 评论(0) 推荐(0) 编辑

导航