I have a UserDetails class. I have a function in another class B(TableViewController) which contains an object of the UserDetails class, something like this:
-(void)sendData: (UserDetails *) user {
//some code
}
Now I have another function in a third class C (TableViewController) where I want to use the value contained in the variable "user". How do I do it?