上一页 1 2 3 4 5 6 7 8 ··· 45 下一页

2011年8月2日

异步获取地址

摘要: /根绝经纬度获取地点信息- (NSString*)GetAddressByCoordinate:(double)latitude longitude:(double)longitud{ NSLog(@"加载eeeeee"); NSString *ld = [[NSString alloc] initWithFormat:@"%f",latitude]; NSString *lt = [[NSStr... 阅读全文

posted @ 2011-08-02 09:48 风乔 阅读(80) 评论(0) 推荐(0) 编辑

2011年7月30日

发送HttpRequest请求

摘要: 在开发应用程序的时候,特别是当今网络特别充足和重要的时候,网络应用和桌面应用史无前例的整合起来,其界限也越来越模糊。所以网络应用可以向桌面应用开放API,然后桌面应用去调用,这样可以方便的维护一份代码,并且可以push更新到用户手里。而在设计的时候,通常情况下都是客户端发送相应的Http请求,并包含某些内容,发送完毕之后,等待服务器端的响应。而在服务器端,得到请求的内容并生成相应的结果返回即可。虽... 阅读全文

posted @ 2011-07-30 08:40 风乔 阅读(753) 评论(0) 推荐(0) 编辑

2011年7月29日

P2P NAT穿透技术

摘要: 前几天在做一个文件点对点传输的项目,涉及到NAT穿透,从上个星期到今天一直在调试和测试,最后到今天,看来已经战败!以下是两篇是我作为技术依据的文章:http://blog.csdn.net/ssihc0/archive/2008/10/10/3053395.aspxhttp://hi.baidu.com/wangzhe1945/blog/item/3e72fffe47fc2f365d60080c... 阅读全文

posted @ 2011-07-29 14:54 风乔 阅读(677) 评论(1) 推荐(0) 编辑

2011年7月27日

uitoolbar 圆角

摘要: #import // myToolBar.clipsToBounds=YES;// CALayer *l=myToolBar.layer;// // set corner radious// [l setCornerRadius:10];// // to apply border on corners// [l setBorderColor:[[UIColor c... 阅读全文

posted @ 2011-07-27 17:36 风乔 阅读(126) 评论(0) 推荐(0) 编辑

uitoolbar 删除背景

摘要: [myToolBar setBackgroundColor:[UIColor clearColor]]; @end后面加上 @implementation UIToolbar(Transparent)-(void)drawRect:(CGRect)rect { // do nothing in here}@end 阅读全文

posted @ 2011-07-27 17:24 风乔 阅读(207) 评论(0) 推荐(0) 编辑

UINavagationBar,UISearchBar,UIToolBar,UITabBar 自定义 Background Image

摘要: 这里运用了 object-c里面的一个类别,大体意思就是在不知道苹果封装起来的API内容的情况下,在外部程序中覆盖其原来的函数。大体这个意思吧。程序代码: 在程序的任何一个 .m文件 后面加上下面代码即可 记住 要在 @end 的后面加上。UINavigationBar:@implementation UINavigationBar (CustomImage2) - (void)drawRec... 阅读全文

posted @ 2011-07-27 17:17 风乔 阅读(358) 评论(0) 推荐(0) 编辑

mapview 标注多个地点

摘要: Very new to xcode and somewhat confused. I was able to use a custom image for annotation - works fine. Problem is that I want to do is have a different images for each of the annotations. What should... 阅读全文

posted @ 2011-07-27 16:03 风乔 阅读(268) 评论(0) 推荐(0) 编辑

2011年7月26日

uisearchbar 去除背景

摘要: [searchBar setBackgroundColor:[UIColor clearColor]]; for (UIView *subview in searchBar.subviews) { if ([subview isKindOfClass:NSClassFromString(@"UISearchBarBackground")]) [subview removeFromSuperv... 阅读全文

posted @ 2011-07-26 11:26 风乔 阅读(87) 评论(0) 推荐(0) 编辑

2011年7月21日

c/c++ 笔试题

摘要: http://blog.csdn.net/vincetest/article/details/1409563 阅读全文

posted @ 2011-07-21 10:48 风乔 阅读(52) 评论(0) 推荐(0) 编辑

2011年7月19日

json

摘要: {"responseData": {"results": [{"GsearchResultClass":"GlocalSearch", "viewportmode":"computed", "listingType":"local", "lat":"22.171205", "lng":"113.464101", "accuracy":&q 阅读全文

posted @ 2011-07-19 16:02 风乔 阅读(62) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 45 下一页

导航