
UI应用
文章平均质量分 59
vaercly
IOS应用开发
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
将UITextField的内容设置到UILable上,求两个UITextField的和到UILable上
// // CCLAppDelegate.m // TestButton // // Created by lanouhn on 14-8-19. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import "CCLAppDelegate.h" @interface CCLAppDelegate原创 2014-08-19 23:47:20 · 918 阅读 · 0 评论 -
iOS开发必看的博客汇总
OneV's Den http://onevcat.com/ 破船之家 http://beyondvincent.com/ NSHipster http://nshipster.cn/ Limboy 无网不剩 http://limboy.me 唐巧的技术博客 http://blog.devtang.com/ Lex iOS notes http://ios.lextang.c原创 2014-10-29 21:36:09 · 1288 阅读 · 0 评论 -
iOS MKAnnotation协议为地图添加注解
添加地图注解,这个需要用到MKAnnotation这个协议,主要有两个UILabel类型的属性,title和subtitle,当用户点击小别针时候就会把相关信息显示出来,如下图: Google地图实现之三添加注解 - tergol - tergol的博客 大概的操作是这样的,先定义一个继承了MKAnnotation的类,第当需要加上注解的时候,就根据当前的region等信息,实例化出一个对像,原创 2014-10-27 10:15:12 · 1378 阅读 · 0 评论 -
iOS MKMapView嵌入地图
要看到那个google的地图,在实现上也相当简便。嵌入地图时需要MKMapView这个类, 它有很多方法和属性,不过如果只是想得到基本的定位功能的话,只需实例化一个对像然后加到当前的 view上就可以了。 先介绍一下,它的几个常用的属性。 region 用来设置地图的那一部份被显示,它是一个结构体,定义如下: typedef struct{ CLLocationCoord原创 2014-10-27 10:13:10 · 1054 阅读 · 0 评论 -
iOS 真机不能显示图片问题
原创 2014-09-04 20:21:31 · 2012 阅读 · 0 评论 -
iOS 汉字转拼音
NSMutableString *ms = [[NSMutableString alloc] initWithString:@"我是中国人"]; if (CFStringTransform((__bridge CFMutableStringRef)ms, 0, kCFStringTransformMandarinLatin, NO)) { NSLog(@"P原创 2014-09-04 19:11:14 · 837 阅读 · 0 评论 -
iPhone相册,(UIScrollView,UIPageControl的综合应用)捏合放大缩小, 左右滑动切换图片
// // PhotoView.h // Homework_iPhonePhoto // // Created by lanouhn on 14-8-29. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import @interface PhotoView : UIView @propert原创 2014-08-31 22:04:57 · 1927 阅读 · 0 评论 -
网易新闻首页的实现,可以添加,移除标签,自动滚动图片,无限左右切换图片
// // RootViewController.h // Homework_163News // // Created by lanouhn on 14-8-30. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import @interface RootViewController : U原创 2014-08-31 22:17:06 · 1167 阅读 · 0 评论 -
滚动视图(UIScrollView)无限无缝左右切换图片,自动顺序加逆序循环播放图片
// // LoopView.h // Test_LoopScrollView // // Created by lanouhn on 14-8-30. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import @interface LoopView : UIView @property (原创 2014-08-31 22:12:49 · 1622 阅读 · 0 评论 -
iOS用户引导页的简单实现
// // RootViewController.m // LessonUIPageControl // // Created by lanouhn on 14-8-29. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import "RootViewController.h" @interfa原创 2014-08-31 22:22:04 · 1099 阅读 · 0 评论 -
在imageView依次添加7个手势, 1.点击哪个按钮,往imageView上添加哪个手势.(保证视图上只有一个手势). 2.轻拍:点击视图切换美女图片.(imageView上首先展示的美女
// // ControlView.h // HomeworkGestureRecognizer // // Created by lanouhn on 14-8-27. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import @interface ControlView : UIView原创 2014-08-28 08:23:27 · 2003 阅读 · 0 评论 -
捏合视图变化(视图的缩放), 单击随着鼠标移动, 双击放大视图,再双击还原视图
// // CLView.m // Homework_UIEvent // // Created by lanouhn on 14-8-26. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import "CLView.h" @interface CLView () //{ // CGPo原创 2014-08-26 21:41:04 · 906 阅读 · 0 评论 -
霓虹灯动态效果,限定文本框的输如长度
// // CCLAppDelegate.m // TestNeonLamp // // Created by lanouhn on 14-8-19. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import "CCLAppDelegate.h" @interface CCLAppDelega原创 2014-08-26 21:48:54 · 680 阅读 · 0 评论 -
iOS简易计算器的实现
// // CCLAppDelegate.m // TestCalculator // // Created by lanouhn on 14-8-20. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import "CCLAppDelegate.h" #import "CCLCalculator原创 2014-08-21 19:12:26 · 911 阅读 · 0 评论 -
iOS 拨打电话 拨打完以后会回到原来的应用
NSDictionary *dic = self.names[self.titles[indexPath.section]][indexPath.row]; NSString *phone = dic[@"phoneNumber"]; //1 特点: 直接拨打, 不弹出提示。 并且, 拨打完以后, 留在通讯录中, 不返回到原来的应用。 /* if (phone !=原创 2014-09-04 19:15:11 · 1215 阅读 · 0 评论 -
彩虹视图,霓虹灯静态效果
// // CCLAppDelegate.m // TestNeonLamp // // Created by lanouhn on 14-8-19. // Copyright (c) 2014年 [email protected] 陈聪雷. All rights reserved. // #import "CCLAppDelegate.h" @interface CCLAppDelega原创 2014-08-19 23:46:59 · 1628 阅读 · 0 评论 -
XMPPFramework
XMPP Extensible Messaging and Present Protocol 可扩展通讯和表示协议 功能: XMPP用tcp传送XML流, 做即时通讯 xmpp.org objcio.cn http://objcio.cn http://www.appcoda.com http://www.raywenderlich.com 服务器环境: ejabberd和Openfire eja原创 2014-10-15 15:59:43 · 986 阅读 · 0 评论