Button

In LayoutCode, there is no action can be assigned to the button.  A button is used for layout purpose only. The action can be coded by the developer when editing the generated code in Xcode.

When adding a button, only a default button style similar in iOS is used. User can override this by adding custom image to the button.

iOS Development Notes: Button is equivalent to UIButton class in iOS.

A button with its attributes


View Attributes

Common attributes for text label are: position, size, anchor point, rotation, text, image and shadow. Additionally, these are supported

  • Text attributes: Attributes of the displayed text including font, font size, and text color