I've been doing Objective-C programming for a few years now. I was listening to a podcast the other day which mentioned something about how Apple has made it easier over the years, and I thought I heard mention of there being no need to manually add instance variables now. Is this true? Here's how I do it currently:
.h:
@interface Class : UIView
@property (nonatomic, strong) NSString *testString;
@end
.m:
@interface Class () {
NSString *_testString;
}
@end
@implementation Class
@synthesize testString = _testString;
Is this work necessary?