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

Joan Guerra Makaren
Joan Guerra Makaren
4,067 Points

BlogPost.m weird warnings

Hello Im building the blogpost app for iOS but my blogpost.m has this weird warnings which dont prevent the app from working properly but I can see in the videos that those warnings are not present

Can Amit Bijlani or anyone help

Here's the warnings:

http://puu.sh/aIXZo/888c7881b1.png

1 Answer

Stone Preston
Stone Preston
42,016 Points

try accessing the properties directly instead of using self

- (id) initWithTitle:(NSString *)title {

    self = [super init];

    if (self) {

        _title = title;
        _thumbnail = nil;
        _author = nil;
    }

    return self;
}