- 博客(14)
- 收藏
- 关注
原创 ControllerDelegate
#import "MainViewController.h"#import "SecondViewController.h"#warning 协议传值: 4. 在main里面签订协议@interface MainViewController ()SecondViewControllerDelegate>@property
2015-08-25 09:35:17
274
原创 UI_NavigationController
#import "AppDelegate.h"#import "MainViewController.h"@interface AppDelegate ()@end@implementation AppDelegate- (void)dealloc{ [_windowrelease]; [sup
2015-08-25 09:01:35
191
原创 UIScrollView_UIPageControl
#import "MainViewController.h"@interface MainViewController ()UIScrollViewDelegate>@property (nonatomic,retain)UIScrollView *scrollView;@property (nonatomic,retain)UIPage
2015-08-24 09:13:50
181
原创 UIScrollView
#import "MainViewController.h"@interface MainViewController ()UIScrollViewDelegate>@end@implementation MainViewController- (void)viewDidLoad { [superview
2015-08-24 09:05:49
140
原创 UIControl
#import "MainViewController.h"@interface MainViewController ()@property (nonatomic,retain)UIImageView *imageView;@end@implementation MainViewController
2015-08-23 14:44:42
151
原创 UIGestureRecognizer
#import "MainViewController.h"@interface MainViewController ()@end@implementation MainViewController- (void)viewDidLoad { [superviewDidLoad]; // D
2015-08-23 14:40:59
325
原创 Target_Action
#import "AppDelegate.h"#import "MainViewController.h"@interface AppDelegate ()@end@implementation AppDelegate- (void)dealloc{ [_windowrelease]; [sup
2015-08-23 14:33:21
214
原创 Application
#import #import "AppDelegate.h"int main(int argc,char * argv[]) { @autoreleasepool { // 应用程序的启动函数 // 作用: // 1. 创建一个应用程序启动的对象
2015-08-23 14:15:09
163
原创 UIViewController
#import "AppDelegate.h"#import "MainViewController.h"@interface AppDelegate ()@end@implementation AppDelegate- (void)dealloc{ [_windowrelease]; [sup
2015-08-23 14:11:04
168
原创 CustomView
#import "AppDelegate.h"#import "LTView.h"@interface AppDelegate ()@end@implementation AppDelegate- (void)dealloc{ [_windowrelease]; [superde
2015-08-23 13:59:05
239
原创 UIButton
#import "AppDelegate.h"@interface AppDelegate () UITextFieldDelegate>@property (nonatomic,assign)BOOL flag;// 将控件视图写成属性的好处就是在这个类内部可以随时获取对象取值赋值@property (nonatomic
2015-08-23 13:49:53
198
1
原创 delegate
#import "AppDelegate.h"#warning 系统提供的协议使用: 1.给当前的类签订协议@interface AppDelegate ()UITextFieldDelegate,UIAlertViewDelegate>@end@implementation AppDelegate
2015-08-22 20:35:25
157
原创 UILabel
// 1.UILabel //创建label UILabel *label = [[UILabelalloc] initWithFrame:CGRectMake(20,20, 335, 250)]; //设置背景颜色 label.backgroundColor = [UIColoryellowColor]; [self.win
2015-08-22 20:09:25
182
原创 UIView
#import @interface AppDelegate :UIResponder UIApplicationDelegate>@property (strong,nonatomic) UIWindow *window; //该属性创建时,系统以写好@end#import "AppDelegate.h"
2015-08-22 19:48:55
147
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人