Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Implementing Designs for iPhone Finishing the User Interface Adding a Pull-to-Refresh Control

Bummer! Don't forget to alloc/init your new property!

All,

I need another set of eyes here. Would someone please tell me what I'm missing?

Thank you,

Phil

MasterViewController.h
#import "UITableViewController.h"
#import "UIRefreshControl.h"

@interface MasterViewController : UITableViewController
@property (nonatomic, strong) UIRefreshControl *refreshControl;

@end
MasterViewController.m
#import "MasterViewController.h"

@implementation MasterViewController

- (void)viewDidLoad {
    [super viewDidLoad];

}

- (void)refreshBlogPosts {
    self.refreshControl = [[UIRefreshControl alloc] init];   
}

@end

Never mind. Right line... wrong method.