控制器中直接写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
问题: 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
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
#import @interface ViewController (){ CLLocationManager *_currentLoaction; CLGeocoder *_geocoder; CLPlacemark *_placeMark;}- (void)viewDidLoa...
分类:
移动开发 时间:
2014-11-01 19:02:12
阅读次数:
268
第一章 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要有delegate = self。 当前的viewController要实现UITextFieldDelegate。...
分类:
其他好文 时间:
2014-10-31 11:35:34
阅读次数:
191