#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; /...
分类:
移动开发 时间:
2015-08-27 22:44:36
阅读次数:
216
#import "RootViewController.h"#define kScreenWidth [UIScreen mainScreen].bounds.size.width#define kScreenHeight [UIScreen mainScreen].bounds.size.heig...
分类:
移动开发 时间:
2015-08-27 22:34:48
阅读次数:
170
#import "RootViewController.h"#import "ActionView.h"#import "UIColor+MyUIColor.h"@interface RootViewController ()@end@implementation RootViewControlle...
分类:
移动开发 时间:
2015-08-27 22:33:57
阅读次数:
402
#import "RootViewController.h"#import "UIColor+MyUIColor.h"@interface RootViewController ()@end@implementation RootViewController/* UITapGestureRecogn...
分类:
移动开发 时间:
2015-08-27 22:26:46
阅读次数:
194
UIEvent:事件类。在IOS中将用户的操作封装了一个类是UIEvent。UIEvent根据用户的操作分为三种类型:触摸、晃动、远程控制。 触摸对应的UI类是UITouch。#import "RootViewController.h"#import "TouchView.h"@interfa...
分类:
其他好文 时间:
2015-08-27 20:58:34
阅读次数:
161
#import "AppDelegate.h"#import "RootViewController.h"@interface AppDelegate ()@end@implementation AppDelegate- (void)dealloc{ [_window release]; [su.....
分类:
其他好文 时间:
2015-08-26 13:56:16
阅读次数:
137
Delegate 自定义视图CustomView ,创建一个实例对象,开始点击时视图缩短,移动过程中随机修改颜色,结束点击时视图恢复宽度#import "AppDelegate.h"#import "RootViewController.h"@interface AppD...
分类:
其他好文 时间:
2015-08-26 01:23:17
阅读次数:
101
弹幕效果展示:
步骤:
1.
在AppDelegate类里面创建一个视图控制器,并把创建的视图控制器放入父视图中。
其中关于用[self.window addSubview:viewController.view]
和self.window.rootViewController = viewController;请看我的上一篇文章:http://blog....
分类:
移动开发 时间:
2015-08-25 21:46:54
阅读次数:
197
1.在AppDelegate.m中引用#import "RootViewController.h"- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launch...
分类:
移动开发 时间:
2015-08-19 22:48:51
阅读次数:
164
加入TextFieldDelagate@interface RootViewController () @property (nonatomic, strong) UITextField *usernameTextField;@property (nonatomic, strong) UITextF...
分类:
移动开发 时间:
2015-08-19 22:42:16
阅读次数:
179