//
// ViewController.m
// 01-exchangeRate
//
// Created by 王军波 on 16/4/10.
// Copyright © 2016年 王军波. All rights reserved.
//
#define kScreenW [UIScreen mainScreen].bounds.size.width
#define kScreenH [UIScreen mainScreen].bounds.size.height
#import "ViewController.h"
@interface ViewController ()
@property (nonatomic,weak) UITextField *number;
@property (nonatomic,weak) UILabel *result;
@end
@implementation ViewController
//view加载完后会自动执行
- (void)viewDidLoad {
[super viewDidLoad];
[self setupUI];
// Do any additional setup after loading the view, typically from a nib.
}
#pragma mark - 分割线
//设置界面
- (void)setupUI{
//1.设置背景
UIImageView *bottomBackgroundPicture = [[UIImageView alloc]ini