Creating views programmatically Strong Vs Weak subviews in controller
问题 I am writing a small test program using Xcode 5.1.1, for iOS 7.1. I am not using Xib or Storyboard. Everything is done programmatically. In the AppDelegate.m, I create an instance of my TestViewController and set it as the rootViewController of the window. Inside TestViewController.m, I override the "loadView" to create and assign the main view of the controller. TestViewController.h -------------------- @interface TestViewController : UIViewController @property (nonatomic, weak) UILabel