UINib class is available from iOS version 4.0. main purpose of UINib on iOS application development is to speed up the loading of frequently used NIB files. It does that by caching the NIB file objects at the first time the NIB is loaded from disk, next attempts to load the NIB file then come from the memory copy avoiding the slower disk access. In iOS application programming the best place to use UINib is in UITableView Controllers where the table view cell is being loaded from a NIB file each time a new cell is created. The best thing of UiNib is that without changing huge number of codes in our application we can improve app performance using UINib.
Liked By
Write Answer
What is the use of UINib class in Objective-C?
Join MindStick Community
You have need login or register for voting of answers or question.
Tarun Kumar
29-Feb-2016UINib class is available from iOS version 4.0. main purpose of UINib on iOS application development is to speed up the loading of frequently used NIB files. It does that by caching the NIB file objects at the first time the NIB is loaded from disk, next attempts to load the NIB file then come from the memory copy avoiding the slower disk access.
In iOS application programming the best place to use UINib is in UITableView Controllers where the table view cell is being loaded from a NIB file each time a new cell is created. The best thing of UiNib is that without changing huge number of codes in our application we can improve app performance using UINib.