Objective-c and JSON data -
i new @ objective c. writing app going validate username , password in mysql database, , think should utilize json connect api going written it. i've been looking on internet, , can't find resources on start this. have resources, or improve utilize different validation method?
at high level, want like:
create nsdictionary has 2 key/value pairs,
@{ @"username":@"someuser", @"password":@"hunter2" } then utilize -[nsjsonserialization datawithjsonobject...:] turn dictionary nsdata object. contain formatted json hash suitable sending api request.
you'll want @ nsurlrequest sending request.
objective-c json xcode api
No comments:
Post a Comment