- 博客(6)
- 收藏
- 关注
原创 iOS通讯录
#import @interface AppDelegate :UIResponder UIApplicationDelegate>@property (strong,nonatomic) UIWindow *window;@end
2014-05-30 21:49:21 984
转载 UITableView
1. UITableView的初始化[csharp] UITableView tableview= [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 320, 420)]; [tableview setDelegate:self]; [tableview setDataSource:self]; [self.vi
2014-05-30 14:09:24 566
原创 自定义button做关灯游戏
AppDelegate.h#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@endAppDelegate.m#import "AppDelegate.h"#import "MainViewController
2014-05-28 13:57:45 562
原创 关灯游戏
#import @interface AppDelegate :UIResponder UIApplicationDelegate>@property (retain,nonatomic) UIWindow *window;@end
2014-05-27 18:13:18 575
原创 OC实现简单通讯录
1、定义联系人类AddressContact。实例变量:姓名、性别、电话号码、住址、分组名称。方法:自定义初始化方法(姓名、电话号码)、显示联系人信息 2、在main.m中定义可变数组,管理所有联系人。可以添加新联系人对象,如果姓名或电话号码为空,打印添加失败。 3、获取某个分组下的所有联系人。 4、根据电话号码搜索联系人。 5、获取所有女性
2014-05-19 16:44:24 6084
原创 构建省市区(OC练习题)
省市区main.m#import #import "Country.h"#import "Province.h"#import "City.h"int main(int argc,const char * argv[]){ NSString * path =@"/Users/dlios/Deskt
2014-05-19 16:28:56 955
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人