YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!

2015-12-24-Xib Xib 使用

//
// AppDelegate.h
// UI14_Xib
//
// Created by YIem on 15/12/24.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end


//
// AppDelegate.m
// UI14_Xib
//
// Created by YIem on 15/12/24.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import "AppDelegate.h"

import "ViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

@end



//
// ViewController.h
// UI14_Xib
//
// Created by YIem on 15/12/24.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import <UIKit/UIKit.h>

@interface ViewController : UIViewController

@end


//
// ViewController.m
// UI14_Xib
//
// Created by YIem on 15/12/24.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import "ViewController.h"

import "MyView.h"

@interface ViewController ()

@end

@implementation ViewController

@end



//
// MyView.h
// UI14_Xib
//
// Created by YIem on 15/12/24.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import <UIKit/UIKit.h>

@interface MyView : UIView
// 脱线
@property (weak, nonatomic) IBOutlet UILabel *aLabel;
@property (weak, nonatomic) IBOutlet UITextField *aTextField;
@end


//
// MyView.m
// UI14_Xib
//
// Created by YIem on 15/12/24.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import "MyView.h"

@interface MyView ()
@property (weak, nonatomic) IBOutlet UIButton *aButton;

@end

@implementation MyView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.

*/

@end



当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »