关键字 selector 的文章


由   YIem   撰写于    浏览:3973  评论:0
self.seg = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"界面1", @"界面2", @"界面3", nil]];self.seg.frame = CGRectMake(100, 100, 200, 30); // 起始选中状态 self.seg[...]

由   YIem   撰写于    浏览:3005  评论:0
iOS-UI-Button按钮自定义图标-图片样式切换 UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];button.frame = CGRectMake(100, 300, 200, 50); // 正常状态 [button setBackgroundImage[...]

由   YIem   撰写于    浏览:3816  评论:0
// 按钮 button UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem]; button.frame = CGRectMake(100, 300, 50, 30);// button.backgroundColor = [UIColor redColor];//[...]

由   YIem   撰写于    浏览:3761  评论:0
iOS-TOM猫-汤姆猫动画播放-UIImageVIew#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UIImageView *img;@end@implementation ViewController([...]

由   YIem   撰写于    浏览:3881  评论:0
iOS-UI-View-实现七种颜色的--跑马灯效果-使用for循环铺view forin遍历颜色写在ViewController.m

由   YIem   撰写于    浏览:4759  评论:0
Objective-C考试- 蓝鸥3G-OC考试题 ※ 选择题(共40题,每题2分) 1、NSString *str = @“lanou”; [str retain]; [str autorelease];
此时str的引用计数是________。 答案:(D) A、0 B、1 C、2 D、以上[...]

由   YIem   撰写于    浏览:3016  评论:0
.main.m 代码 /********** 自定义类型对象的排序 *****************/ Person *per1 = [[Person alloc] initWithName:@"Long" age:22]; Person *per2 = [[Person alloc] initWithName:@[...]

由   YIem   撰写于    浏览:2869  评论:0
/*************** 简单对象的排序 *****************/ // 排序 可变数组NSMutableArray *arr = [NSMutableArray arrayWithObjects:@"8", @"2", @"3", @"5", [...]

由   YIem   撰写于    浏览:4094  评论:0
//// AppDelegate.h// UI13_Block传值//// Created by YIem on 15/12/23.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface Ap[...]

由   YIem   撰写于    浏览:4443  评论:0
//// AppDelegate.h// UI13_练习//// Created by YIem on 15/12/23.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDele[...]

由   YIem   撰写于    浏览:3812  评论:0
//// AppDelegate.h// UI12_TavleView编辑//// Created by YIem on 15/12/22.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interfac[...]

由   YIem   撰写于    浏览:3248  评论:0
//// AppDelegate.h// UI12_限时练习//// Created by Marry W. on 15/12/22.// Copyright © 2015年 www.lanou3g.com 蓝鸥科技. All rights reserved.//import <UIKit/UIKit.h>@interface [...]

由   YIem   撰写于    浏览:3274  评论:0
//// AppDelegate.h// UI11_UITablView综合练习//// Created by YIem on 15/12/21.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@inter[...]

由   YIem   撰写于    浏览:3924  评论:0
//// AppDelegate.h// UI11_练习2//// Created by YIem on 15/12/21.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDel[...]

由   YIem   撰写于    浏览:3398  评论:0
//// RootViewController.m// UI10_UITableView2//// Created by Marry W. on 12/18/15.// Copyright (c) 2015 www.lanou3g.com 蓝鸥科技. All rights reserved.//import "RootViewControl[...]

由   YIem   撰写于    浏览:3565  评论:0
//// RootViewController.h// UI9_UITableView练习//// Created by YIem on 15/12/17.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>[...]

由   YIem   撰写于    浏览:4046  评论:0
// RootViewController.m// **UI8_轮播图//**// Created by YIem on 15/12/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewController.h"@inter[...]

由   YIem   撰写于    浏览:4859  评论:0
//// AppDelegate.h// UI8_练习//// Created by YIem on 15/12/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDel[...]

由   YIem   撰写于    浏览:4426  评论:0
//// AppDelegate.h// UI8_Block//// Created by YIem on 15/12/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface App[...]

由   YIem   撰写于    浏览:3565  评论:0
//// AppDelegate.h// UI8_协议传值//// Created by YIem on 15/12/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppD[...]

由   YIem   撰写于    浏览:3922  评论:0
创建三个页⾯面,要求: 1.登陆页⾯面LoginViewController,可以输⼊入⽤用户名和密码, 导航栏右侧放置添加按钮,可以通过添加按钮模态到注册 页⾯面。 2.注册页⾯面RegisterViewController,填写⽤用户名,密码, 确认密码后注册。 3.欢迎页⾯面WelcomeViewController,由登陆页⾯面push得 [...]

由   YIem   撰写于    浏览:4550  评论:0
//**创建三个控制器 要求 :1.命名 First ~ Third。 2.分别设置背景颜⾊色红、灰、蓝。 3.如⽰示例完成⾃自定义导航栏。**//// AppDelegate.h// UI7_作业//// Created by YIem on 15/12/15.// Copyright (c) 2015年 www.yiem.net YIe[...]

由   YIem   撰写于    浏览:3703  评论:0
//// AppDelegate.h// UI7_页面跳转//// Created by YIem on 15/12/15.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppD[...]

由   YIem   撰写于    浏览:3336  评论:0
//// RootViewController.m// UI7_UINavigationController//// Created by YIem on 15/12/15.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewCo[...]

由   YIem   撰写于    浏览:4973  评论:0
//// RootViewController.m// Phone//// Created by YIem on 15/12/12.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewController.h"import "LT[...]