一个轻量级工具类,构建在AFNetworking之上用于通过RESTful HTTP服务与模型对象交互。
YYHModelRouter *modelRouter [modelRouter GET:@"/users/12345" parameters:nil success:^(NSURLSessionDataTask *task, id responseObject, id model) { UserModel *user = model; self.userView.nameLabel.text = user.name; } failure:^(NSError *error) { }];
项目主页:http://www.open-open.com/lib/view/home/1417748594573