开发者

Loading a UIView with a UITableView from another NIB

开发者 https://www.devze.com 2022-12-26 01:57 出处:网络
I have a NIB that contains a UIView. I have another NIB that contains a UITableView. How can I load the UITableView NIB insi开发者_StackOverflowde of the UIView in my other NIB?What you\'re referri

I have a NIB that contains a UIView.

I have another NIB that contains a UITableView.

How can I load the UITableView NIB insi开发者_StackOverflowde of the UIView in my other NIB?


What you're referring to is called a detached nib file in the Apple documentation.

I would read over Storing the View in a Detached Nib File in the View Programming Guide. It has all the info you need to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消