码迷,mamicode.com
首页 >  
搜索关键字:uibutton    ( 1178个结果
导航栏自定义一个UIBarButtonItem最快的方式
1 + (UIBarButtonItem *)itemWithIcon:(NSString *)icon highIcon:(NSString *)highIcon target:(id)target action:(SEL)action2 {3 UIButton *button = [UI...
分类:其他好文   时间:2015-07-27 01:51:09    阅读次数:118
iOS开发NSBundle、UIImageView和UIButton总结
1.NSBundle1>一个NSBundle代表一个文件夹,利用NSBundle能访问对应的文件夹2>利用mainBundle就可以访问软件资源包中的任何资源3>模拟器应用程序的安装路径2.UIImageView和UIButton1>使用场合*UIImageView:如果仅仅是显示图片,不需要监听图...
分类:移动开发   时间:2015-07-26 17:06:58    阅读次数:110
Objective-c UIButton
Objective-c UIButton...
分类:其他好文   时间:2015-07-25 20:02:17    阅读次数:152
使用一个类封装所有字体的设置
首先,定义好字体样式plist配置文件然后写一个类,封装plist字体配置文件读取、给UILabel设置字体、UIButton设置字体、UITextfiled设置字体 ....#import @interface FontManager : NSObject@property (nonatomic,...
分类:其他好文   时间:2015-07-23 00:40:31    阅读次数:89
Snail—UI学习之得到某组件的方法
第一种方法:根据传入函数的参数对象的tag属性区分 比如 多个按钮执行同一个方法,但是不同的方法执行时,里面的逻辑又不一样 那就得加以区分 这时可以用tag来区别 //再新建一个Button UIButton * button2 = [UIButton buttonWithType:UIButtonTypeSystem]; button2.frame = CGRectMake(...
分类:其他好文   时间:2015-07-22 20:53:38    阅读次数:86
做的东西随便上传
#import "ShowTimeViewController.h"@interface ShowTimeViewController ()@property (weak, nonatomic) IBOutlet UIButton *btnBigen;@property (weak, nonatom...
分类:Web程序   时间:2015-07-22 20:29:23    阅读次数:124
objc_setAssociatedObject 使用
-?(void)viewDidLoad?{ ????[super?viewDidLoad]; ?? ???? //????static?const?char?associatedButtonkey; ???? ???? ???? ????UIButton?*btn?=?[UIButton?buttonWithT...
分类:其他好文   时间:2015-07-22 16:40:54    阅读次数:393
IOS第二天
第二天*******图片的放大,和缩小 (去掉自动的布局)-(IBAction ) zoomFrame:(UIbutton *) button{ CGRect frame= self.iconButton.frame; // CGRect frame= self.iconButton.bound.....
分类:移动开发   时间:2015-07-21 20:17:22    阅读次数:229
iOS_GET_网络请求
同步的 get 请求#pragma mark - 同步的 get 请求 - (IBAction)GETSynButtonDidClicked:(UIButton *)sender { // 1、网址里面必须写 http:// NSString *urlString = @"http://ipad-bjwb.bjd.com.cn/DigitalPublication/publish/Ha...
分类:移动开发   时间:2015-07-21 18:41:20    阅读次数:178
iOS_POST_网络请求
同步的 post 请求#pragma mark - 同步的 post 请求 - (IBAction)POSTSynButtonDidClicked:(UIButton *)sender { // 1、拼接 baseUrlString NSString *baseUrlString = @"http://ipad-bjwb.bjd.com.cn/DigitalPublication/pu...
分类:移动开发   时间:2015-07-21 18:39:02    阅读次数:122
1178条   上一页 1 ... 61 62 63 64 65 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!