自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 ios webView 加载本地html5

ios  webView 加载本地html5 UIWebView *webView=[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)]; [self.view addSubview:webView]; NSString *filePath = [[NSBu

2015-09-17 09:52:54 1103

原创 ios Segue传值

ios Segue传值相关代码如下: [self performSegue:@"UserInfo_Setting" params:nil]; - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{ UserFriendViewController *vc = segue.destinationViewC

2015-09-07 13:41:59 514

原创 ios 转json字符串

ios 转json字符串相关代码如下: //把字典和数组转换成json字符串 - (NSString *)stringTOjson:(id)temps { NSData* jsonData =[NSJSONSerialization dataWithJSONObject:temps options:NSJSONWritingPrettyPrinted error:nil]; NS

2015-09-06 18:25:42 1876

原创 ios 排序

ios 排序相关排序代码如下: //冒泡排序 -(void)bubblesort { for (int i = 0; i < self.label.count-1; i++) { UILabel *labi = self.label[i]; for (int j = i; j <self.label.count; j++

2015-09-06 18:10:38 384

原创 ios UIAlertView

ios UIAlertView相关代码如下: - (IBAction)clicked:(id)sender { UIAlertView *alertView = [[UIAlertView alloc]initWithTitle:@"提示" message:@"请输入球队名称" delegate:self cancelButtonTitle:@"取消" otherButtonTitles

2015-09-06 18:07:24 404

原创 ios AFNetworking网络请求

ios AFNetworking网络请求: #import #import "AFNetworking.h" typedef void (^CallBack)(id obj); @interface UrlbyApi : NSObject @property (nonatomic ,copy)NSString *ipdress; + (void)requeWithRelationLis

2015-09-06 17:59:20 500

原创 ios 即时通讯-xmpp

ios 即时通讯-xmpp相关代码如下: #import #import "XMPPFramework.h" #import "CommunViewController.h" @protocol XMPPManagerDelegate @required -(void)receiveMessage:(XMPPMessage *)message; @end @interface TRXMP

2015-09-06 17:08:33 982

原创 ios xml解析

ios xml解析: #import "XmlParse.h" #import "TBXML.h" #import "City.h" @implementation XmlParse +(NSMutableArray *)parseMenusByPath:(NSString *)path{ NSMutableArray *citys = [NSMutableArray array];

2015-09-06 16:49:08 451

原创 UITableView基本属性二:编辑模式

UITableView基本属性二 : //设置分区头 -(NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section { if (0 == section) { return @"男员工"; }else{ return @"女员工"

2015-09-06 14:29:29 670

原创 ios tableView基本属性一:

ios tableView基本属性一: //返回的section数 - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{ return 2; } //返回每个section的行数 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSe

2015-09-06 10:15:55 624

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除