//
//  ProfileViewController.h
//  PlayPlan
//
//  Created by Zeacone on 15/11/8.
//  Copyright © 2015年 Zeacone. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PlayPlan.h"

@class ProfileViewController;

@protocol MainDelegate <NSObject>

- (void)dismissViewController:(ProfileViewController *)mainViewController;

@end

@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>

@end

//
//  ProfileViewController.h
//  PlayPlan
//
//  Created by Zeacone on 15/11/8.
//  Copyright © 2015年 Zeacone. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PlayPlan.h"

@class ProfileViewController;

@protocol MainDelegate <NSObject>

- (void)dismissViewController:(MainViewController *)mainViewController;

@end

@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>

@end

--- 
+++ 
@@ -13,7 +13,7 @@
 
 @protocol MainDelegate <NSObject>
 
-- (void)dismissViewController:(MainViewController *)mainViewController;
+- (void)dismissViewController:(ProfileViewController *)mainViewController;
 
 @end
 
Add delegate for profile view controller.
