2015年6月2日

多线程基础知识

摘要: file:///Users/jerehedu/Desktop/屏幕快照%202015-06-02%2019.20.12.png代码如下#import "ViewController.h"#import "UIImageView+ImageInit.h"@interface ViewControlle... 阅读全文

posted @ 2015-06-02 19:25 姚华玲 阅读(125) 评论(0) 推荐(0) 编辑

2015年5月26日

tabview分组。仿qq列表

摘要: 代码如下#import "ViewController.h"#import "JRProvince.h"@interface ViewController ()/** 省份数据数组*/@property(nonatomic,strong) NSMutableArray * province;/** ... 阅读全文

posted @ 2015-05-26 19:59 姚华玲 阅读(245) 评论(0) 推荐(0) 编辑

2015年5月22日

添加九宫格

摘要: 代码:- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.view.backgroundColor=[UIColor whiteColor]; ... 阅读全文

posted @ 2015-05-22 20:38 姚华玲 阅读(166) 评论(0) 推荐(0) 编辑

对coreData中得到context的封装

摘要: +(NSManagedObjectContext *)getContext{ NSManagedObjectModel * model=[NSManagedObjectModel mergedModelFromBundles:nil]; NSPersistentStoreCoordinator... 阅读全文

posted @ 2015-05-22 19:45 姚华玲 阅读(184) 评论(0) 推荐(0) 编辑

2015年5月21日

mysql

摘要: 1.导出整个数据库mysqldump -u 用户名 -p --default-character-set=latin1 数据库名 > 导出的文件名(数据库默认编码是latin1)mysqldump -u wcnc -p smgp_apps_wcnc > wcnc.sql2.导出一个表mysqldum... 阅读全文

posted @ 2015-05-21 20:41 姚华玲 阅读(143) 评论(0) 推荐(0) 编辑

oc随笔

摘要: //判断当前方法是不是属于该类或者其子类 id animal=[[Erhu alloc]init]; SEL sel=@selector(show); BOOL flag=[animal respondsToSelector:sel]; if(flag){ [animal ... 阅读全文

posted @ 2015-05-21 20:33 姚华玲 阅读(92) 评论(0) 推荐(0) 编辑

SQL语句

摘要: updatet_booksetbook_name='newBook'wherebook_count=12select book_count ,book_idfromt_bookwherebook_nameselect*fromt_bookwherebook_nameselect*fromt_book... 阅读全文

posted @ 2015-05-21 20:32 姚华玲 阅读(98) 评论(0) 推荐(0) 编辑

iOS三种视图切换的原理各不相同

摘要: UITabBarController:以平行的方式管理视图,各个视图之间往往关系并不大,每个加入到UITabBarController的视图都会进行初始化即使当前不显示在界面上,相对比较占用内存。UINavigationController:以栈的方式管理视图,各个视图的切换就是压栈和出栈操作,出栈... 阅读全文

posted @ 2015-05-21 20:21 姚华玲 阅读(187) 评论(0) 推荐(0) 编辑

对sql语句的封装

摘要: //// SqlManager.m// 0427Ibook//// Created by jerehedu on 15/4/29.// Copyright (c) 2015年 jerehedu. All rights reserved.//#import "SqlManager.h"#import ... 阅读全文

posted @ 2015-05-21 20:06 姚华玲 阅读(629) 评论(0) 推荐(0) 编辑

导航