iphone - How to print in Console Xcode? -
i using afnetworking parse json data. want print info on console.
how print
self.videometadata = [json valueforkeypath:@"data.items.video"];
i tried this
nslog(@" info %@",videometadata);
it works when have
nsarray *videometadata = [json valueforkeypath:@"data.items.video"];
as mentioned in comments have utilize nslog(@" info %@", self.videometadata);
log data. there no variable called videometadata
.
having said that, might want have how examine objects , variables using debugger. have @ example: http://www.cimgf.com/2012/12/13/xcode-lldb-tutorial/
there videos on lldb wwdc 2012 on developer.apple.com (you have registered developer in ios or mac developer program)
iphone objective-c xcode json afnetworking
No comments:
Post a Comment