My code looks something like this:
[request setPostValue:employee.empId forKey:@"empId"];
where employee is a "POCO" object that has the empId property, which is int, but the method expects an identifier.
I already tried sending setPostValue: & employee.empId and setPostValue: [employee.empId], but still getting errors.
Is it possible to get (id) in any way? or should I create another object from a property?
ios objective-c
Andresps2
source share