WHAT IS THE USE OF UINIB CLASS IN OBJECTIVE-C?

Tarun Kumar

Total Post:107

Points:535
Posted by  Tarun Kumar
 597  View(s)
Ratings:
Rate this:
  1. Tarun Kumar

    Post:107

    Points:535
    What is the use of UINib class in Objective-C?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!