February 2019
Intermediate to advanced
450 pages
11h 59m
English
It's important to understand the difference between the declarative and native APIs, as any application will probably require the use of both. Using the declarative syntax is great for a concise description of the user interface, but runtime manipulation of the graphical elements will require a reference to one of the native widgets that this code wraps. To make this connection, each of the declarative types has an AssignTo field, which is typically passed a pointer to a var, which itself is a pointer to an object that represents a native type. This means that, during the user-interface-construction phase, the declarative API parser can create native widgets and set the pointer within your code for later use. ...
Read now
Unlock full access