Dependencies and Project Setup

MAF locale-aware controls are built on top of MAF simple controls, such as MAFUILabel and MAFUITableView. The controls use the skinning infrastructure of MAFSkinManager and the formatting capabilities of MAFFormatters, so the controls depend on both the MAFUIComponents and MAFFormatters library.

Required MAF libraries:
  • com.sap.mobile.maf.ui.ios/MAFUIComponents (MAFUIComponents.a)
  • com.sap.mobile.maf.ui.ios/MAFLocaleAwareControls (MAFLocaleAwareControls.a)
  • com.sap.mobile.maf.tools.ios/MAFFormatters (MAFFormatters.a)
Required iOS frameworks:
  • CoreGraphics.framework
  • Foundation.framework
  • MessageUI.framework
  • QuartzCore.framework
  • UIKit.framework
MAF locale-aware controls provide a hard-coded skin that can differ from the skinning XML delivered in a separate bundle file. To get the default custom skin and to apply skinning that differs from the hard-coded skin, add the iOS resource bundles to your project. The bundles are also required for the components to find the necessary resource files, for example, to format metadata for address field layout.
Required iOS resource bundles:
  • MAFFormatters.bundle
  • MAFLocaleAwareControls.bundle
  • MAFUIComponents.bundle