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
James Carney16,255 Points
This challenge stumped me...
Here is the question: For now, inside the block, simply log the 'succeeded' parameter using NSLog. BOOL values are really just int values (0 or 1), so you can use the int format specifier: %d. I figured out I need:
But I am really stumped. I watched the previous videos and looked up and down parse.com. Not sure where to go from here with it.
Sorry if this seems like an easier question. My biggest problem with most of these challenges is overcoming the wording in the question. I always misread it.
%d is correct, but instead of
myVariable, the name of the boolean you are trying to log is
succeeded or whatever you named it in the block.
Scott Evans4,236 Points
NSLog(@"%@", myVariable); and see what that outputs. Its possible the variable could be being assigned wrong