Chinaunix首页 | 论坛 | 博客
  • 博客访问: 377093
  • 博文数量: 284
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1707
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-14 16:38
文章分类

全部博文(284)

文章存档

2015年(6)

2014年(278)

我的朋友

发布时间:2014-06-27 14:55:35

1、从https://github.com/stig/json-framework/中下载json框架:json-framework2、解压下载的包,将class文件夹下的所有文件导入到当前工程下。3、在使用的文件中加入导入语句 :#import "SBJson.h"4、将json字符串转为NSDictionary对象[cpp]  view plain copy//测试json的解析  -(void)testJsonParse.........【阅读全文】

阅读(488) | 评论(0) | 转发(0)

发布时间:2014-06-27 14:40:19

1. [代码][其他]代码     void *bitmapData; //内存空间的指针,该内存空间的大小等于图像使用RGB通道所占用的字节数。static CGContextRef CreateRGBABitmapContext (CGImageRef inImage){CGContextRef context = NULL;CGColorSpaceRef colorSpace;int bitmapByteCount;int bitmapBytesPerRow;&n.........【阅读全文】

阅读(579) | 评论(0) | 转发(0)

发布时间:2014-06-27 14:34:46

1. [代码][C/C++]代码     NSURL *url = [NSURL URLWithString:  @"http://www.raywenderlich.com/downloads/Party.xml"];NSMutableURLRequest* request = [NSMutableURLRequest new];    [request setURL:url];    [request setHTTPMethod:@"GET"]; NSHTTPURLRe.........【阅读全文】

阅读(479) | 评论(0) | 转发(0)

发布时间:2014-06-26 21:07:04

1. [代码][其他]代码     void *bitmapData; //内存空间的指针,该内存空间的大小等于图像使用RGB通道所占用的字节数。static CGContextRef CreateRGBABitmapContext (CGImageRef inImage){CGContextRef context = NULL;CGColorSpaceRef colorSpace;int bitmapByteCount;int bitmapBytesPerRow;&.........【阅读全文】

阅读(474) | 评论(0) | 转发(0)

发布时间:2014-06-26 21:02:10

iOS 两个tableview的 瀑布流1. [代码]Objective-C     ////  DocViewController.m//  getrightbutton////  Created by 隋文涛 on 12-12-9.//  Copyright (c) 2012年 隋文涛. All rights reserved.//#import "DocViewController.h"#define heightofimage(image) image.size..........【阅读全文】

阅读(1064) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册