Since writing, the IDE does not support code generation for delegates (or event objects). But it is planned to add.
It is important to understand that smart is not trying to be another delphi. This will destroy the wealth of both the pascal and javascript objects by imposing restrictions. Instead, the central function of the product is to replace javascript with a pascal object, which in turn adds javascript (things like interfaces, inheritance, etc.).
Writing mobile apps now is a bit of a black art. Freepascal users do their work only by code, as do the C # developers (although we used xcode for the .nib designer) and, of course, also javascript developers. Smart mobile, while this requires writing more code, is still ahead of the average javascript developer.
A time-saving factor is that you do not need to write everything using javascript, but rather in the language that you already know and love.
source share