Module ib

The ib module contains properties and rules for building Interface Builder documents, storyboards, asset catalogs, and icon sets.

This module is only available on Apple platforms.

General Properties

PropertyTypeSinceDefaultDescription
warningsbool1.1trueWhether to print warnings when compiling. Does not apply to icon sets.
errorsbool1.1trueWhether to print warnings when compiling. Does not apply to icon sets.
noticesbool1.1trueWhether to print warnings when compiling. Does not apply to icon sets.
flagsstringList1.1undefinedAdditional flags to pass to the underlying tool (ibtool, actool, iconutil).

Properties Specific to NIBs and Storyboards

PropertyTypeSinceDefaultDescription
ibtoolNamestring1.3"ibtool"Name of the ibtool binary used to compile NIBs and storyboards. This should not normally need to be changed.
ibtoolPathstring1.3ibtoolNameDirectory where the ibtool binary is located. This should not normally need to be changed.
flattenbool1.1trueCompiles XIBs and storyboards into flattened (non-wrapper) files. Set to false to preserve editability of the resulting nib and storyboard bundles in Interface Builder. This property should not normally need to be changed.
modulestring1.3undefinedSets the name of the module that the nib or storyboard is a part of. Requires Xcode 6 or newer.
autoActivateCustomFontsbool1.3trueInstructs the ibtool compiler to add custom fonts to the application's Info.plist when compiling XIBs and storyboards, which will cause the fonts to activate upon application launch. Requires Xcode 6 or newer.

Properties Specific to Asset Catalogs

PropertyTypeSinceDefaultDescription
actoolNamestring1.3"actool"Name of the actool binary used to compile asset catalogs. This should not normally need to be changed.
actoolPathstring1.3actoolNameDirectory where the actool binary is located. This should not normally need to be changed.
appIconNamestring1.3undefinedName of the resource in the asset catalog that will be used as the application's icon. Used to generate the partial Info.plist which will be merged into the resulting app. If this property is undefined, no application icon will be specified.
launchImageNamestring1.3undefinedName of the resource in the asset catalog that will be used as the application's launch image. Used to generate the partial Info.plist which will be merged into the resulting app. If this property is undefined, no launch image will be specified. Only applies to iOS applications.
compressPngsbool1.3trueWhether to compress PNG image files when building asset catalogs.

Properties Specific to Icon Sets

PropertyTypeSinceDefaultDescription
iconutilNamestring1.3"iconutil"Name of the iconutil binary used to compile icon sets. This should not normally need to be changed.
iconutilPathstring1.3iconutilNameDirectory where the iconutil binary is located. This should not normally need to be changed.

Relevant File Tags

TagAuto-tagged File NamesSinceDescription
"assetcatalog"*.xcassets1.3This tag is attached to directories that will be compiled into compiled asset catalog archives (.car files) on supported platforms, or a collection of loose resource files. The resulting files will be automatically tagged bundle.input. If the current product is a bundle, the files will be included in the bundle's resources directory.
"iconset"*.iconset1.3This tag is attached to directories that will be compiled into Apple ICNS files. The resulting files will be automatically tagged bundle.input. If the current product is a bundle, the files will be included in the bundle's resources directory.
"nib"*.nib, *.xib1.1This tag is attached to "NIB" and "XIB" files that will be compiled. The output may be a flat file or a bundle (directory structure). The resulting files will be automatically tagged bundle.input. If the current product is a bundle, the files will be included in the bundle's resources directory.
"png"*.png1.9This tag is attached to PNG files that may be converted into multi-resolution TIFFs. Source files should adopt the @2x naming convention in order to be properly grouped. The resulting files will be given the tiff file tag.
"storyboard"*.storyboard1.3This tag is attached to storyboard files that will be compiled. The output may be a flat file or a bundle (directory structure). The resulting files will be automatically tagged bundle.input. If the current product is a bundle, the files will be included in the bundle's resources directory.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.