UIStoryboardSegueクラスでは、プロパティはsourceViewController明らかにUIViewControllerです。Apple がこのプロパティを としてマークしたのはなぜidですか?
@property(nonatomic, readonly) id sourceViewController;
@property(nonatomic, readonly) id destinationViewController;
を使用した方が使いやすく、理解しやすいのではないでしょうかUIViewController *。
@property(nonatomic, readonly) UIViewController *sourceViewController;
@property(nonatomic, readonly) UIViewController *destinationViewController;