大三上 —— IOS五天实训时间:2023-03-08 23:29:39 第二天: 注册使用xib:1、首先为xib文件创建对象——let nib = UINib(nibName: "xib文件名", bundle: nil)。2、具体的控件注册该xib,即可显示 —— myTableView.register(nib, forCellReuseIdentifier: "Cell") 学习网址:http://www.jianshu.com/users/6e63947b2e63/latest_articles