Developer

Mixing Coded and Metadata-Driven Tiles

With the Extensibility Framework, you can freely combine metadata-driven tiles and native iOS view controllers (also views and controls).

  • You can insert coded UIs, and UIs from the layout XML, in the same navigation chain. The root tile itself (the app’s initial UI) can also be metadata driven.
    Mixing Coded and Metadata-Driven Tiles 1

  • You can add a manually coded view to a metadata-driven tile. The subview is positioned according to the coordinates you provide.
    Mixing Coded and Metadata-Driven Tiles 2

  • You can add a metadata-driven subview to a programmatically built UI.
    Mixing Coded and Metadata-Driven Tiles 3

  • You can combine configuration-based tiles and subviews, which is a freestyle combination of the above scenarios.
  • You can create custom tiles by taking over the creation of specific tiles or tile controllers. If you register your own MAFApplicationTileCreator, it is notified each time a tile is to be created. At this point, you can take over the full creation task or let the framework create the tile and you only need to decorate it.
  • To customize controller logic, take over the creation of a controller of a specific tile. If you register your own MAFApplicationTileControllerCreator, it is notified each time a tile is to be created. At this point, you can take over the full creation task or let the framework create the Tile Controller and you only need to decorate it afterwards.