码迷,mamicode.com
首页 >  
搜索关键字:viewcontroller    ( 2658个结果
iOS_数据库3_sqlite3基本操作
控制器中直接写SQL语句,未封装 // // ViewController.m // 1.sqlite3基本操作 // // Created by xss on 14-11-2. // Copyright (c) 2014年 beyond. All rights reserved. // #import "ViewController.h" // 1.导入库,2.添加主头文件 #i...
分类:移动开发   时间:2014-11-02 19:40:21    阅读次数:309
swift学习——点点滴滴——2~storyboard新建viewcontroller
问题: storyboard新建viewcontroller后,无法关联第一控制器,显示黑屏,console显示 Failed to instantiate the default view controller for UIMainStoryboardFile ‘Main‘ - perhaps the designated entry poi...
分类:编程语言   时间:2014-11-02 18:24:42    阅读次数:178
使用ScrollView缩放图片
ViewController.h @interface ViewController : UIViewController { UIScrollView *_scrollView; }ViewController.m #import "ViewController.h" @interface ViewController () @end @implementation ViewC...
分类:其他好文   时间:2014-11-02 09:32:21    阅读次数:176
展示图
ViewController.h @interface ViewController : UIViewController { UIPageControl *_pageCtrl; UIScrollView *_scrollView; } ViewController.m #import "ViewController.h" @interface ViewController...
分类:其他好文   时间:2014-11-02 09:31:29    阅读次数:202
可以循环滚动的展示图
ViewController.h @interface ViewController : UIViewController { NSInteger _index; UIPageControl *_pageCtrl; UIScrollView *_scrollerView; } ViewController.m #import "ViewController.h" @...
分类:其他好文   时间:2014-11-02 09:30:46    阅读次数:194
表的头视图下拉放大效果
ViewController.h @interface ViewController : UIViewController { UIImageView *_imageView; } ViewController.m #import "ViewController.h" @interface ViewController () @end @implementation View...
分类:其他好文   时间:2014-11-02 09:30:42    阅读次数:129
渐变式切换图片
ViewController.h @interface ViewController : UIViewController { UIImageView *imageView1; UIImageView *imageView2; } ViewController.m #import "ViewController.h" @interface ViewController...
分类:其他好文   时间:2014-11-02 09:30:25    阅读次数:173
iOS下获取用户当前位置的信息
#import @interface ViewController (){ CLLocationManager *_currentLoaction; CLGeocoder *_geocoder; CLPlacemark *_placeMark;}- (void)viewDidLoa...
分类:移动开发   时间:2014-11-01 19:02:12    阅读次数:268
精通ios开发第六版,第一章,文章中的例子及习题.
第一章 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 10 - (IBAction)buttonPressed:(UI...
分类:移动开发   时间:2014-11-01 01:01:34    阅读次数:287
UITableView的多个UITextField时,有的被键盘挡住怎么解决
在UITableView中,经常有很多表单需要输入,有的表单比较靠下,一点击输入时键盘就会弹出,弹出有时候会盖住输入框,那怎么办呢?调用下面的方法,当然你输入的UITextField要有delegate = self。 当前的viewController要实现UITextFieldDelegate。...
分类:其他好文   时间:2014-10-31 11:35:34    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!