//
//  ViewController.m
//  ex_UIBezierPath_closePath
//
//  Created by yoshiyuki oshige on 2013/10/01.
//  Copyright (c) 2013年 yoshiyuki. All rights reserved.
//

#import "ViewController.h"
#import "MyFanShape.h"

@interface ViewController ()
@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    // 図形のframe
    CGRect theFrame = CGRectMake(50, 50, 200, 320);
    // 図形を描いたMyFanShapeクラスのビューを作る
    MyFanShape *fan = [[MyFanShape alloc] initWithFrame:theFrame];
    // ビューを表示する
    [self.view addSubview:fan];
}

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

@end
