Objective-C member variable assignment?
- by Alex
I have an objective-c class with member variables. I am creating getters and setters for each one. Mostly for learning purposes. My setter looks like the following:
- (void) setSomething:(NSString *)input {
something = input;
}
However, in C++ and other languages I have worked with in the past, you can reference the member variable by using the…