Sheehan Alam
Sheehan Alam

Reputation: 60909

Loading a UIView with a UITableView from another NIB

I have a NIB that contains a UIView.

I have another NIB that contains a UITableView.

How can I load the UITableView NIB inside of the UIView in my other NIB?

Upvotes: 0

Views: 916

Answers (1)

Ben S
Ben S

Reputation: 69382

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.

Upvotes: 1

Related Questions