I am trying to declare a function in my .h file that looks like this:
-(*NSString) encode: (NSString*) unencodedString;
and I get a syntax error:
expected a type
Here is my .m header for this function:
- (NSString*)encode: (NSString*) unencodedString
and here is how I am trying to call it:
EncodingUtil *encode_object = [[EncodingUtil alloc] init];
NSString *encoded_company_name = [encode_object encode: name];
Could someone please help me understand what I am doing wrong and how to fix it?
Thanks!