Member attributes: PlatformPackage

This attribute determines the Platform Package to use when generating code for a particular profile member.

Syntax

name.name. ... .name

Discussion

The Platform Package name is composed of identifiers separated by . (dot) signs. The individual identifiers determine the manufacturer of the target system, the target CPU/MCU architecture or the version of the operating system as well as the color format used in the target system. Following is an example of Platform Package name identifying Apple's iOS target using the 32-Bit RGBA color space:

Apple.iOS.RGBA8888

The value of this attribute can be evaluated within your implementation by using the built-in macro $platform.

Modify the attribute

To inspect or modify the value of an PlatformPackage attribute, select first the affected profile member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute. The assistant lists all installed Platform Packages: