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 trialAlexander Teague
9,501 PointsStuck on code challenge get object in background with block.
Hi Guys,
i can't pass this code challenge for love nor money, whats wrong with my get object in background statement?
```objective c
import "GameViewController.h"
import <Parse/Parse.h>
@implementation GameViewController
-
(void)viewDidLoad { [super viewDidLoad];
PFQuery *query = [PFQuery queryWithClassName:@"Move"];
[query getObjectInBackgroundWithId:@"1" block:^(nil)];
@end```
1 Answer
Alexander Teague
9,501 PointsSolved it block syntax was wrong, please see https://teamtreehouse.com/forum/ribbit-app-stage-5-code-challenge-1