i'm trying work webservice.and i'm posting username , password afnetworking.i'm getting output.it's ok.but need use coredata.and how can keep session in application.
what should in case.
get: {"result":"active","id":"11","name":"john app","statu":"customer","token":"ve0hruf33fv6y7liftjyjvfftmwarn"}
- you need parse response nsdictionary using nsjsonserialization
- than can extract values using key-value access in nsdictionary
- setup , create core data model (.xcdatamodel file)
- you can use tools magicalrecord simplify life core data
- write data base , save object.