I have a method, which right now only needs to do an NSLog call:
(void)methodName:(NSString*)name {
NSLog(@"hey there, %@", name);
}
It says “Local declaration of 'name' hides instance variable“. What does this mean? How do I construct the string I want?
It means that you already have a variable called ‘name’ in your class that includes the methodName method. You might want to change it to look like this: