When does awakeFromNib get called?

前端 未结 2 1462
广开言路
广开言路 2020-12-03 03:00

Does awakeFromNib get called right after viewController is allocated and initialized? At what precise point does the awakeFromNib of a view control

2条回答
  •  长情又很酷
    2020-12-03 03:22

    When coder wants load a object that it haven't init yet.

    Exp: Control in UITableViewCell will init when code call awakeFromNib that needn't cellforrow.

提交回复
热议问题