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

全部博文(284)

文章存档

2015年(6)

2014年(278)

我的朋友

发布时间: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.........【阅读全文】

阅读(547) | 评论(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.........【阅读全文】

阅读(464) | 评论(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;&.........【阅读全文】

阅读(447) | 评论(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..........【阅读全文】

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

发布时间:2014-06-26 20:56:24

通过读取系统网络接口信息,获取当前iphone设备的流量相关信息,统计的是上次开机至今的流量信息. 1. [代码][C/C++]代码    -(void)checkNetworkflow{    struct ifaddrs *ifa_list = 0, *ifa;    if (getifaddrs(&ifa_list) == -1)    {        r.........【阅读全文】

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

登录 注册