Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Views programmatically VS. nib

Tags:

ios

uiview

nib

I am curious to know if anyone has any experience comparing the load time performance of iPhone apps with views laid out in NIBs vs. views laid out entirely programmatically (here is a similar question).

Is there really any advantage of views laid out entirely programmatically over views laid out in NIB ?

like image 285
iCoder4777 Avatar asked Dec 08 '22 16:12

iCoder4777


1 Answers

According to Apple, XIB file loading time is longer than build UI programmatically. Saw that in a WWDC lecture.

If performance is what counts, build your UI in code and not in IB.

like image 166
Avi Tsadok Avatar answered Dec 11 '22 04:12

Avi Tsadok