//
//  ViewController.m
//  ex_UIBezierPath_roundedRect
//
//  Created by yoshiyuki oshige on 2013/09/30.
//  Copyright (c) 2013年 yoshiyuki. All rights reserved.
//

#import "ViewController.h"
#import "MyRoundRect.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// 追加するサブビューのサイズ
    CGRect theFrame = CGRectMake(0, 0, 150, 150);
    // 図形を描いたMyRoundRectクラスのmyRoundRectビューを作る
    MyRoundRect *myRoundRect = [[MyRoundRect alloc] initWithFrame:theFrame];
    // 表示位置
    myRoundRect.center = CGPointMake(160, 160);
    // myRoundRectビューを表示する
    [self.view addSubview:myRoundRect];
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
