I have CurrentType as enum in a class like following:
typedef enum {
login = 0,
Details,
SendImages,
UpdateDetails,
}CurrentType;
Now In another ViewController,I want to use this CurrentType as parameter like as follows:
-(void)getLoginUserDetails:(NSData *)response :(CurrentType)service{
But when I write the following in method body
service==UpdateDetails
it gives error
How can I use this CurrentType as parameter ???