Is it possible to precompile xib / storyboard files?

We have a large monolithic application: 700 ObjC files, 300 Swift files and up to 100 xib files and storyboards.

We are looking for any methods that will help us optimize the build time of the application.

One idea is to precompile some stable xibs / storyboards so that we don't compile them every time we build the application. Is there any way to do this?

PS I know that xib is only compiled for the first time, however, as with iOS structures, which are pre-compiled binaries, the question is how to do the same for xib / storyboard files.

+5
source share

Source: https://habr.com/ru/post/1269059/


All Articles