Let's say I have a simple view controller with one UITableView property:
@interface MyViewController : UIViewController {
UITableView *tv; // <-- DO I NEED THIS??
}
@property (nonatomic, retain) IBOutlet UITableView *tv;
@end
Do I actually need to declare the UITableView *tv ? I've found that even if I don't declare it (and simply @synthesize the property), everything works fine. Yet, lots of code samples explicitly declare the variable. I'm not sure what the benefit of declaring it (or the harm of not declaring it) is.