Home > DeveloperSection > Interviews > What is the use of UINib class in Objective-C?

Posted on    February-29-2016 5:40 AM

 iPhone iPhone  Ios  Objective C 
Ratings:
 1 Answer(s)
  319  View(s)
Rate this:

Tarun Kumar

Total Post:107

Points:535
Posted on    February-29-2016 6:40 AM

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.


Don't want to miss updates? Please click the below button!

Follow MindStick