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 Build a Self-Destructing Message iPhone App Designing and Starting the App Adding Login and Sign Up Screens

Can't Launch the project

After adding the navigation controller.. i get this error in my implementation file..

warning Potentially incomplete method implementation.

There are a few things different with the new xcode.. but don't know what to do with above.

1 Answer

Mike Baxter
Mike Baxter
4,442 Points

It sounds like you're missing a return statement on a method or something like that. Check in your .h file and make sure that every method you define has a matching implementation in your .m (or .mm) file. And then make sure they each return the value they say they will return. For instance,

-(BOOL)someRandomMethod:(NSString *)inputString {

    // Test the input string

    return TRUE;
}
Mike Baxter
Mike Baxter
4,442 Points

Obviously -(void) will not need to return anything.