XIB通过loadNibNamed方法展示到屏幕上的过程

来源:互联网 发布:c语言的编译器有哪些 编辑:程序博客网 时间:2024/06/11 00:26

self.tableView.tableFooterView =self.footerView;

2016-09-28 09:34:11.360 BiLing[562:131750] 调用loadViewFromNib

2016-09-28 09:34:11.368 BiLing[562:131750] awakeFromNib------------{{0, 0}, {375, 70}}

2016-09-28 09:34:11.369 BiLing[562:131750] 调用loadViewFromNib

2016-09-28 09:34:11.369 BiLing[562:131750] 添加到tableFooterView上之前

2016-09-28 09:34:11.369 BiLing[562:131750] willMoveToSuperview-----------{{0, 0}, {375, 70}}

2016-09-28 09:34:11.369 BiLing[562:131750] didMoveToSuperview-----------{{0, 0}, {375, 70}}

2016-09-28 09:34:11.370 BiLing[562:131750] 添加到tableFooterView上之后

2016-09-28 09:34:11.383 BiLing[562:131750] willMoveToWindow----------{{0, 875}, {320, 70}}

2016-09-28 09:34:11.393 BiLing[562:131750] didMoveToWindow----------{{0, 875}, {320, 70}}


[self.viewaddSubview:self.footerView];

2016-09-28 09:46:55.145 BiLing[574:134385] 调用loadViewFromNib

2016-09-28 09:46:55.153 BiLing[574:134385] awakeFromNib------------{{0, 0}, {375, 70}}

2016-09-28 09:46:55.154 BiLing[574:134385] 调用loadViewFromNib

2016-09-28 09:46:55.155 BiLing[574:134385] 添加到父视图上之前

2016-09-28 09:46:55.155 BiLing[574:134385] willMoveToSuperview-----------{{0, 0}, {375, 70}}

2016-09-28 09:46:55.155 BiLing[574:134385] didMoveToSuperview-----------{{0, 0}, {375, 70}}

2016-09-28 09:46:55.156 BiLing[574:134385] 添加到父视图上之后

2016-09-28 09:46:55.156 BiLing[574:134385] viewWillAppear----

2016-09-28 09:46:55.156 BiLing[574:134385] viewWillAppear----

2016-09-28 09:46:55.168 BiLing[574:134385] willMoveToWindow----------{{0, 0}, {95, 38}}

2016-09-28 09:46:55.175 BiLing[574:134385] didMoveToWindow----------{{0, 0}, {95, 38}}

2016-09-28 09:46:55.878 BiLing[574:134385] viewDidAppear-----

2016-09-28 09:46:55.878 BiLing[574:134385] viewDidAppear-----

0 0
原创粉丝点击